starkgate-contracts icon indicating copy to clipboard operation
starkgate-contracts copied to clipboard

Make StarknetTokenBridge EIC2771 compliant

Open achab opened this issue 2 years ago • 0 comments

This PR aims at making the contract StarknetTokenBridge EIP2771 compliant:

  • by inheriting from the contract ERC2771Recipient.sol
  • by replacing msg.sender with _msgSender()
  • by adding a function to set the trusted forwarder, and another to add recipient version.

We followed this guide from Biconomy to edit the contract.

achab avatar Mar 07 '24 09:03 achab