-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testnet Competition Code Changes (#1817)
* switch to have payable functions with autofix * stuff builds, but lint is probably failing * fix linting issues * fix solhint plugin payable's resolution * last lint fix pass * fix failure in core-contracts * fix election module build failure * fix tests * ERC functions should not be affected by our decisions * enable basic features on perps market createAccount is protected by feature flag * fix compile errors * add multicall module to spot market cannonfile * revert ownable module to avoid proxy redeployment * add amount to collateral price * change name to size * preset * remove price deviation * change update fee * Trusted Multicall Forwarder (#1827) * add trusted forwarder * update context and change linter * remove payables * add new solhint * successful build * test fixes * missing imports * test fix * test fix * lint fix * spot and perps markets do not need to include trusted forwarder provision * remove amount from external func * use amount instead of 1 * Change getPositionCollateral to only return amount. - The lets users get a position's collateral amount without having to do a price update due to ERC7412 * comments * remove payable from multicall in multicallmodule --------- Co-authored-by: Daniel Beal <[email protected]> Co-authored-by: Sunny Vempati <[email protected]> Co-authored-by: joey <[email protected]>
- Loading branch information
1 parent
b51ef06
commit 2651949
Showing
124 changed files
with
670 additions
and
721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
*.dump.sol | ||
\*.dump.sol | ||
artifacts/ | ||
node_modules/ | ||
**/contracts/generated | ||
**/contracts/routers | ||
**/typechain-types | ||
utils/core-contracts/contracts/utils/SafeCast | ||
\*\*/typechain-types | ||
utils/core-contracts/contracts/utils/SafeCast | ||
|
||
# files that we cannot change due to immutable proxies | ||
|
||
\*\*/contracts/Proxy.sol | ||
utils/core-modules/contracts/modules/UpgradeModule.sol | ||
utils/core-contracts/contracts/ownership/Ownable.sol | ||
utils/core-contracts/contracts/ownership/OwnableStorage.sol |
Binary file added
BIN
+1.83 KB
.yarn/cache/solhint-plugin-meta-transactions-npm-0.1.0-20d71423f9-85d24640cc.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.