1

Is there any way to tell what the callback address will be from a proof?

I want to monitor all fulfill request transactions in the pending pool which are being generated where the callback is a specific contract, so I need to somehow recover the callback contract from the proof in the transaction input.

1
  • Could you provide more details? Code examples, screenshots, etc. Your question is not that clear. Aug 27, 2022 at 0:52

1 Answer 1

0

You can't get that info from the proof itself, this is what the proof looks like:

  struct Proof {
    uint256[2] pk;
    uint256[2] gamma;
    uint256 c;
    uint256 s;
    uint256 seed;
    address uWitness;
    uint256[2] cGammaWitness;
    uint256[2] sHashWitness;
    uint256 zInv;
  }

You will need to create an off-chain script to monitor particular events from particular contracts to do this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.