The Permissions module enables the creation of permissioned assets through an RBAC (Role-Based Access Control) system. The module serves as a primitive to launch any asset requiring varying levels of permissions such as stablecoins (issued by centralized entities), tokenized Treasuries, and other RWAs (Real World Assets).Supported features include restrictions on sending/receiving (freezing assets), control over access to minting and burning, pausing specific actions across all addresses, administrative actions management, and support for Wasm contract hooks for further development on top of the module.
How the Permissions Module Works
Relation to TokenFactory Module
The Permissions module is tightly coupled with the TokenFactory module. It allows users to create restrictions on sending, receiving, minting, and burning of a specific TokenFactory token by creating a namespace for the token denom, in which actions are assigned to roles, and roles are assigned to addresses. In this manner, only addresses with the correct roles are permitted to carry out the corresponding actions. The module essentially builds an optional permissions layer on top of TokenFactory denoms.Since the Permissions module relies on the existence of a TokenFactory denom to function, the TokenFactory denom should be launched first, followed by the creation of a Permissions namespace.
Note: The TokenFactory admin should not be changed to the null address (inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49) because the Permissions module requires the creator of the Permissions namespace to be the admin of the corresponding TokenFactory denom.
Once the TokenFactory denom is live and a Permissions namespace is created for the token, checks are performed during token mint, burn, send, and receive to ensure the correct permissions are in place for the relevant action.
Components of a Namespace
As an implementation of an RBAC system for permissioned assets, the Permissions module defines several basic actions that can be assigned to roles within a namespace. A namespace serves as the container for all rules, parameters, and assigned permissions for a single asset. Note that each asset (denom) can only have one namespace.At its core, a namespace comprises:
Denom
Actions
Roles
Role Managers
Role Actors
Policy Statuses
Policy Managers
Wasm Contract Hook
Denom
The denomination of the TokenFactory asset. The denom in the namespace corresponds to the TokenFactory asset with the same name, of which the creator of the namespace is also the admin of the TokenFactory asset
Actions
Actions are mapped/assigned to roles to give the role permission to execute the action
Actions are split into two categories, user actions and namespace management actions. The following is a list of all possible permissioned actions in a namespace:
User Actions:
MINT - Can mint to any address using the receiver field as long as that address has permissions for the RECEIVE action. If unspecified, the default address is the message sender’s address
RECEIVE - The address is able to receive tokens
BURN - Burn own funds
SEND - Can send to any address with RECEIVE permissions
SUPER_BURN - Burn funds from anyone’s wallet except own wallet, unless the user also has Burn permissions
Namespace Management Actions:
MODIFY_POLICY_MANAGERS - Change the policy managers and their capabilities (if they can disable or seal) within the namespace
MODIFY_CONTRACT_HOOK - Change the Wasm contract hook
MODIFY_ROLE_PERMISSIONS - Change the mapping of roles to permitted actions (change what each role is allowed to do)
MODIFY_ROLE_MANAGERS - Change the managers that determine who can have a role
Actions are identified by a unique power of 2 integer (for internal bitmasking purposes):
MINT = 1
RECEIVE = 2
BURN = 4
SEND = 8
SUPER_BURN = 16
MODIFY_POLICY_MANAGERS = 134217728
MODIFY_CONTRACT_HOOK = 268435456
MODIFY_ROLE_PERMISSIONS = 536870912
MODIFY_ROLE_MANAGERS = 1073741824
Permissions are identified by the sum of all permitted action values in base 10
E.g. permission to receive, burn, and send would be 14 (2 + 4 + 8)
Roles
Roles consist of a subset of actions (permissions) for which an actor is permitted to carry out. Each role can have zero, one, or multiple actions assigned by a Role Manager
A role’s actions represent the permitted actions for which an address assigned the role can execute. In other words, roles give permission to perform the actions specified by the role
Roles are created when the namespace is launched or upon updating the namespace with new role-action mappings by a user permitted to execute the MODIFY_ROLE_PERMISSIONS action
Roles are generally namespace (admin) defined, though there are two special types of roles:
EVERYONE Role
There is a default EVERYONE role assigned to all addresses that do not have any other roles
If no roles are assigned to an actor, then the EVERYONE role applies until they are assigned another role, at which point the EVERYONE role ceases to apply
Note that this role does not have to be assigned any permissions, though the EVERYONE role must be defined at creation time (it can be defined with no actions assigned)
The EVERYONE role is not allowed to have permissions for MINT, SUPER_BURN, or any of the namespace management actions. This means only SEND, RECEIVE, and BURN are permitted actions to be assigned to the EVERYONE role
Blacklist Role
Any role that has no permitted actions (including EVERYONE) will be considered a blacklist role. The blacklist role can be called any unique name.
Blacklist roles supercede all other roles such that any address assigned a blacklist role will have all permissions revoked until the address is no longer blacklisted
If the blacklist role is removed from the address, all other roles/permissions the address previously had will be reinstated
In the case of EVERYONE having no permissions, once an address receives another non-blacklist role, the address will no longer have zero permissions/be blacklisted since EVERYONE only applies when there are no other roles
Role Managers
Role managers have the ability to assign roles to other addresses (role actors)
For each role defined within the namespace, one or more role managers are needed to manage the list of addresses for a particular role
This includes roles for namespace management actions:
MODIFY_POLICY_MANAGERS Role Managers
MODIFY_CONTRACT_HOOK Role Managers
MODIFY_ROLE_PERMISSIONS Roles Managers
MODIFY_ROLE_MANAGERS Role Managers
The role manager can only assign roles for which they are the specific role manager of
An address can be a role manager of multiple roles at the same time
Role Actors
Role actors, or simply actors, are addresses that have been given one or more roles by the respective role managers
Role actors are permitted to execute any action for which any of their roles allow
For example, if role ABC had permissions to mint, send, and receive, then any role actor with role ABC would be permitted to mint, send, and receive the namespace asset. Suppose role XYZ had burn and mint permissions, and an actor had role ABC as well as XYZ. Then the actor would be permitted to mint, send, receive, and burn the asset.
Policy Statuses
Each action has a policy status associated with it which can be enabled/disabled and/or sealed (can be enabled or disabled without being sealed, or can be enabled or disabled and sealed). Internally, this consists of two booleans for IsDisabled and IsSealed
Actions are not disabled and not sealed by default
The policy status determines the status of an action across the entire namespace. If an action policy is disabled, no user will be able to execute the action until it is enabled again
Sealing a user action policy will irreversibly set the action policy for IsDisabled
Note: Sealing a namespace management action (MODIFY_POLICY_MANAGERS,MODIFY_CONTRACT_HOOK,MODIFY_ROLE_PERMISSIONS,MODIFY_ROLE_MANAGERS) policy will result in the action being permanently disabled. While user actions and namespace management actions can both be sealed as enabled, the resulting behavior of the respective namespace management actions will be effectively permanently disabled, while user actions will be permanently enabled.
Policy Managers
Policy managers are in charge of setting the policy status for their approved actions.
When the policy managers for an action are set, they can be given permission to disable and/or seal the action policy through the PolicyManagerCapabilities field.
Policy manager capabilities describe whether an address (the policy manager) can disable or seal an action. Another way to put it: they describe the extent to which a policy manager can alter the policy state of an action.
Note that the policy manager should have permissions for at least one of the actions, since there would be no point to having a policy manager that cannot update the action policy status. If both permissions are removed, the policy manager will be removed entirely.
Wasm Contract Hook
The Wasm contract hook is useful for building extended features on top of the permissioned namespace and TokenFactory primitives
Wasm contract hooks are invoked upon an address receiving a permissioned asset. The hook can be set by any address with the role to perform the MODIFY_CONTRACT_HOOK action
Information passed to the contract includes fromAddr, toAddr, action, and amount. The action is currently passed as Action_RECEIVE
Interacting with a Namespace
There are four relevant messages to interact with the permissions module:
MsgCreateNamespace - Create the namespace with initial settings/parameters for role permissions, role managers, policy statuses, policy managers/capabilities, and/or the Wasm contract hook
MsgUpdateNamespace - Update role permissions, role managers, policy statuses, policy managers/capabilities, and/or the Wasm contract hook
MsgUpdateActorRoles - Assign or revoke roles from addresses
MsgClaimVoucher - Claim voucher for assets that failed to transfer from an Injective module to the recipient (due to lack of RECEIVE permissions). The voucher can only be claimed by the intended recipient once the recipient address has RECEIVE permissions. For transfers occurring between externally owned addresses, vouchers are not created upon failed transfer due to lack of permissions; the transaction is reverted instead
Default Namespace Values
Default namespace values for role managers, policy statuses, and policy managers will be assigned during namespace creation under the following conditions:
If no role managers are set for any roles:
The namespace creator is set as the role manager for ALL roles
Note: If at least one role manager is specified for any role upon launch of the namespace, no default role managers are set, even for roles with unspecified role managers
If any policy statuses are not set for a given action:
The policy status is set to not disabled and not sealed for the action (unless otherwise specified during creation)
If no policy managers/policy manager capabilities (both are represented in a single data structure) are set for any actions:
The policy manager for all actions is set to the namespace creator
The policy manager is given the ability to both disable/enable the action and seal the action policy status
Caution: Default namespace values will not prevent a namespace from being rendered unusable during creation if incorrect permissions are set.
To prevent this from occurring, namespace management roles should be mapped to namespace management actions during namespace creation, and role managers should also be set for each namespace management role (especially roles that can modify role managers and role provisions) upon namespace creation.
This will prevent cases where the namespace cannot be updated when roles are not properly mapped to permissions, role permissions/role managers cannot be updated because no address has permission to update role managers or assign roles, and no address has permission to create/provision new roles
Updating Namespaces with Governance
Namespace settings can be overridden by governance, but not by default. This prevents users from arbitrarily editing namespaces they do not own through governance. To enable namespace updates through governance, the Gov module address should be assigned the appropriate roles/permissions.
Last modified on March 31, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Injective Docs","description":"Injective is a high-performance, interoperable layer-one blockchain for building premier Web3 financial applications.","colors":{"primary":"#0082FA","light":"#E6F2FF","dark":"#0082FA"},"logo":{"light":"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd","dark":"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd"},"favicon":"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd","navbar":{"links":[{"href":"https://status.injective.network","label":"Status"},{"href":"https://testnet.faucet.injective.network","label":"Faucet"},{"href":"https://github.com/InjectiveLabs","type":"github"},{"href":"https://sentry.lcd.injective.network/swagger/#/","label":"API"},{"href":"https://chain.injective.network","label":"Operator Portal"},{"href":"/upgrade/latest","label":"Latest Upgrade"}]},"search":{"prompt":"Search Injective docs..."},"seo":{"metatags":{"og:type":"website","og:site_name":"Injective Docs","canonical":"https://docs.injective.network","indexnow-verification":"83e83a6368fb4defb4ae2ae309922656","msvalidate.01":"C0245176149C1961102F102F1E76F150"},"indexing":"all"},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"gtm":{"tagId":"GTM-T4827WQD"}},"metadata":{"timestamp":true},"navigation":{"languages":[{"language":"en","footer":{"socials":{"website":"https://injective.com/","github":"https://github.com/InjectiveLabs","x":"https://x.com/injective","youtube":"https://youtube.com/@injective_","discord":"https://discord.gg/injective","telegram":"https://t.me/+8Y_0HOFLhnRlZDU9","linkedin":"https://www.linkedin.com/company/injectivelabs","reddit":"https://www.reddit.com/r/injective"},"links":[{"header":"About docs","items":[{"label":"Maintained by Injective Labs' Developer Relations Team","href":"https://injective.com/"},{"label":"Open an issue","href":"https://github.com/InjectiveLabs/injective-docs/issues"},{"label":"Submit a PR","href":"https://github.com/InjectiveLabs/injective-docs/pulls"}]},{"header":"Resources","items":[{"label":"Operator Portal","href":"https://chain.injective.network"},{"label":"Network Status","href":"https://status.injective.network"},{"label":"Blog","href":"https://injective.com/blog"},{"label":"Build","href":"https://injective.com/build"},{"label":"7 days of Injective","href":"https://youtube.com/watch?v=bE9JbFpsDFM\u0026list=PLTS_stt4XpDBGDXxrx4crxijAemFr3Mix"}]}]},"href":""},{"language":"zh-Hans","href":"cn"},{"language":"ko","href":"ko"},{"language":"jp","href":"jp"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"injectivelabs","hasAudioNarration":false,"actualSubdomain":"injectivelabs","customDomains":["docs.injective.network"],"gitSource":{"type":"github","owner":"injectivelabs","repo":"injective-docs","deployBranch":"main","contentDirectory":".gitbook","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b06d7b04d746179e791e6c8","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"en","tag":"Develop","count":264},{"language":"en","tag":"BUILD","count":264},{"language":"ko","tag":"개발","count":255},{"language":"ko","tag":"빌드","count":255},{"language":"en","tag":"Native Developers","count":198},{"language":"ko","tag":"Native 개발자","count":175},{"language":"zh-Hans","tag":"开发","count":158},{"language":"zh-Hans","tag":"构建","count":158},{"language":"jp","tag":"開発","count":133},{"language":"jp","tag":"ビルド","count":133},{"language":"en","tag":"Getting Started","count":123},{"language":"en","tag":"INJECTIVE","count":123},{"language":"en","tag":"Injective Modules","count":100},{"language":"ko","tag":"Injective Modules","count":93},{"language":"zh-Hans","tag":"Native 开发者","count":73},{"language":"zh-Hans","tag":"快速开始","count":71},{"language":"zh-Hans","tag":"INJECTIVE","count":71},{"language":"jp","tag":"ネイティブ開発者","count":66},{"language":"en","tag":"Network Infrastructure","count":65},{"language":"ko","tag":"시작하기","count":64},{"language":"ko","tag":"INJECTIVE","count":64},{"language":"jp","tag":"はじめに","count":58},{"language":"jp","tag":"INJECTIVE","count":58},{"language":"en","tag":"DeFi on Injective","count":52},{"language":"en","tag":"Upgrades","count":45},{"language":"zh-Hans","tag":"DeFi","count":41},{"language":"en","tag":"Historical Upgrades","count":40},{"language":"jp","tag":"DeFi","count":40},{"language":"ko","tag":"DeFi","count":40},{"language":"zh-Hans","tag":"EVM 开发者","count":31},{"language":"zh-Hans","tag":"开发者","count":30},{"language":"ko","tag":"개발자","count":30},{"language":"jp","tag":"EVM開発者","count":28},{"language":"ko","tag":"EVM 개발자","count":28},{"language":"zh-Hans","tag":"在 Injective 上构建","count":26},{"language":"jp","tag":"Injectiveで構築","count":26},{"language":"zh-Hans","tag":"交易","count":24},{"language":"ko","tag":"Injective에서 빌드","count":22},{"language":"jp","tag":"チェーンのクエリ","count":18},{"language":"jp","tag":"開発者","count":17},{"language":"default","tag":"개발","count":8},{"language":"default","tag":"빌드","count":8},{"language":"default","tag":"개발자","count":8},{"language":"default","tag":"INJECTIVE","count":2},{"language":"default","tag":"Develop","count":2},{"language":"default","tag":"BUILD","count":2},{"language":"default","tag":"EVM Developers","count":2},{"language":"default","tag":"시작하기","count":1},{"language":"default","tag":"인프라","count":1},{"language":"default","tag":"Getting Started","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"utility-bar.css","content":"nav a[href*=\"chain-portal\"]{color:#0082FA!important;font-weight:600!important}aside [data-active=\"true\"],[data-component-name=\"sidebar\"] [data-active=\"true\"]{color:#0082FA!important;background:rgba(0, 130, 250, 0.08)!important}nav [data-active=\"true\"],[data-component-name=\"tabs\"] [data-active=\"true\"]{background:transparent!important}nav a[href*=\"/upgrade/latest\"]{color:#0082FA!important;font-weight:600!important;background:#E6F2FF!important;padding:4px 10px!important;border-radius:6px!important}"}]}
{"page":{"pagePath":"developers-native/injective/permissions/01_concepts","slug":"/developers-native/injective/permissions/01_concepts","pageMetadata":{"sidebar_position":1,"title":"Key Concepts","updatedAt":"2025-12-09","description":null,"href":"/developers-native/injective/permissions/01_concepts"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Permissions`}),` module enables the creation of permissioned assets through an RBAC (Role-Based Access Control) system. The module serves as a primitive to launch any asset requiring varying levels of permissions such as stablecoins (issued by centralized entities), tokenized Treasuries, and other RWAs (Real World Assets).`]}),`\n`,_jsx(_components.p,{children:`Supported features include restrictions on sending/receiving (freezing assets), control over access to minting and burning, pausing specific actions across all addresses, administrative actions management, and support for Wasm contract hooks for further development on top of the module.`}),`\n`,_jsxs(Heading,{level:`2`,id:`how-the-permissions-module-works`,children:[`How the `,_jsx(_components.code,{children:`Permissions`}),` Module Works`]}),`\n`,_jsxs(Heading,{level:`3`,id:`relation-to-tokenfactory-module`,children:[`Relation to `,_jsx(_components.code,{children:`TokenFactory`}),` Module`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Permissions`}),` module is tightly coupled with the `,_jsx(_components.code,{children:`TokenFactory`}),` module. It allows users to create restrictions on sending, receiving, minting, and burning of a specific `,_jsx(_components.code,{children:`TokenFactory`}),` token by creating a namespace for the token denom, in which actions are assigned to roles, and roles are assigned to addresses. In this manner, only addresses with the correct roles are permitted to carry out the corresponding actions. The module essentially builds an optional permissions layer on top of `,_jsx(_components.code,{children:`TokenFactory`}),` denoms.`]}),`\n`,_jsxs(_components.p,{children:[`Since the `,_jsx(_components.code,{children:`Permissions`}),` module relies on the existence of a `,_jsx(_components.code,{children:`TokenFactory`}),` denom to function, the `,_jsx(_components.code,{children:`TokenFactory`}),` denom should be launched first, followed by the creation of a `,_jsx(_components.code,{children:`Permissions`}),` namespace.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`See `,_jsx(_components.a,{href:`https://docs.injective.network/developers/modules/injective/tokenfactory`,children:`https://docs.injective.network/developers/modules/injective/tokenfactory`}),` for documentation on the `,_jsx(_components.code,{children:`TokenFactory`}),` module`]}),`\n`,_jsxs(_components.li,{children:[`See `,_jsx(_components.a,{href:`https://docs.injective.network/guides/launch-a-token`,children:`https://docs.injective.network/guides/launch-a-token`}),` for a guide on launching a token with the module`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Note: The `,_jsx(_components.code,{children:`TokenFactory`}),` admin should not be changed to the null address (inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49) because the `,_jsx(_components.code,{children:`Permissions`}),` module requires the creator of the `,_jsx(_components.code,{children:`Permissions`}),` namespace to be the admin of the corresponding `,_jsx(_components.code,{children:`TokenFactory`}),` denom.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Once the `,_jsx(_components.code,{children:`TokenFactory`}),` denom is live and a `,_jsx(_components.code,{children:`Permissions`}),` namespace is created for the token, checks are performed during token mint, burn, send, and receive to ensure the correct permissions are in place for the relevant action.`]}),`\n`,_jsx(Heading,{level:`3`,id:`components-of-a-namespace`,children:`Components of a Namespace`}),`\n`,_jsxs(_components.p,{children:[`As an implementation of an RBAC system for permissioned assets, the `,_jsx(_components.code,{children:`Permissions`}),` module defines several basic actions that can be assigned to roles within a namespace. A namespace serves as the container for all rules, parameters, and assigned permissions for a single asset. Note that each asset (denom) can only have one namespace.`]}),`\n`,_jsx(_components.p,{children:`At its core, a namespace comprises:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Denom`}),`\n`,_jsx(_components.li,{children:`Actions`}),`\n`,_jsx(_components.li,{children:`Roles`}),`\n`,_jsx(_components.li,{children:`Role Managers`}),`\n`,_jsx(_components.li,{children:`Role Actors`}),`\n`,_jsx(_components.li,{children:`Policy Statuses`}),`\n`,_jsx(_components.li,{children:`Policy Managers`}),`\n`,_jsx(_components.li,{children:`Wasm Contract Hook`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Denom`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The denomination of the `,_jsx(_components.code,{children:`TokenFactory`}),` asset. The denom in the namespace corresponds to the `,_jsx(_components.code,{children:`TokenFactory`}),` asset with the same name, of which the creator of the namespace is also the admin of the `,_jsx(_components.code,{children:`TokenFactory`}),` asset`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png?fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=d0642f1600d73ccead1292074edc7ef7`,alt:`image.png`,\"data-og-width\":`3678`,width:`3678`,\"data-og-height\":`1530`,height:`1530`,\"data-path\":`developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png?w=280\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=093e11b239262b6236c75e71c56c163c 280w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png?w=560\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=cb510ccaba4bc3728facf027a3a0b482 560w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png?w=840\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=1e8d704e7472f899adda322c5d4c1b87 840w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png?w=1100\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=129cfb6e83e6b416d9acc95f1642f40e 1100w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png?w=1650\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=be93a5c96b7d3437ca4a3438cd860002 1650w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/NamespaceRoleCreationPermissionsFlow.png?w=2500\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=1591338d536e6133f48ad0b08b04f1a5 2500w`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Actions`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Actions are mapped/assigned to roles to give the role permission to execute the action`}),`\n`,_jsxs(_components.li,{children:[`Actions are split into two categories, user actions and namespace management actions. The following is a list of all possible permissioned actions in a namespace:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`User Actions:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MINT`}),` - Can mint to any address using the `,_jsx(_components.code,{children:`receiver`}),` field as long as that address has permissions for the `,_jsx(_components.code,{children:`RECEIVE`}),` action. If unspecified, the default address is the message sender’s address`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`RECEIVE`}),` - The address is able to receive tokens`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BURN`}),` - Burn own funds`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SEND`}),` - Can send to any address with `,_jsx(_components.code,{children:`RECEIVE`}),` permissions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUPER_BURN`}),` - Burn funds from anyone’s wallet except own wallet, unless the user also has Burn permissions`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Namespace Management Actions:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_POLICY_MANAGERS`}),` - Change the policy managers and their capabilities (if they can disable or seal) within the namespace`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_CONTRACT_HOOK`}),` - Change the Wasm contract hook`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_ROLE_PERMISSIONS`}),` - Change the mapping of roles to permitted actions (change what each role is allowed to do)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_ROLE_MANAGERS`}),` - Change the managers that determine who can have a role`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Actions are identified by a unique power of 2 integer (for internal bitmasking purposes):`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MINT`}),` = 1`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`RECEIVE`}),` = 2`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BURN`}),` = 4`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SEND`}),` = 8`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUPER_BURN`}),` = 16`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_POLICY_MANAGERS`}),` = 134217728`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_CONTRACT_HOOK`}),` = 268435456`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_ROLE_PERMISSIONS`}),` = 536870912`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_ROLE_MANAGERS`}),` = 1073741824`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Permissions are identified by the sum of all permitted action values in base 10`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`E.g. permission to receive, burn, and send would be 14 (2 + 4 + 8)`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Roles`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Roles consist of a subset of actions (permissions) for which an actor is permitted to carry out. Each role can have zero, one, or multiple actions assigned by a Role Manager`}),`\n`,_jsx(_components.li,{children:`A role’s actions represent the permitted actions for which an address assigned the role can execute. In other words, roles give permission to perform the actions specified by the role`}),`\n`,_jsxs(_components.li,{children:[`Roles are created when the namespace is launched or upon updating the namespace with new role-action mappings by a user permitted to execute the `,_jsx(_components.code,{children:`MODIFY_ROLE_PERMISSIONS`}),` action`]}),`\n`,_jsxs(_components.li,{children:[`Roles are generally namespace (admin) defined, though there are two special types of roles:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EVERYONE`}),` Role`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`There is a default `,_jsx(_components.code,{children:`EVERYONE`}),` role assigned to all addresses that do not have any other roles`]}),`\n`,_jsxs(_components.li,{children:[`If no roles are assigned to an actor, then the `,_jsx(_components.code,{children:`EVERYONE`}),` role applies until they are assigned another role, at which point the `,_jsx(_components.code,{children:`EVERYONE`}),` role ceases to apply`]}),`\n`,_jsxs(_components.li,{children:[`Note that this role does not have to be assigned any permissions, though `,_jsxs(_components.strong,{children:[`the `,_jsx(_components.code,{children:`EVERYONE`}),` role must be defined at creation time`]}),` (it can be defined with no actions assigned)`]}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`EVERYONE`}),` role is not allowed to have permissions for `,_jsx(_components.code,{children:`MINT`}),`, `,_jsx(_components.code,{children:`SUPER_BURN`}),`, or any of the namespace management actions. This means only `,_jsx(_components.code,{children:`SEND`}),`, `,_jsx(_components.code,{children:`RECEIVE`}),`, and `,_jsx(_components.code,{children:`BURN`}),` are permitted actions to be assigned to the `,_jsx(_components.code,{children:`EVERYONE`}),` role`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Blacklist Role`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Any role that has no permitted actions (including `,_jsx(_components.code,{children:`EVERYONE`}),`) will be considered a blacklist role. The blacklist role can be called any unique name.`]}),`\n`,_jsx(_components.li,{children:`Blacklist roles supercede all other roles such that any address assigned a blacklist role will have all permissions revoked until the address is no longer blacklisted`}),`\n`,_jsxs(_components.li,{children:[`If the blacklist role is removed from the address, all other roles/permissions the address previously had will be reinstated`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`In the case of `,_jsx(_components.code,{children:`EVERYONE`}),` having no permissions, once an address receives another non-blacklist role, the address will no longer have zero permissions/be blacklisted since `,_jsx(_components.code,{children:`EVERYONE`}),` only applies when there are no other roles`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Role Managers`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Role managers have the ability to assign roles to other addresses (role actors)`}),`\n`,_jsxs(_components.li,{children:[`For each role defined within the namespace, one or more role managers are needed to manage the list of addresses for a particular role`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`This includes roles for namespace management actions:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_POLICY_MANAGERS`}),` Role Managers`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_CONTRACT_HOOK`}),` Role Managers`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_ROLE_PERMISSIONS`}),` Roles Managers`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MODIFY_ROLE_MANAGERS`}),` Role Managers`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`The role manager can only assign roles for which they are the specific role manager of`}),`\n`,_jsx(_components.li,{children:`An address can be a role manager of multiple roles at the same time`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Role Actors`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Role actors, or simply actors, are addresses that have been given one or more roles by the respective role managers`}),`\n`,_jsxs(_components.li,{children:[`Role actors are permitted to execute any action for which any of their roles allow`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`For example, if role ABC had permissions to mint, send, and receive, then any role actor with role ABC would be permitted to `,_jsx(_components.code,{children:`mint`}),`, `,_jsx(_components.code,{children:`send`}),`, and `,_jsx(_components.code,{children:`receive`}),` the namespace asset. Suppose role XYZ had `,_jsx(_components.code,{children:`burn`}),` and `,_jsx(_components.code,{children:`mint`}),` permissions, and an actor had role ABC as well as XYZ. Then the actor would be permitted to `,_jsx(_components.code,{children:`mint`}),`, `,_jsx(_components.code,{children:`send`}),`, `,_jsx(_components.code,{children:`receive`}),`, and `,_jsx(_components.code,{children:`burn`}),` the asset.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/PolicyManagers.png?fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=a6a456b86906a5ef92984303fc112e4e`,alt:`image.png`,\"data-og-width\":`2654`,width:`2654`,\"data-og-height\":`1218`,height:`1218`,\"data-path\":`developers-native/injective/permissions/PolicyManagers.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/PolicyManagers.png?w=280\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=0140c37137dff768952cbaeab58a2a96 280w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/PolicyManagers.png?w=560\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=b92e54f386d570b169bd182f4f7851ca 560w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/PolicyManagers.png?w=840\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=61961e18236c5ab069788ab2be7779aa 840w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/PolicyManagers.png?w=1100\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=16585d6f88b4a44d162cbfca4f503189 1100w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/PolicyManagers.png?w=1650\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=b5e78e819b476ddb423b21cfabab2b21 1650w, https://mintcdn.com/injectivelabs/uX2NM6Rg-WvYYnwC/developers-native/injective/permissions/PolicyManagers.png?w=2500\u0026fit=max\u0026auto=format\u0026n=uX2NM6Rg-WvYYnwC\u0026q=85\u0026s=2c504b8cbdadabd5606ba8212c285a32 2500w`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Policy Statuses`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Each action has a policy status associated with it which can be enabled/disabled and/or sealed (can be enabled or disabled without being sealed, or can be enabled or disabled and sealed). Internally, this consists of two booleans for `,_jsx(_components.code,{children:`IsDisabled`}),` and `,_jsx(_components.code,{children:`IsSealed`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Actions are not disabled and not sealed by default`}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`The policy status determines the status of an action across the entire namespace. If an action policy is disabled, no user will be able to execute the action until it is enabled again`}),`\n`,_jsxs(_components.li,{children:[`Sealing a user action policy will irreversibly set the action policy for `,_jsx(_components.code,{children:`IsDisabled`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Note: Sealing a namespace management action (`}),_jsx(_components.code,{children:`MODIFY_POLICY_MANAGERS`}),_jsx(_components.strong,{children:`,`}),` `,_jsx(_components.code,{children:`MODIFY_CONTRACT_HOOK`}),_jsx(_components.strong,{children:`,`}),` `,_jsx(_components.code,{children:`MODIFY_ROLE_PERMISSIONS`}),_jsx(_components.strong,{children:`,`}),` `,_jsx(_components.code,{children:`MODIFY_ROLE_MANAGERS`}),_jsx(_components.strong,{children:`) policy will result in the action being permanently disabled. While user actions and namespace management actions can both be sealed as enabled, the resulting behavior of the respective namespace management actions will be effectively permanently disabled, while user actions will be permanently enabled.`})]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Policy Managers`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Policy managers are in charge of setting the policy status for their approved actions.`}),`\n`,_jsxs(_components.li,{children:[`When the policy managers for an action are set, they can be given permission to disable and/or seal the action policy through the `,_jsx(_components.code,{children:`PolicyManagerCapabilities`}),` field.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Policy manager capabilities describe whether an address (the policy manager) can disable or seal an action. Another way to put it: they describe the extent to which a policy manager can alter the policy state of an action.`}),`\n`,_jsx(_components.li,{children:`Note that the policy manager should have permissions for at least one of the actions, since there would be no point to having a policy manager that cannot update the action policy status. If both permissions are removed, the policy manager will be removed entirely.`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Wasm Contract Hook`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The Wasm contract hook is useful for building extended features on top of the permissioned namespace and `,_jsx(_components.code,{children:`TokenFactory`}),` primitives`]}),`\n`,_jsxs(_components.li,{children:[`Wasm contract hooks are invoked upon an address receiving a permissioned asset. The hook can be set by any address with the role to perform the `,_jsx(_components.code,{children:`MODIFY_CONTRACT_HOOK`}),` action`]}),`\n`,_jsxs(_components.li,{children:[`Information passed to the contract includes `,_jsx(_components.code,{children:`fromAddr`}),`, `,_jsx(_components.code,{children:`toAddr`}),`, `,_jsx(_components.code,{children:`action`}),`, and `,_jsx(_components.code,{children:`amount`}),`. The action is currently passed as `,_jsx(_components.code,{children:`Action_RECEIVE`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`interacting-with-a-namespace`,children:`Interacting with a Namespace`}),`\n`,_jsx(_components.p,{children:`There are four relevant messages to interact with the permissions module:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MsgCreateNamespace`}),` - Create the namespace with initial settings/parameters for role permissions, role managers, policy statuses, policy managers/capabilities, and/or the Wasm contract hook`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MsgUpdateNamespace`}),` - Update role permissions, role managers, policy statuses, policy managers/capabilities, and/or the Wasm contract hook`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MsgUpdateActorRoles`}),` - Assign or revoke roles from addresses`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MsgClaimVoucher`}),` - Claim voucher for assets that failed to transfer from an Injective module to the recipient (due to lack of `,_jsx(_components.code,{children:`RECEIVE`}),` permissions). The voucher can only be claimed by the intended recipient once the recipient address has `,_jsx(_components.code,{children:`RECEIVE`}),` permissions. For transfers occurring between externally owned addresses, vouchers are not created upon failed transfer due to lack of permissions; the transaction is reverted instead`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`default-namespace-values`,children:`Default Namespace Values`}),`\n`,_jsx(_components.p,{children:`Default namespace values for role managers, policy statuses, and policy managers will be assigned during namespace creation under the following conditions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If no role managers are set for any roles:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The namespace creator is set as the role manager for ALL roles`}),`\n`,_jsx(_components.li,{children:`Note: If at least one role manager is specified for any role upon launch of the namespace, no default role managers are set, even for roles with unspecified role managers`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`If any policy statuses are not set for a given action:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The policy status is set to not disabled and not sealed for the action (unless otherwise specified during creation)`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`If no policy managers/policy manager capabilities (both are represented in a single data structure) are set for any actions:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The policy manager for all actions is set to the namespace creator`}),`\n`,_jsx(_components.li,{children:`The policy manager is given the ability to both disable/enable the action and seal the action policy status`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Caution: Default namespace values will not prevent a namespace from being rendered unusable during creation if incorrect permissions are set.`})}),`\n`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To prevent this from occurring, `,_jsx(_components.strong,{children:`namespace management roles should be mapped to namespace management actions during namespace creation, and role managers should also be set for each namespace management role`}),` (especially roles that can modify role managers and role provisions) upon namespace creation.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This will prevent cases where the namespace cannot be updated when roles are not properly mapped to permissions, role permissions/role managers cannot be updated because no address has permission to update role managers or assign roles, and no address has permission to create/provision new roles`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`updating-namespaces-with-governance`,children:`Updating Namespaces with Governance`}),`\n`,_jsxs(_components.p,{children:[`Namespace settings can be overridden by governance, but not by default. This prevents users from arbitrarily editing namespaces they do not own through governance. To enable namespace updates through governance, the `,_jsx(_components.code,{children:`Gov`}),` module address should be assigned the appropriate roles/permissions.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"sidebar_position":1,"title":"Key Concepts","updatedAt":"2025-12-09","description":null,"href":"/developers-native/injective/permissions/01_concepts"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"How the Permissions Module Works","slug":"how-the-permissions-module-works","depth":2,"children":[{"title":"Relation to TokenFactory Module","slug":"relation-to-tokenfactory-module","depth":3,"children":[]},{"title":"Components of a Namespace","slug":"components-of-a-namespace","depth":3,"children":[]},{"title":"Interacting with a Namespace","slug":"interacting-with-a-namespace","depth":3,"children":[]},{"title":"Default Namespace Values","slug":"default-namespace-values","depth":3,"children":[]},{"title":"Updating Namespaces with Governance","slug":"updating-namespaces-with-governance","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/injectivelabs/afb6b70adb7c4270/layout-tweaks.js"],"subdomain":"injectivelabs","siteName":"Injective Docs","title":"Key Concepts - Injective Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/developers-native/injective/permissions/01_concepts","matchLevel":0},"zh-Hans":{"href":"/cn","matchLevel":4},"ko":{"href":"/ko/developers-native/injective/permissions/01_concepts","matchLevel":1},"jp":{"href":"/jp","matchLevel":4}}},"lastModified":"2026-10-11T10:31:52.023Z","gitLastModified":"2026-03-31T12:24:45.000Z","originalFileLocation":"developers-native/injective/permissions/01_concepts.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Injective Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Key Concepts - Injective Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Injective Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.injective.network/developers-native/injective/permissions/01_concepts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://injectivelabs.mintlify.site/_mintlify/api/og/v2?division=Permissions\u0026amp;title=Key+Concepts\u0026amp;theme=899fdb1d0593f9b560558788\u0026amp;signature=4effd43a31571677d1462cd63b5ca39e468531f9c82a9e1c5260bed322318465\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Key Concepts - Injective Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://injectivelabs.mintlify.site/_mintlify/api/og/v2?division=Permissions\u0026amp;title=Key+Concepts\u0026amp;theme=899fdb1d0593f9b560558788\u0026amp;signature=4effd43a31571677d1462cd63b5ca39e468531f9c82a9e1c5260bed322318465\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/injectivelabs/dGav8VeqGBHoojU_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Injective Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0082FA\">\u003cmeta data-mint-head name=\"indexnow-verification\" content=\"83e83a6368fb4defb4ae2ae309922656\">\u003cmeta data-mint-head name=\"msvalidate.01\" content=\"C0245176149C1961102F102F1E76F150\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.injective.network/developers-native/injective/permissions/01_concepts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers-native/injective/permissions/01_concepts.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.injective.network/developers-native/injective/permissions/01_concepts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.injective.network/ko/developers-native/injective/permissions/01_concepts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.injective.network/developers-native/injective/permissions/01_concepts\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.injective.network/#organization\",\"name\":\"Injective Docs\",\"url\":\"https://docs.injective.network\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/injectivelabs/QlZaYS7qaDAyLKCM/img/injective-logo-192x192.png?fit=max\u0026auto=format\u0026n=QlZaYS7qaDAyLKCM\u0026q=85\u0026s=07e0ad67fc7a332d74f7d418e2727dbd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.injective.network#website\",\"name\":\"Injective Docs\",\"url\":\"https://docs.injective.network\",\"publisher\":{\"@id\":\"https://docs.injective.network/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts#webpage\",\"url\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts\",\"name\":\"Key Concepts\",\"dateModified\":\"2026-03-31T12:24:45.000Z\",\"isPartOf\":{\"@id\":\"https://docs.injective.network#website\"},\"breadcrumb\":{\"@id\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"BUILD\",\"item\":\"https://docs.injective.network/build-index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Native Developers\",\"item\":\"https://docs.injective.network/developers-native\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Injective Modules\",\"item\":\"https://docs.injective.network/developers-native/injective\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Permissions\",\"item\":\"https://docs.injective.network/developers-native/injective/permissions\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Key Concepts\",\"item\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts#article\",\"headline\":\"Key Concepts\",\"name\":\"Key Concepts\",\"url\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.injective.network/developers-native/injective/permissions/01_concepts#webpage\"},\"dateModified\":\"2026-03-31T12:24:45.000Z\",\"publisher\":{\"@id\":\"https://docs.injective.network/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.injective.network#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Injective Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Injective Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers-native/injective/permissions/01_concepts.md","siteName":"Injective Docs","nav":{"global":null,"languages":[{"language":"en","footer":{"socials":{"website":"https://injective.com/","github":"https://github.com/InjectiveLabs","x":"https://x.com/injective","youtube":"https://youtube.com/@injective_","discord":"https://discord.gg/injective","telegram":"https://t.me/+8Y_0HOFLhnRlZDU9","linkedin":"https://www.linkedin.com/company/injectivelabs","reddit":"https://www.reddit.com/r/injective"},"links":[{"header":"About docs","items":[{"label":"Maintained by Injective Labs' Developer Relations Team","href":"https://injective.com/"},{"label":"Open an issue","href":"https://github.com/InjectiveLabs/injective-docs/issues"},{"label":"Submit a PR","href":"https://github.com/InjectiveLabs/injective-docs/pulls"}]},{"header":"Resources","items":[{"label":"Operator Portal","href":"https://chain.injective.network"},{"label":"Network Status","href":"https://status.injective.network"},{"label":"Blog","href":"https://injective.com/blog"},{"label":"Build","href":"https://injective.com/build"},{"label":"7 days of Injective","href":"https://youtube.com/watch?v=bE9JbFpsDFM\u0026list=PLTS_stt4XpDBGDXxrx4crxijAemFr3Mix"}]}]},"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":""}]},{"tab":"Build on Injective","pages":[{"title":"Build on Injective","href":"/developers-defi/integrator-guide"}]},{"tab":"Develop","groups":[{"group":"BUILD","pages":[{"title":"Overview","icon":"hammer","href":"/build-index"},{"group":"Developer Setup","icon":"screwdriver-wrench","pages":[{"title":"Developer Setup","sidebarTitle":"Overview","href":"/developers/setup"}]},{"group":"EVM Developers","icon":"rectangle-code","expanded":false,"pages":[{"title":"Overview","href":"/developers-evm/index"},{"title":"EVM Network Information","href":"/developers-evm/network-information"},{"title":"Local EVM Development","href":"/developers-evm/local-development"},{"group":"Your First EVM Smart Contract","pages":[{"title":"Your First EVM Smart Contract","href":"/developers-evm/smart-contracts/index"},{"title":"Set up Hardhat and compile a smart contract","href":"/developers-evm/smart-contracts/compile-hardhat"},{"title":"Test a smart contract using Hardhat","href":"/developers-evm/smart-contracts/test-hardhat"},{"title":"Deploy a smart contract using Hardhat","href":"/developers-evm/smart-contracts/deploy-hardhat"},{"title":"Verify a smart contract using Hardhat","href":"/developers-evm/smart-contracts/verify-hardhat"},{"title":"Interact with a smart contract using Hardhat","href":"/developers-evm/smart-contracts/interact-hardhat"},{"title":"Set up Foundry and compile a smart contract","href":"/developers-evm/smart-contracts/compile-foundry"},{"title":"Test a smart contract using Foundry","href":"/developers-evm/smart-contracts/test-foundry"},{"title":"Deploy a smart contract using Foundry","href":"/developers-evm/smart-contracts/deploy-foundry"},{"title":"Verify a smart contract using Foundry","href":"/developers-evm/smart-contracts/verify-foundry"},{"title":"Interact with a smart contract using Foundry","href":"/developers-evm/smart-contracts/interact-foundry"}]},{"group":"Your First EVM dApp","pages":[{"title":"Your First EVM dApp","href":"/developers-evm/dapps/index"},{"title":"Connect with MetaMask","href":"/developers-evm/dapps/connect-with-metamask"},{"title":"Connect with WalletConnect","href":"/developers-evm/dapps/connect-with-walletconnect"}]},{"title":"EVM Equivalence","href":"/developers-evm/evm-equivalence"},{"title":"MultiVM Token Standard","href":"/developers-evm/multivm-token-standard"},{"title":"Permissioned MTS Tokens","href":"/developers-evm/permissioned-multivm-token"},{"title":"Wrapped INJ (wINJ)","href":"/developers-evm/wrapped-inj"},{"title":"Precompiles","href":"/developers-evm/precompiles"},{"title":"Bank Precompile","href":"/developers-evm/bank-precompile"},{"title":"Exchange Precompile","href":"/developers-evm/exchange-precompile"},{"title":"Oracle Precompile","href":"/developers-evm/oracle-precompile"},{"title":"Swap Precompile","href":"/developers-evm/swap-precompile"},{"title":"IBC Precompile","href":"/developers-evm/ibc-precompile"},{"title":"ERC20 Module","href":"/developers-evm/erc20-module"},{"title":"Infrastructure \u0026 Tooling","href":"/developers-evm/infrastructure-and-tooling"},{"title":"EVM Gateway","href":"/developers-evm/evm-gateway"},{"title":"Alchemy RPC Setup","href":"/developers-evm/alchemy-rpc-setup"},{"title":"Add Injective to Your dApp","href":"/developers-evm/add-injective-to-your-dapp"},{"title":"EVM Integrations Cheat Sheet","href":"/developers-evm/evm-integrations-cheat-sheet"},{"title":"EVM Integrations FAQ","href":"/developers-evm/evm-integrations-faq"},{"title":"EVM Testnet Faucet","url":"https://testnet.faucet.injective.network/","href":"/redirects/https_testnet_faucet_injective_network"},{"title":"EVM Testnet Explorer","url":"https://testnet.blockscout.injective.network/blocks","href":"/redirects/https_testnet_blockscout_injective_network_blocks"}]},{"group":"dApp Developers","icon":"browser","expanded":false,"pages":[{"title":"Building dApps","href":"/developers/dapps/index"},{"title":"Configuring Nuxt","href":"/developers/dapps/configure-nuxt"},{"title":"Configuring React","href":"/developers/dapps/configure-react"},{"title":"Running examples","href":"/developers/dapps/run-examples"},{"title":"Smart Contract","href":"/developers/dapps/example-smart-contract"},{"title":"DEX","href":"/developers/dapps/example-dex"},{"title":"Simple HTML example with Webpack","href":"/developers/dapps/example-webpack"}]},{"group":"Native Developers","icon":"microchip","expanded":false,"pages":[{"title":"Overview","href":"/developers-native/index"},{"group":"Developer Setup","pages":[{"group":"Injective Node and CLI","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/injectived/index"},{"title":"Install","href":"/developers/injectived/install"},{"title":"Usage","href":"/developers/injectived/use"},{"title":"Commands","href":"/developers/injectived/advanced"}]},{"title":"Run a Local Node","href":"/developers-native/developer-setup/local-network"}]},{"group":"Wallets","pages":[{"title":"Wallets","href":"/developers-native/wallets/index"},{"title":"Accounts","href":"/developers-native/wallets/accounts"},{"title":"Wallet Connections","href":"/developers-native/wallets/connections"},{"title":"Wallet Strategy","href":"/developers-native/wallets/strategy"},{"title":"Offchain (Arbitrary) Data","href":"/developers-native/wallets/offchain-data"}]},{"group":"Bridges","pages":[{"title":"Bridges","href":"/developers-native/bridges/index"},{"title":"Ethereum Bridge","href":"/developers-native/bridges/ethereum"}]},{"group":"Transactions","pages":[{"title":"Transactions","href":"/developers-native/transactions/index"},{"title":"Cosmos Transactions","href":"/developers-native/transactions/cosmos"},{"title":"Ledger through Keplr Wallet Transaction","href":"/developers-native/transactions/cosmos-ledger-keplr"},{"title":"Ethereum Transaction","href":"/developers-native/transactions/ethereum"},{"title":"Ethereum Ledger Transaction","href":"/developers-native/transactions/ethereum-ledger"},{"title":"MsgBroadcaster Transaction","href":"/developers-native/transactions/msgbroadcaster"},{"title":"Private Key Transaction","href":"/developers-native/transactions/private-key"},{"title":"Web3 Gateway Transaction","href":"/developers-native/transactions/web3-gateway"}]},{"group":"Transaction Examples","pages":[{"title":"Transaction Examples","href":"/developers-native/examples/index"},{"title":"Auction","href":"/developers-native/examples/auction"},{"title":"AuthZ","href":"/developers-native/examples/authz"},{"title":"Bank","href":"/developers-native/examples/bank"},{"title":"Distribution","href":"/developers-native/examples/distribution"},{"title":"Exchange","href":"/developers-native/examples/exchange"},{"title":"Fee Grant","href":"/developers-native/examples/feegrant"},{"title":"Governance","href":"/developers-native/examples/governance"},{"title":"IBC","href":"/developers-native/examples/ibc"},{"title":"Insurance","href":"/developers-native/examples/insurance"},{"title":"Peggy","href":"/developers-native/examples/peggy"},{"title":"Permissions","href":"/developers-native/examples/permissions"},{"title":"Staking","href":"/developers-native/examples/staking"},{"title":"Token Factory","href":"/developers-native/examples/token-factory"},{"title":"Wasm","href":"/developers-native/examples/wasm"}]},{"group":"Querying the Chain","pages":[{"title":"Querying the Chain","href":"/developers-native/query-chain/index"},{"title":"Auction","href":"/developers-native/query-chain/auction"},{"title":"Auth","href":"/developers-native/query-chain/auth"},{"title":"Bank","href":"/developers-native/query-chain/bank"},{"title":"Distribution","href":"/developers-native/query-chain/distribution"},{"title":"Exchange","href":"/developers-native/query-chain/exchange"},{"title":"Governance","href":"/developers-native/query-chain/governance"},{"title":"IBC","href":"/developers-native/query-chain/ibc"},{"title":"Mint","href":"/developers-native/query-chain/mint"},{"title":"Insurance Funds","href":"/developers-native/query-chain/insurance-funds"},{"title":"Oracle","href":"/developers-native/query-chain/oracle"},{"title":"Peggy","href":"/developers-native/query-chain/peggy"},{"title":"Permissions","href":"/developers-native/query-chain/permissions"},{"title":"Staking","href":"/developers-native/query-chain/staking"},{"title":"Tendermint","href":"/developers-native/query-chain/tendermint"},{"title":"Wasm","href":"/developers-native/query-chain/wasm"},{"title":"WasmX","href":"/developers-native/query-chain/wasmx"},{"title":"Token Factory","href":"/developers-native/query-chain/token-factory"}]},{"group":"Querying the Indexer","pages":[{"title":"Querying the Indexer","href":"/developers-native/query-indexer/index"},{"title":"Account","href":"/developers-native/query-indexer/account"},{"title":"Auction","href":"/developers-native/query-indexer/auction"},{"title":"Derivatives","href":"/developers-native/query-indexer/derivatives"},{"title":"Explorer","href":"/developers-native/query-indexer/explorer"},{"title":"Insurance Funds","href":"/developers-native/query-indexer/insurance-funds"},{"title":"Markets","href":"/developers-native/query-indexer/markets"},{"title":"Leaderboard","href":"/developers-native/query-indexer/leaderboard"},{"title":"Mito","href":"/developers-native/query-indexer/mito"},{"title":"Oracle","href":"/developers-native/query-indexer/oracle"},{"title":"Portfolio","href":"/developers-native/query-indexer/portfolio"},{"title":"Spot","href":"/developers-native/query-indexer/spot"},{"title":"Web3 Gateway Transactions","href":"/developers-native/query-indexer/transaction"}]},{"group":"Streaming the Indexer","pages":[{"title":"Streaming the Indexer","href":"/developers-native/query-indexer-stream/index"},{"title":"Account","href":"/developers-native/query-indexer-stream/account"},{"title":"Archiver","href":"/developers-native/query-indexer-stream/archiver"},{"title":"Auction","href":"/developers-native/query-indexer-stream/auction"},{"title":"Derivatives","href":"/developers-native/query-indexer-stream/derivatives"},{"title":"Mito","href":"/developers-native/query-indexer-stream/mito"},{"title":"Oracle","href":"/developers-native/query-indexer-stream/oracle"},{"title":"Portfolio","href":"/developers-native/query-indexer-stream/portfolio"},{"title":"Spot","href":"/developers-native/query-indexer-stream/spot"},{"title":"Trading","href":"/developers-native/query-indexer-stream/trading"},{"title":"Explorer","href":"/developers-native/query-indexer-stream/explorer"}]},{"title":"Querying GraphQL Endpoints","href":"/developers-native/query-ethereum"},{"group":"Injective Modules","pages":[{"title":"Injective","href":"/developers-native/injective/index"},{"group":"Auction","pages":[{"title":"Auction","href":"/developers-native/injective/auction/index"},{"title":"State","href":"/developers-native/injective/auction/01_state"},{"title":"Messages","href":"/developers-native/injective/auction/02_messages"},{"title":"End-Block","href":"/developers-native/injective/auction/03_end_block"},{"title":"Events","href":"/developers-native/injective/auction/04_events"},{"title":"Parameters","href":"/developers-native/injective/auction/05_params"},{"title":"Error Codes","href":"/developers-native/injective/auction/99_errors"}]},{"group":"Exchange","pages":[{"title":"Exchange","href":"/developers-native/injective/exchange/index"},{"title":"Derivative Market Concept","href":"/developers-native/injective/exchange/00_derivative_market_concepts"},{"title":"Spot Market Concepts","href":"/developers-native/injective/exchange/01_spot_market_concepts"},{"title":"Binary Options Markets","href":"/developers-native/injective/exchange/02_binary_options_markets"},{"title":"Other Concepts","href":"/developers-native/injective/exchange/02_other_concepts"},{"title":"State","href":"/developers-native/injective/exchange/03_state"},{"title":"State Transitions","href":"/developers-native/injective/exchange/04_state_transitions"},{"title":"Messages","href":"/developers-native/injective/exchange/05_messages"},{"title":"Governance Proposals","href":"/developers-native/injective/exchange/06_proposals"},{"title":"BeginBlocker","href":"/developers-native/injective/exchange/07_begin_block"},{"title":"EndBlocker","href":"/developers-native/injective/exchange/08_end_block"},{"title":"Events","href":"/developers-native/injective/exchange/09_events"},{"title":"Parameters","href":"/developers-native/injective/exchange/10_params"},{"title":"MsgPrivilegedExecuteContract","href":"/developers-native/injective/exchange/11_msg_privileged_execute_contract"},{"title":"Gas Heuristics","href":"/developers-native/injective/exchange/12_gas_heuristics"},{"title":"Error Codes","href":"/developers-native/injective/exchange/99_errors"}]},{"group":"ERC20","pages":[{"title":"ERC20","href":"/developers-native/injective/erc20/index"},{"title":"Concepts","href":"/developers-native/injective/erc20/01_concepts"},{"title":"State","href":"/developers-native/injective/erc20/02_state"},{"title":null,"href":"/developers-native/injective/erc20/03_messages"},{"title":"Events","href":"/developers-native/injective/erc20/04_events"}]},{"group":"EVM","pages":[{"title":"EVM","href":"/developers-native/injective/evm/index"},{"title":"Concepts","href":"/developers-native/injective/evm/01_concepts"},{"title":"State","href":"/developers-native/injective/evm/02_state"},{"title":"State Transitions","href":"/developers-native/injective/evm/03_state_transitions"},{"title":"Transactions","href":"/developers-native/injective/evm/04_transactions"},{"title":"Application Blockchain Interface (ABCI)","href":"/developers-native/injective/evm/05_abci"},{"title":"Hooks","href":"/developers-native/injective/evm/06_hooks"},{"title":"Events","href":"/developers-native/injective/evm/07_events"},{"title":"Parameters","href":"/developers-native/injective/evm/08_params"},{"title":"Client","href":"/developers-native/injective/evm/09_client"}]},{"group":"Insurance","pages":[{"title":"Insurance","href":"/developers-native/injective/insurance/index"},{"title":"State","href":"/developers-native/injective/insurance/01_state"},{"title":"State Transitions","href":"/developers-native/injective/insurance/02_state_transitions"},{"title":"Messages","href":"/developers-native/injective/insurance/03_messages"},{"title":"End-Block","href":"/developers-native/injective/insurance/04_end_block"},{"title":"Events","href":"/developers-native/injective/insurance/05_events"},{"title":"Parameters","href":"/developers-native/injective/insurance/06_params"},{"title":"Future Improvements","href":"/developers-native/injective/insurance/07_future_improvements"},{"title":"Error Codes","href":"/developers-native/injective/insurance/99_errors"}]},{"group":"OCR","pages":[{"title":"OCR","href":"/developers-native/injective/ocr/index"},{"title":"Concepts","href":"/developers-native/injective/ocr/01_concepts"},{"title":"State","href":"/developers-native/injective/ocr/02_state"},{"title":"Messages","href":"/developers-native/injective/ocr/03_messages"},{"title":"Governance Proposals","href":"/developers-native/injective/ocr/04_proposals"},{"title":"Begin-Block","href":"/developers-native/injective/ocr/05_begin_block"},{"title":null,"href":"/developers-native/injective/ocr/06_hooks"},{"title":"Events","href":"/developers-native/injective/ocr/07_events"},{"title":"Params","href":"/developers-native/injective/ocr/08_params"},{"title":"Error Codes","href":"/developers-native/injective/ocr/99_errors"}]},{"group":"Oracle","pages":[{"title":"Oracle","href":"/developers-native/injective/oracle/index"},{"title":"State","href":"/developers-native/injective/oracle/01_state"},{"title":"Keepers","href":"/developers-native/injective/oracle/02_keeper"},{"title":"Messages","href":"/developers-native/injective/oracle/03_messages"},{"title":"Governance Proposals","href":"/developers-native/injective/oracle/04_proposals"},{"title":"Events","href":"/developers-native/injective/oracle/05_events"},{"title":"Future Improvements","href":"/developers-native/injective/oracle/06_future_improvements"},{"title":"Error Codes","href":"/developers-native/injective/oracle/99_errors"}]},{"group":"Peggy","pages":[{"title":"Peggy","href":"/developers-native/injective/peggy/index"},{"title":"Definitions","href":"/developers-native/injective/peggy/01_definitions"},{"title":"Workflow","href":"/developers-native/injective/peggy/02_workflow"},{"title":"State","href":"/developers-native/injective/peggy/03_state"},{"title":"Messages","href":"/developers-native/injective/peggy/04_messages"},{"title":"Slashing","href":"/developers-native/injective/peggy/05_slashing"},{"title":"End-Block","href":"/developers-native/injective/peggy/06_end_block"},{"title":"Events","href":"/developers-native/injective/peggy/07_events"},{"title":"Parameters","href":"/developers-native/injective/peggy/08_params"},{"title":"Relay Semantics","href":"/developers-native/injective/peggy/09_relay_semantics"},{"title":"Future Improvements","href":"/developers-native/injective/peggy/10_future_improvements"},{"title":"Error Codes","href":"/developers-native/injective/peggy/99_errors"}]},{"group":"Permissions","pages":[{"title":"Permissions","description":"Native role-based access control for permissioned assets on Injective. Issue regulated stablecoins, tokenized securities, or consortium digital money with compliance controls built into the chain.","href":"/developers-native/injective/permissions/index"},{"title":"Key Concepts","href":"/developers-native/injective/permissions/01_concepts"},{"title":"State","description":null,"href":"/developers-native/injective/permissions/02_state"},{"title":"State Transitions","href":"/developers-native/injective/permissions/03_state_transitions"},{"title":"How to Launch Permissioned Assets","href":"/developers-native/injective/permissions/04_launch_permissioned_asset"},{"title":"Error Codes","href":"/developers-native/injective/permissions/99_errors"}]},{"group":"TokenFactory","pages":[{"title":"TokenFactory","href":"/developers-native/injective/tokenfactory/index"},{"title":"Concepts","href":"/developers-native/injective/tokenfactory/01_concepts"},{"title":"State","href":"/developers-native/injective/tokenfactory/02_state"},{"title":null,"href":"/developers-native/injective/tokenfactory/03_messages"},{"title":"Events","href":"/developers-native/injective/tokenfactory/04_events"},{"title":"Params","href":"/developers-native/injective/tokenfactory/05_params"},{"title":"Error Codes","href":"/developers-native/injective/tokenfactory/99_errors"}]},{"group":"WasmX","pages":[{"title":"Wasmx","href":"/developers-native/injective/wasmx/index"},{"title":"Concepts","href":"/developers-native/injective/wasmx/01_concepts"},{"title":"Data","href":"/developers-native/injective/wasmx/02_data"},{"title":"Governance Proposals","href":"/developers-native/injective/wasmx/03_proposals"},{"title":"Messages","href":"/developers-native/injective/wasmx/04_messages"},{"title":"Params","href":"/developers-native/injective/wasmx/05_params"},{"title":"Error Codes","href":"/developers-native/injective/wasmx/99_errors"}]},{"title":"Lanes","href":"/developers-native/injective/lanes"},{"title":"Txfees","href":"/developers-native/injective/txfees"}]},{"group":"Core Modules","pages":[{"title":"Core","href":"/developers-native/core/index"},{"title":"Auth","href":"/developers-native/core/auth"},{"title":"Authz","href":"/developers-native/core/authz"},{"title":"Bank","href":"/developers-native/core/bank"},{"title":"Consensus","href":"/developers-native/core/consensus"},{"title":"Crisis","href":"/developers-native/core/crisis"},{"title":"Distribution","href":"/developers-native/core/distribution"},{"title":"Evidence","href":"/developers-native/core/evidence"},{"title":"Feegrant","href":"/developers-native/core/feegrant"},{"title":"Gov","href":"/developers-native/core/gov"},{"title":"Group","href":"/developers-native/core/group"},{"title":"Mint","href":"/developers-native/core/mint"},{"title":"Nft","href":"/developers-native/core/nft"},{"title":"Params","href":"/developers-native/core/params"},{"title":"Slashing","href":"/developers-native/core/slashing"},{"title":"Staking","href":"/developers-native/core/staking"},{"title":"Upgrade","href":"/developers-native/core/upgrade"},{"title":"Circuit","href":"/developers-native/core/circuit"},{"title":"Genutil","href":"/developers-native/core/genutil"}]}]},{"group":"CosmWasm Developers","icon":"comet","expanded":false,"pages":[{"title":"Overview","href":"/developers-cosmwasm/index"},{"group":"CosmWasm Smart Contracts","pages":[{"title":"CosmWasm Smart Contracts","href":"/developers-cosmwasm/smart-contracts/index"},{"title":"Your First CosmWasm Smart Contract","href":"/developers-cosmwasm/smart-contracts/your-first-smart-contract"},{"title":"Injective Name Service","href":"/developers-cosmwasm/smart-contracts/injective-name-service"},{"title":"NeptuneService","href":"/developers-cosmwasm/smart-contracts/neptune-service"},{"title":"CW20 to Bank \u0026 Market Order in One Transaction","href":"/developers-cosmwasm/smart-contracts/cw20-convert-market-order"}]},{"title":"Local Development","href":"/developers-cosmwasm/local-development-guide"},{"title":"Mainnet Deployment","href":"/developers-cosmwasm/mainnet-deployment-guide"},{"title":"Whitelisting deployment address","href":"/developers-cosmwasm/whitelisting-deployment-address-guide"},{"title":"Create your Swap Contract","href":"/developers-cosmwasm/create-your-swap-contract-guide"},{"title":"Creating UIs","href":"/developers-cosmwasm/create-uis-guide"},{"title":"Using Injective Modules and Queries in CosmWasm","href":"/developers-cosmwasm/cosmwasm-any"},{"title":"CW20 Adapter","href":"/developers-cosmwasm/cw20-adapter"},{"title":"Injective Test Tube","href":"/developers-cosmwasm/injective-test-tube"}]},{"group":"AI Developers","icon":"brain","expanded":false,"pages":[{"title":"AI developers","href":"/developers-ai/index"},{"title":"AI SDK","href":"/developers-ai/ai-sdk"},{"title":"Injective CLI Agent Skill","href":"/developers-ai/injective-cli-skill"},{"title":"Injective EVM Developer Agent Skill","href":"/developers-ai/injective-evm-developer-skill"},{"title":"Injective MCP Servers Skill","href":"/developers-ai/injective-mcp-servers-skill"},{"title":"Injective Trading Skills","href":"/developers-ai/injective-trading-skills"},{"title":"Injective Documentation MCP Server","href":"/developers-ai/documentation-mcp"},{"title":"Injective MCP Server","href":"/developers-ai/mcp"},{"title":"x402","href":"/developers-ai/x402"}]}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks-index"}]},{"tab":"Testnet","pages":[{"title":"Testnet","href":"/testnet"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources-index"}]}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/cn"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/developers-native/injective/permissions/01_concepts"}]},{"language":"jp","pages":[{"title":"jp","href":"/jp"}]}]},"basePath":"","title":"Key Concepts - Injective Docs","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-lceUjs6n.js","lightbox-handle-r17bVUz3.js"]}