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;

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;

setRewardFeePercentage

function setRewardFeePercentage(uint256 _rewardFeePercentage) external onlyHordCongress;

setTolerancePercentageForRewards

function setTolerancePercentageForRewards(uint256 _tolerancePercentageForRewards) external onlyHordCongress;

setTolerancePercentageForFee

function setTolerancePercentageForFee(uint256 _tolerancePercentageForFee) external onlyHordCongress;

Last updated