-
Notifications
You must be signed in to change notification settings - Fork 0
Luizhatem/poc offline mode #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
[wip]: still missing the integration with the frontend;
…the order, it's missing the price estimative from the driver;
wip: Clear the mess;
refactor: joining the poc-offline-mode/src with poc-offline-mode/contracts/src
…t to the autogenerated inside the poc-offline-mode folder;
...fline-mode/contracts/out-cow-protocol/AllowListStorageReader.sol/AllowListStorageReader.json
Outdated
Show resolved
Hide resolved
| pragma solidity ^0.8.17; | ||
|
|
||
| IVault constant VAULT = IVault(0xBA12222222228d8Ba445958a75a0704d566BF2C8); | ||
|
|
||
| /// @title CoW protocol settlement contract interface | ||
| interface IVault { | ||
| function hasApprovedRelayer(address user, address relayer) external view returns (bool); | ||
| function getInternalBalance(address user, address[] calldata tokens) external view returns (uint256[] memory); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't easier to import this from a submodule?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This interface was create for the mock of the GPv2TradeSimulator, so we will not be able to import it for now, but I will fix this in the COW-566
…wap-v2 build output into .gitignore;
…ing the files to configs/offline; fix: fixing the python sign_order.py script;
…, now it will keep it's size after deployment);
Description
Creation of the PoC for the Cowswap offline mode;
Changes
How to test
docker-compose -f docker-compose.offline.yml up -d-->