In order to create Roles Module permissions for Cowswap orders, we need a contract to pass in order data and sign the deterministic order id.
Address: 0x23dA9AdE38E4477b23770DeD512fD37b12381FAB
Clone repo, run yarn
, run yarn deploy {network-name}
(networks defined in ./hardhat.config.ts
)
In the repo, run npx hardhat node
to fork mainnet, then in another tab run yarn test --network localhost