Skip to content

allows validators to register to be preconfers, restake insurance, and slashing bad actors

License

Notifications You must be signed in to change notification settings

eqx-labs/registry-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo

  • Add the ability to delegate stake on behalf of a validator
  • Add the ability to slash a given validators restake given a challenge
  • Remove the need to register validator collateral (Or make it optional)

Universal Registry Contract

The URC is a universal contract for…

  • anyone to register for proposer commitments
  • anyone to slash proposers that break commitments

it should…

  • be governance-free and immutable
  • be simple and maximally expressive
  • use ETH as collateral
  • not rely on any external contracts
  • minimize switching costs
  • be gas-efficient
  • be open-source

Usage

The URC is written using Foundry. To install:

curl -L https://foundry.paradigm.xyz | bash

To run the tests:

forge build
forge test

Design

See the docs for more information.

References

About

allows validators to register to be preconfers, restake insurance, and slashing bad actors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published