INativeMinter
Methods
mintNativeCoin
function mintNativeCoin(address addr, uint256 amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
amount | uint256 | undefined |
readAllowList
function readAllowList(address addr) external view returns (uint256 role)
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
Returns
Name | Type | Description |
---|---|---|
role | uint256 | undefined |
setAdmin
function setAdmin(address addr) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
setEnabled
function setEnabled(address addr) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
setManager
function setManager(address addr) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
setNone
function setNone(address addr) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
addr | address | undefined |
Events
NativeCoinMinted
event NativeCoinMinted(address indexed sender, address indexed recipient, uint256 amount)
Parameters
Name | Type | Description |
---|---|---|
sender indexed | address | undefined |
recipient indexed | address | undefined |
amount | uint256 | undefined |
RoleSet
event RoleSet(uint256 indexed role, address indexed account, address indexed sender, uint256 oldRole)
Parameters
Name | Type | Description |
---|---|---|
role indexed | uint256 | undefined |
account indexed | address | undefined |
sender indexed | address | undefined |
oldRole | uint256 | undefined |