livepeer / protocol

Livepeer protocol
MIT License
152 stars 45 forks source link

Separated concerns for orchestrator and delegator #474

Closed kautukkundan closed 3 years ago

kautukkundan commented 3 years ago

What does this pull request do? Explain your changes. (required)

Contains API changes which separates functions of orchestrators and delegators. Orchestrator functions include stake, restake, unstake etc whereas delegators can call delegate, undelegate, redelegate etc. This makes the usage of the API more intuitive for the respective users.

Specific updates (required)

How did you test each of these updates (required)

ran yarn test

Does this pull request close any open issues?

closes #471 #470 #454

Checklist:

kautukkundan commented 3 years ago

closing and splitting into 2 parts