Skip to main content

Token Wrapper

This app will enable you to convert a regular ERC20 token into a checkpointed ERC20 token, thus making it compatible with the Voting App, Disputable Voting App, and Vote Aggregator App.

The Token Wrapper was built by Aragon One and is used by DAOs as important as Decentraland or Aragon itself.

Installing the App​

The syntax is as follows to install this app:

install <depositToken> <tokenName> <tokenSymbol>

You'll need the following parameters to install a new Token Wrapper to your DAO:

  • depositToken
    • The address of the ERC20 token that will be "wrapped" into a checkpointed ERC20 token.
  • tokenName
    • The name of the token you wish to create.
  • tokenSymbol
    • The symbol you wish to set for the token.

Common Usage Example​

An example of how to install this app is as follows:

load aragonos as ar

ar:connect exampleDAO token-manager voting (
install @token(HNY) "Wrapped Honey Token" "wHNY"

This command will install a new instance of the Token Wrapper app into the specified Aragon DAO. It will only accept deposits of HNY tokens and will return Wrapped Honey Tokens with a token symbol of WHNY.


Tokens generated by the new-token command are MiniMe Tokens that are already checkpointing every transfer, so they do not need to be wrapped, as they have the functions required to be used as Voting app tokens.

Installing Different App Versions
If you want to install a different version of an Aragon app other than the default, you can use this syntax:
install <appName> [parameters...] --version <versionNumber>

For example:

install voting:new @token(HNY) 90e16 20e16 3d --version 1.0.0

It would install a new Voting app, using version 1.0.0, with HNY as the voting token, 90% support required, 20% quorum, and three days vote duration.


The Token Wrapper app has no permissions; however, if you want to see the frontend in the Aragon Client, you need to set at least one permission. You can create a DUMMY_ROLE using the following command:

exec acl createPermission ANY_ENTITY @id(DUMMY_ROLE) voting

Internal Actions​

Using the exec command, we can create internal actions that will modify the settings of our app.

Below is an exhaustive list of all possible internal actions you can perform with the Token Wrapper app. In addition, we will identify the function in the contract and outline any parameters and permissions you need and the expected syntax to run them.

This function will deposit a given amount of tokens into the Token Wrapper, and the app will issue a 1:1 matching amount of wrapped tokens in return.


  • amount - The number of tokens you wish to deposit into the Token Wrapper. (uint256)


exec deposit <amount>

Usage Example​

load aragonos as ar

ar:connect exampleDAO (
exec approve(address,uint256) 100e18
exec deposit 100e18

This script will wrap 100 of the deposit tokens into the Token Wrapper. It will only work if the token has already been approved.

This function will withdraw a given amount of tokens from Token Wrapper, and the app will return the tokens from the contact and burn the wrapped tokens held by the sender at a 1:1 ratio.


  • amount - The number of tokens you wish to withdraw from the Token Wrapper. (uint256)


exec withdraw <amount>

Usage Example​

load aragonos as ar

ar:connect exampleDAO (
exec withdraw 100e18

This script will withdraw 100 deposit tokens from the Token Wrapper and burn their wrapped tokens counterpart.