webb-tools / relayer

🕸️ The Webb Relayer Network

Home Page:https://webb-tools.github.io/relayer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[TASK] Batch Deposit Relaying: Event Listener

akileshtangella opened this issue · comments

  • Event listener for the batched deposit queue.
    • Create autogen code in Rust for proxy contract in webb-rs repo. Add code to build.rs.
    • Create an event listener for MASP proxy. Leverage code from other event listeners.
    • Create an event handler that on a newly queued deposit, check if number of queued deposits mod 4 is 0 (otherwise continue.
    • If it is, create a batch update proof and submit it back to proxy.