Skip to main content
Version: 1.15.0

Type Alias: GrantMintRoleParams

GrantMintRoleParams = { minter: string; sender?: string; tokenAddress: string; }

Defined in: cct/evm/token/operations/grant-mint-role.ts:18

Parameters for GrantMintRole.

Properties​

minter​

minter: string

Defined in: cct/evm/token/operations/grant-mint-role.ts:22

Account receiving the mint role; must not already hold it.


sender?​

optional sender?: string

Defined in: cct/evm/token/operations/grant-mint-role.ts:24

Role admin; v1 token owner or v2 role-admin holder (normally BURN_MINT_ADMIN_ROLE); sets tx.from.


tokenAddress​

tokenAddress: string

Defined in: cct/evm/token/operations/grant-mint-role.ts:20

BurnMintERC677 v1.x or CrossChainToken v2.0.0 whose roles are being changed.