Separation of depositor and ticket signer
See original GitHub issueWe should allow the account that deposits ETH to the PM contract to be different than the account that signs tickets. A depositor could specify account(s) that are allowed to sign on its behalf. See https://github.com/livepeer/LIPs/issues/13 for some benefits of this approach.
A rough sketch of what the implementation could look like:
struct Sender {
...
mapping (address => bool) signers;
}
struct Ticket {
...
address sender;
}
function isValidSenderSig(address _sender, bytes _sig, bytes32 _ticketHash) internal view returns (bool) {
// Recover signer address from _sig and _ticketHash
return senders[_sender].signers[signer];
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
The Most Common Types Of Notarizations | NNA
The purpose of an acknowledgment is to ensure that the signer of a document is who they claim to be and has voluntarily...
Read more >Explanation of Terms for Uniform Registration Forms | FINRA.org
Appropriate Signatory : Means the individual the firm authorizes to execute the applicant's Form U4 on the filing firm's behalf. The appropriate signatory ......
Read more >bank secrecy act, anti-money laundering - FDIC
If a customer first deposits the cash in a bank account, then purchases a monetary instrument(s), the transaction is still subject to this...
Read more >Separation of Duties Overview - Finance & Accounting
Separation of duties is the means by which no one person has sole control over the ... Assets include cash, tickets and passes,...
Read more >Financial Control Recommendations for Small Nonprofits
Checks should be restrictively endorsed (for example: “for deposit only, ABC organization, First National Bank, account # 123456789) immediately upon receipt.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
One other idea that isn’t fully thought through is “allowances” per signer key - much like the
approve()
method on ERC-20. The central key that manages funds could manage allowances independently of being online on many ingest machines to sign PM tickets.Closed by #265