question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Separation of depositor and ticket signer

See original GitHub issue

We 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:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
dobcommented, Nov 26, 2018

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.

0reactions
yondonfucommented, Dec 13, 2018

Closed by #265

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found