grantRole(bytes32,address)
grantRole(bytes32,address) is a function in the AccessControl ABI (4-byte selector 0x2f2ff15d). It takes 2 parameters. Encode its calldata from typed inputs, or paste calldata to decode it.
- Selector
- 0x2f2ff15d
- Mutability
- nonpayable
Parameters
| Name | Type |
|---|---|
| role | bytes32 |
| account | address |
Example calldata
0x2f2ff15d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000