Closed yondonfu closed 2 years ago
Support funding deposit and reserve for a specified address.
At the moment, calling fundDepositAndReserve() will pull ETH from msg.sender and credit it to msg.sender in the TicketBroker.
fundDepositAndReserve()
We can add fundDepositAndReserveFor() which accepts an owner address and it will pull ETH from msg.sender and credit to owner in the TicketBroker.
fundDepositAndReserveFor()
owner
This is required for the finalizeMigrateSender() logic in https://github.com/livepeer/arbitrum-lpt-bridge/pull/30 which is used to migrate a deposit and reserve from L1 to L2.
finalizeMigrateSender()
Should go to confluence branch.
confluence
Closed by #510
Support funding deposit and reserve for a specified address.
At the moment, calling
fundDepositAndReserve()
will pull ETH from msg.sender and credit it to msg.sender in the TicketBroker.We can add
fundDepositAndReserveFor()
which accepts anowner
address and it will pull ETH from msg.sender and credit toowner
in the TicketBroker.This is required for the
finalizeMigrateSender()
logic in https://github.com/livepeer/arbitrum-lpt-bridge/pull/30 which is used to migrate a deposit and reserve from L1 to L2.Should go to
confluence
branch.