0

i created a limit order. Then what I wanted is to give access to another address who can sign the order on behalf of me. I called the registerAllowedOrderSigner method from the proxy contract and passed the signer ADDRESS. After transaction is successful ,I validated it by calling isValidSigner function and it gave true as an output.

Then I signed the order with the signer address. After verifying the signature by calling getLimitOrderRelevantState, it returned invalid signature.

https://gist.github.com/Saty248/5533043f43a8ec29e5b168a8878212fe .

this is the link of the github gist for my code along with the output for better understanding.

0

Your Answer

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