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

Seven Sequencer Modules #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scyclow
Copy link

@scyclow scyclow commented Dec 3, 2024

Below are seven experimental sequencer modules that I've prototyped. These exist purely as thought experiments. No tests have been written, so actual functionality may be different than what is advertised. They might not even compile, for all I know.

1. KING OF THE HILL

  • The King, at any point, may choose the SequencerAddress
  • At any point, any address may claim the Kingship

2. HIGH SCORE

  • The Leader, at any point, may choose the SequencerAddress
  • Leadership is determined as follows:
    • At the start, any address may claim the Leadership for free
    • Once a Leader exists, another addres can claim the Leadership by posting
      any amount of ETH. This ETH goes to the old Leader, and the amount becomes
      the HighScore.
    • All subsequent Leadership changes require an address to post an ETH amount
      that is higher than the current HighScore

3. ULTIMATUM GAME

  • A Proposer and a Responder are chosen at instantiation
  • At any point, the Proposer may propose a SequencerAddress
  • The Responder has 1 hour to accept the proposal
  • If the proposal is not accepted within 1 hour, it may no longer be accepted,
    and my be rejected by anyone.
  • If a proposal fails, then blocks can no longer be sequenced

4. HARBERGER TAX

  • The Leader, at any point, may choose the SequencerAddress
  • The Leader must set a LeadershipPrice at which they are willing to sell the Leadership
  • At any point, another address may purchase the Leadership for that price
  • The Leader must pay a tax equal to 5% of the LeadershipPrice, annualized + paid weekly,
    to retain the Leadership.
  • All taxes go to the Treasury

5. NUCLEAR WAR

  • Nine Leaders are chosen at instantiation
  • All Leaders act as Sequencer addresses
  • At any point, a Leader can nuke another Leader, removing them from the
    Leader list.
  • Completing a nuke operation takes 12 minutes, during which time the target
    Leader can retaliate.
  • If all Leaders are eliminated, there will be no valid proposer for isAllowed,
    and no one will be able to sequence.

6. LEADER ELECTION

  • The contract is instantiated with a pool of 7 Voters
  • The Leader can choose the SequencerAddress at any time
  • At any point, a majority vote can overthrow the Leader
    • This will nullify the current SequencerAddress
    • This will trigger a new leader election, in which a majority
      vote must pick a new Leader
  • Overthrowing the Leader will nullify the SequencerAddress, so no blocks
    can be sequenced while a leader election is in progress

7. PIRATE GAME

  • The game starts with five Pirates, one of whom is the captain
  • The Captain can propose the SequencerAddress at any time
  • After a proposal, the Pirates vote
    • If a proposal does not get a majority vote, the Captain is thrown
      overboard, and the second in command becomes Captain
    • Yays have the tie breaking vote
  • Pirates can throw the Captain overboard with a majority vote at any time

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.

1 participant