RunnerRegistry.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 (contract IERC20)
Returns
Name | Type | Description |
---|---|---|
_0 | contract IERC20 | undefined |
freeCoin()
Solidity
function freeCoin() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
initialize(address,uint256,address)
Solidity
function initialize(address _keeperRegistry, uint256 _bondAmount, address _bondToken) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_keeperRegistry | address | undefined |
_bondAmount | uint256 | undefined |
_bondToken | 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 (contract KeeperRegistry)
Returns
Name | Type | Description |
---|---|---|
_0 | contract KeeperRegistry | undefined |
owner()
Solidity
function owner() external view returns (address)
Details
Returns the address of the current owner.
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
renounceOwnership()
Solidity
function renounceOwnership() external nonpayable
Details
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
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 |
transferOwnership(address)
Solidity
function transferOwnership(address newOwner) external nonpayable
Details
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | undefined |
unbond(uint256)
Solidity
function unbond(uint256 _amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_amount | uint256 | undefined |
upgradeTo(address)
Solidity
function upgradeTo(address newImplementation) external nonpayable
Details
Upgrade the implementation of the proxy to newImplementation
. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.
Parameters
Name | Type | Description |
---|---|---|
newImplementation | address | undefined |
upgradeToAndCall(address,bytes)
Solidity
function upgradeToAndCall(address newImplementation, bytes data) external payable
Details
Upgrade the implementation of the proxy to newImplementation
, and subsequently execute the function call encoded in data
. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.
Parameters
Name | Type | Description |
---|---|---|
newImplementation | address | undefined |
data | bytes | undefined |
withdrawFreeCoin(uint256)
Solidity
function withdrawFreeCoin(uint256 amount) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
amount | uint256 | undefined |
Events
AdminChanged
Solidity
event AdminChanged(address previousAdmin, address newAdmin)
Parameters
Name | Type | Description |
---|---|---|
previousAdmin | address | undefined |
newAdmin | address | undefined |
BeaconUpgraded
Solidity
event BeaconUpgraded(address indexed beacon)
Parameters
Name | Type | Description |
---|---|---|
beacon indexed | address | undefined |
OwnershipTransferred
Solidity
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Parameters
Name | Type | Description |
---|---|---|
previousOwner indexed | address | undefined |
newOwner indexed | address | undefined |
RunnerAmountChanged
Solidity
event RunnerAmountChanged(address runner, uint256 amount)
Parameters
Name | Type | Description |
---|---|---|
runner | address | undefined |
amount | uint256 | undefined |
Upgraded
Solidity
event Upgraded(address indexed implementation)
Parameters
Name | Type | Description |
---|---|---|
implementation indexed | address | undefined |