Skip to main content

Injective’s Permissions Module

The permissions module is native to Injective, and allows custom management (e.g. roles) for Denoms. This capability is extended to MultiVM Token Standard (MTS) tokens, where you can implement those custom management rules within your EVM smart contract code.

Why Use Permissions on MTS Tokens?

If you are tokenizing real-world assets (RWAs) using MTS on Injective, and that underlying asset inherently requires permissions, that is a great use case for tapping into Injective’s permissions module. The EVM smart contract of your MTS token simply needs to implement an additional Solidity interface to leverage the power of the permissions module.

Smart Contract Implementation

In your smart contract, import IPermissionsHook from PermissionsHook.sol and extend it.
This will involve implementing the isTransferRestricted function, with the following signature:
You may find the full file on Github: PermissionsHook.sol

Smart Contract Example

Create a smart contract that extends PermissionsHook:
Add a custom implementation of the isTransferRestricted function. For example, this function will allow all transfers, except for ones involving a specific address:
You may find a more detailed example of this on Github: PermissionsHookExamples.sol

Registering Hook

To register the hook for the permissions, you will need the following:
  • Control of the same account that deployed the MTS token.
  • The deployed address of the MTS token
  • The deployed address of the Permissions Hook
With the above, you can create a JSON file similar to this one. Then run injectived for the registration, using the same account that deployed the MTS token.
Note that the MTS token and the Permissions Hook can have the same address. That is an architectural decision that is up to you.

Registering Hook Example

Create a file named register-hooks.json, with the following content:
Be sure to replace the value of the denom and evm_hook fields with the appropriate values.
Delete all comments as well, so that the file is valid JSON.
Then run the following command:
Note that this is merely one specific way to define permissions hooks on an MTS token. There are multiple variations. For additional details on this step, including other variations, refer to How to Launch Permissioned Assets.

Reference Implementation

A more complete example that demonstrates the use of permissioned MTS tokens for a stable coin is also available. This example involves a permissions hook which prevents transfers when the token is paused, and also maintains a blacklist of addresses.
See PermissionsHook_Inj.sol.
Last modified on March 30, 2026