IStakingAdmin
Source: https://github.com/tangle-network/tnt-core/blob/main/src/interfaces/IStaking.sol
IStakingAdmin
Admin functions for staking implementations
Separated to keep main interface clean
Functions
addSlasher
function addSlasher(address slasher) externalAdd an authorized slasher
Parameters
| Name | Type | Description |
|---|---|---|
| slasher | address | Address to authorize |
removeSlasher
function removeSlasher(address slasher) externalRemove an authorized slasher
Parameters
| Name | Type | Description |
|---|---|---|
| slasher | address | Address to remove |
setMinOperatorStake
function setMinOperatorStake(uint256 amount) externalUpdate minimum operator stake
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 | New minimum |