livepeer / protocol

Livepeer protocol
MIT License
154 stars 45 forks source link

LIP-73: L2 ClaimableDelegatorPool #495

Closed yondonfu closed 2 years ago

yondonfu commented 2 years ago

See ClaimableDelegatorPool description in https://www.notion.so/livepeer/L2-Migration-w-Orchestrator-Migration-Delegator-L2-Claiming-7adb658c8f0d4d129096046dca2b827f

yondonfu commented 2 years ago

In https://github.com/livepeer/arbitrum-lpt-bridge/pull/30 the L2Migrator clones the delegator pool implementation to create a minimal proxy copy. However, it does not initialize the state of the contract. If we need to initialize the state of the contract (i.e. so it is aware of the total stake that it started with in order to calculate the stake/fees owed to delegators) then we'll need to update the L2Migrator to call an initialization function on the contract.