Skip to main content

RunnerRegistry.sol

Methods

bond(uint256)

Solidity

function bond(uint256 _amount) external nonpayable

Parameters

NameTypeDescription
_amountuint256undefined

bondAmount()

Solidity

function bondAmount() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

bondToken()

Solidity

function bondToken() external view returns (contract IERC20)

Returns

NameTypeDescription
_0contract IERC20undefined

freeCoin()

Solidity

function freeCoin() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

initialize(address,uint256,address)

Solidity

function initialize(address _keeperRegistry, uint256 _bondAmount, address _bondToken) external nonpayable

Parameters

NameTypeDescription
_keeperRegistryaddressundefined
_bondAmountuint256undefined
_bondTokenaddressundefined

isRunner(address)

Solidity

function isRunner(address _runner) external view returns (bool)

Parameters

NameTypeDescription
_runneraddressundefined

Returns

NameTypeDescription
_0boolundefined

keeperRegistry()

Solidity

function keeperRegistry() external view returns (contract KeeperRegistry)

Returns

NameTypeDescription
_0contract KeeperRegistryundefined

owner()

Solidity

function owner() external view returns (address)
Details

Returns the address of the current owner.

Returns

NameTypeDescription
_0addressundefined

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

NameTypeDescription
_0addressundefined

Returns

NameTypeDescription
_0uint256undefined

slash(address,uint256)

Solidity

function slash(address _runner, uint256 _amount) external nonpayable

Parameters

NameTypeDescription
_runneraddressundefined
_amountuint256undefined

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

NameTypeDescription
newOwneraddressundefined

unbond(uint256)

Solidity

function unbond(uint256 _amount) external nonpayable

Parameters

NameTypeDescription
_amountuint256undefined

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

NameTypeDescription
newImplementationaddressundefined

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

NameTypeDescription
newImplementationaddressundefined
databytesundefined

withdrawFreeCoin(uint256)

Solidity

function withdrawFreeCoin(uint256 amount) external nonpayable

Parameters

NameTypeDescription
amountuint256undefined

Events

AdminChanged

Solidity

event AdminChanged(address previousAdmin, address newAdmin)

Parameters

NameTypeDescription
previousAdminaddressundefined
newAdminaddressundefined

BeaconUpgraded

Solidity

event BeaconUpgraded(address indexed beacon)

Parameters

NameTypeDescription
beacon indexedaddressundefined

OwnershipTransferred

Solidity

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

Parameters

NameTypeDescription
previousOwner indexedaddressundefined
newOwner indexedaddressundefined

RunnerAmountChanged

Solidity

event RunnerAmountChanged(address runner, uint256 amount)

Parameters

NameTypeDescription
runneraddressundefined
amountuint256undefined

Upgraded

Solidity

event Upgraded(address indexed implementation)

Parameters

NameTypeDescription
implementation indexedaddressundefined