Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

282 update readme in contacts #83

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Conversation

SamBorisov
Copy link
Contributor

Update Readme
Update example.env
Update Hardhat config

@SamBorisov SamBorisov requested a review from R-Santev November 19, 2024 09:44
@coveralls
Copy link

coveralls commented Nov 19, 2024

Pull Request Test Coverage Report for Build 11934523793

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.861%

Totals Coverage Status
Change from base Build 11833309821: 0.0%
Covered Lines: 1248
Relevant Lines: 1328

💛 - Coveralls

CHILD_RPC=
CHILD_TEST_RPC=
HYDRA_TESTNET_RPC=
HYDRA_CHAIN_RPC=

# An Etherscan API key is needed for verifying contracts on Ethereum (testnets/mainnet),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can update based on our explorer method

README.md Outdated
- The epoch increases at the begining of the last block of an epoch, which results in the following:
- If a user changes its stake (or delegation) in the last block of an epoch X, the change will be applied on its voting power (or valdiator status) at epoch X + 2, because actually he made the balance change in epoch x + 1
- The epoch increases at the beginning of the last block of an epoch, which results in the following:
- If a user changes its stake (or delegation) in the last block of an epoch X, the change will be applied on its voting power (validator uptime if he is new staker) at epoch X + 2, because actually he made the balance change in epoch x + 1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- If a user changes its stake (or delegation) in the last block of an epoch X, the change will be applied on its voting power (validator uptime if he is new staker) at epoch X + 2, because actually he made the balance change in epoch x + 1
- If a user changes its stake (or delegation) in the last block of an epoch X, the change will be applied on its voting power (or validator status) at epoch X + 2, because actually he made the balance change in epoch x + 1

README.md Outdated

Saving the values of the APR, bonuses and price of Hydra

- Macro Factor: used to multiply the base APR and adjust the APR for positions depending on the price movement between 310 days and last 115 days
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Macro Factor: used to multiply the base APR and adjust the APR for positions depending on the price movement between 310 days and last 115 days
- Macro Factor: used to multiply the base APR and adjust the APR for positions depending on the price movement between the last 310 days and 115 days

README.md Outdated
Saving the values of the APR, bonuses and price of Hydra

- Macro Factor: used to multiply the base APR and adjust the APR for positions depending on the price movement between 310 days and last 115 days
- Price: updates the price for the contracts (update is possible only thru PriceOracle) and triggers update on bonuses depending on the price change, it also can guard bonuses by changing their values to default in critical situations
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Price: updates the price for the contracts (update is possible only thru PriceOracle) and triggers update on bonuses depending on the price change, it also can guard bonuses by changing their values to default in critical situations
- Price: updates the price for the contracts (update is possible only through PriceOracle) and triggers an update on bonuses depending on the price change, it also can guard bonuses by changing their values to default in critical situations

- Liquid Delegation - handles actions within the Lydra token, including minting, burning, calculating liquidity Debts and more.
- Vested Delegation - handling vested positions (thru Managers), swapping, delegating, cutting and more.

#### HydraStaking:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move staking before delegation

README.md Outdated

#### HydraVault:

A contract that is used for keeping Dao Incentive funds and distributes them to a contract
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A contract that is used for keeping Dao Incentive funds and distributes them to a contract
A contract that is used for keeping DAO Incentive funds and distributes them to a contract

README.md Outdated

#### LiquidityToken:

An ERC20 that represent the staked/delegated Hydra, could be used for trading, while waiting for the potions to grow.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
An ERC20 that represent the staked/delegated Hydra, could be used for trading, while waiting for the potions to grow.
An ERC20 that represent the staked/delegated Hydra, could be used for trading, while waiting for the position to grow.

README.md Outdated

#### PriceOracle:

A oracle that validators vote from, agreeing on a specific price and updating it on the APR calculator.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A oracle that validators vote from, agreeing on a specific price and updating it on the APR calculator.
An oracle that validators vote from, agreeing on a specific price and updating it on the APR calculator.

@SamBorisov SamBorisov requested a review from R-Santev November 20, 2024 15:37
@SamBorisov SamBorisov merged commit a29d829 into main Nov 21, 2024
7 checks passed
@SamBorisov SamBorisov deleted the 282-update-readme-in-contacts branch November 21, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants