IRunnerRegistry.sol
Methods
bond(uint256)
Solidity
function bond(uint256 _amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | undefined |
bondAmount()
Solidity
function bondAmount() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
bondToken()
Solidity
function bondToken() external view returns (address)
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
isRunner(address)
Solidity
function isRunner(address _runner) external view returns (bool)
Parameters
Name | Type | Description |
---|---|---|
_runner | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
keeperRegistry()
Solidity
function keeperRegistry() external view returns (address)
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
runners(address)
Solidity
function runners(address) external view returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
_0 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
slash(address,uint256)
Solidity
function slash(address _runner, uint256 _amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_runner | address | undefined |
_amount | uint256 | undefined |
unbond(uint256)
Solidity
function unbond(uint256 _amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | undefined |
withdrawFreeCoin(uint256)
Solidity
function withdrawFreeCoin(uint256 amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 | undefined |
Events
RunnerAmountChanged
Solidity
event RunnerAmountChanged(address runner, uint256 amount)
Details
MUST be triggered when the runner amount is changed.
Parameters
Name | Type | Description |
---|---|---|
runner | address | undefined |
amount | uint256 | undefined |