typescript-sdk

Home > @3rdweb/sdk > IRoles

IRoles interface

Roles are used to handle permissions on modules that extend ModuleWithRoles.

Signature:

export interface IRoles 

Properties

Property Type Description
admin “admin” This admin role allows the wallet to modify contract metadata and grant and revoke Roles.
lister “lister” The lister role allows the wallet to list assets on the MarketModule.
minter “minter” The minter role allows the wallet to mint new assets. (NFTs, Tokens, Packs, etc)
pauser “pauser” The pauser role allows the wallet to pause all external contract interactions.
transfer “transfer” The transfer role allows the wallet to transfer and receive assets **even** when the module is set to be non-transferrable.