Staking Configuration
This is a basic configuration contract.
Code
StakingConfiguration.sol
Address
StakingConfiguration
is deployed at 0x51B2f83aac13adB9Ed826C4cdb593C88e6B61C92
on the Ethereum mainnet.
Overview
This is a basic configuration contract. Contains all information subject to change related to ETH Staking on HORD.app.
Events
NameChanged
event NameChanged(string parameter, address newValue);
Emitted each time when name or symbol is changed.
AddressChanged
event AddressChanged(string parameter, address newValue);
Emitted each time when some address is changed.
ConfigurationChanged
event ConfigurationChanged(string parameter, uint256 newValue);
Emitted each time when some numerical value is changed.
Read-Only Functions
feeRecipient
function feeRecipient() external view returns(address);
Returns fee recipient address.
stakeETHTokenName
function stakeETHTokenName() external view returns(string memory);
Returns name of staking ETH token.
stakeETHTokenSymbol
function stakeETHTokenSymbol() external view returns(string memory);
Returns symbol of staking ETH token.
amountETHInValidator
function amountETHInValidator() external view returns(uint256);
Returns amount of ETH needed to launch a new validator.
rewardFeePercentage
function rewardFeePercentage() external view returns(uint256);
Returns percentage of reward fee.
tolerancePercentageForRewards
function tolerancePercentageForRewards() external view returns(uint256);
Returns percentage of tolerance for rewards.
tolerancePercentageForFee
function tolerancePercentageForFee() external view returns (uint256);
Returns percentage of tolerance for fee.
State-Changing Functions
setFeeRecipientAddress
function setFeeRecipientAddress(address _feeRecipient) external onlyHordCongress;
Set fee recipient address.
Emits an
AddressChanged
event.
setStakeETHTokenName
function setStakeETHTokenName(string memory _stakeETHTokenName) external onlyHordCongress;
Set name of ETH staking token.
Emits a
NameChanged
event.
setStakeETHTokenSymbol
function setStakeETHTokenSymbol(string memory _stakeETHTokenSymbol) external onlyHordCongress;
Set symbol of ETH staking token.
Emits a
NameChanged
event.
setAmountETHInValidator
function setAmountETHInValidator(uint256 _amountETHInValidator) external onlyHordCongress;
Set amount of ETH needed to launch a new validator.
Emits a
ConfigurationChanged
event.
setRewardFeePercentage
function setRewardFeePercentage(uint256 _rewardFeePercentage) external onlyHordCongress;
Set percentage of reward fee.
Emits a
ConfigurationChanged
event.
setTolerancePercentageForRewards
function setTolerancePercentageForRewards(uint256 _tolerancePercentageForRewards) external onlyHordCongress;
Set percentage of tolerance for rewards.
Emits a
ConfigurationChanged
event.
setTolerancePercentageForFee
function setTolerancePercentageForFee(uint256 _tolerancePercentageForFee) external onlyHordCongress;
Set percentage of tolerance for fee.
Emits a
ConfigurationChanged
event.
Last updated
Was this helpful?