Skip to content

Commit

Permalink
better categories
Browse files Browse the repository at this point in the history
  • Loading branch information
mejango committed Sep 20, 2024
1 parent 2c55fe8 commit 2895d02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/sphinx
Submodule sphinx updated 94 files
+1 −4 .circleci/config.yml
+24 −7 .github/workflows/docker-image.yml
+20 −12 README.md
+0 −57 docs/breaking/registration.md
+31 −38 docs/cli-existing-project.md
+15 −19 docs/cli-quickstart.md
+107 −8 ops/ci-builder/Dockerfile
+8 −0 ops/ci-builder/check-changed.sh
+1 −1 package.json
+0 −45 packages/contracts/CHANGELOG.md
+0 −1 packages/contracts/contract-artifacts/sphinx/PermissionlessRelay.sol/PermissionlessRelay.json
+0 −764,220 packages/contracts/contract-artifacts/sphinx/permissionless-relay-build-info.json
+0 −61 packages/contracts/contracts/core/PermissionlessRelay.sol
+11 −10 packages/contracts/contracts/foundry/Sphinx.sol
+8 −62 packages/contracts/contracts/foundry/SphinxConstants.sol
+3 −34 packages/contracts/contracts/foundry/SphinxPluginTypes.sol
+93 −93 packages/contracts/contracts/foundry/SphinxUtils.sol
+7 −2 packages/contracts/package.json
+3 −3 packages/contracts/scripts/write-constants.ts
+0 −30 packages/contracts/sphinx.lock
+14 −151 packages/contracts/src/addresses.ts
+15 −7 packages/contracts/src/contract-info.ts
+3 −4 packages/contracts/src/ifaces.ts
+14 −334 packages/contracts/src/networks.ts
+22 −0 packages/contracts/src/utils.ts
+1 −1 packages/contracts/src/version.ts
+1 −1 packages/contracts/test/ManagedService.t.sol
+15 −9 packages/contracts/test/ScriptConfiguration.t.sol
+13 −7 packages/contracts/test/Sphinx.t.sol
+4 −3 packages/contracts/test/SphinxInitCode.sol
+7 −8 packages/contracts/test/SphinxTestUtils.sol
+4 −5 packages/contracts/test/SphinxUtils.t.sol
+21 −0 packages/contracts/test/issues/CHU572.s.sol
+4 −1 packages/contracts/test/issues/CHU663.s.sol
+23 −0 packages/contracts/test/issues/CHU663/CHU663.s.sol
+0 −38 packages/contracts/test/mocha/address.spec.ts
+35 −0 packages/contracts/test/mocha/utils.spec.ts
+0 −79 packages/core/CHANGELOG.md
+7 −0 packages/core/config/local.ts
+14 −0 packages/core/config/standard.ts
+44 −67 packages/core/hardhat.config.ts
+3 −3 packages/core/package.json
+18 −19 packages/core/src/actions/execute.ts
+9 −3 packages/core/src/actions/types.ts
+7 −6 packages/core/src/artifacts.ts
+5 −8 packages/core/src/config/types.ts
+4 −0 packages/core/src/constants.ts
+1 −11 packages/core/src/etherscan.ts
+174 −2 packages/core/src/languages/solidity/predeploys.ts
+1 −2 packages/core/src/languages/solidity/types.ts
+0 −25 packages/core/src/networks.ts
+0 −18 packages/core/src/types.ts
+96 −60 packages/core/src/utils.ts
+7 −17 packages/core/test/convert.spec.ts
+0 −22 packages/demo/CHANGELOG.md
+5 −5 packages/demo/package.json
+0 −18 packages/demo/sphinx.lock
+2 −2 packages/demo/test/Solc.spec.ts
+16 −22 packages/demo/test/init.spec.ts
+0 −95 packages/plugins/CHANGELOG.md
+5 −1 packages/plugins/contracts/test/script/Cases.s.sol
+4 −0 packages/plugins/contracts/test/script/Empty.s.sol
+5 −1 packages/plugins/contracts/test/script/Large.s.sol
+5 −1 packages/plugins/contracts/test/script/PartiallyEmpty.s.sol
+5 −1 packages/plugins/contracts/test/script/RevertDuringSimulation.s.sol
+15 −3 packages/plugins/contracts/test/script/Simple.s.sol
+4 −1 packages/plugins/contracts/test/script/issues/CHU676.s.sol
+0 −4 packages/plugins/foundry.toml
+7 −7 packages/plugins/package.json
+7 −3 packages/plugins/script/Sample.s.sol
+0 −12 packages/plugins/script/write-version.ts
+0 −18 packages/plugins/sphinx.lock
+4 −0 packages/plugins/src/cli/context.ts
+3 −0 packages/plugins/src/cli/deploy.ts
+20 −11 packages/plugins/src/cli/propose/index.ts
+5 −30 packages/plugins/src/cli/setup.ts
+8 −0 packages/plugins/src/cli/types.ts
+0 −1 packages/plugins/src/cli/version.ts
+4 −1 packages/plugins/src/foundry/decode.ts
+149 −37 packages/plugins/src/foundry/utils/index.ts
+48 −0 packages/plugins/src/hardhat.config.js
+71 −0 packages/plugins/src/hardhat/hardhatRunner.ts
+618 −0 packages/plugins/src/hardhat/simulate.ts
+1 −0 packages/plugins/src/index.ts
+8 −6 packages/plugins/src/sample-project/index.ts
+11 −4 packages/plugins/src/sample-project/sample-contracts.ts
+1 −2 packages/plugins/src/sample-project/sample-foundry-config.ts
+2 −5 packages/plugins/test/mocha/artifacts.spec.ts
+52 −2 packages/plugins/test/mocha/cli/deploy.spec.ts
+335 −12 packages/plugins/test/mocha/cli/propose.spec.ts
+135 −4 packages/plugins/test/mocha/common.ts
+152 −42 packages/plugins/test/mocha/foundry/utils.spec.ts
+11 −0 packages/plugins/test/mocha/mock.ts
+437 −0 packages/plugins/test/mocha/simulate.spec.ts
10 changes: 5 additions & 5 deletions script/ConfigureFeeProject.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -271,35 +271,35 @@ contract ConfigureFeeProjectScript is Script, Sphinx {
// The project's allowed croptop posts.
REVCroptopAllowedPost[] memory allowedPosts = new REVCroptopAllowedPost[](5);
allowedPosts[0] = REVCroptopAllowedPost({
category: 100,
category: 0,
minimumPrice: uint104(10 ** (DECIMALS - 5)),
minimumTotalSupply: 10_000,
maximumTotalSupply: 999_999_999,
allowedAddresses: new address[](0)
});
allowedPosts[1] = REVCroptopAllowedPost({
category: 100,
category: 1,
minimumPrice: uint104(10 ** (DECIMALS - 3)),
minimumTotalSupply: 10_000,
maximumTotalSupply: 999_999_999,
allowedAddresses: new address[](0)
});
allowedPosts[2] = REVCroptopAllowedPost({
category: 101,
category: 2,
minimumPrice: uint104(10 ** (DECIMALS - 1)),
minimumTotalSupply: 100,
maximumTotalSupply: 999_999_999,
allowedAddresses: new address[](0)
});
allowedPosts[3] = REVCroptopAllowedPost({
category: 102,
category: 3,
minimumPrice: uint104(10 ** DECIMALS),
minimumTotalSupply: 10,
maximumTotalSupply: 999_999_999,
allowedAddresses: new address[](0)
});
allowedPosts[4] = REVCroptopAllowedPost({
category: 103,
category: 4,
minimumPrice: uint104(10 ** (DECIMALS + 2)),
minimumTotalSupply: 10,
maximumTotalSupply: 999_999_999,
Expand Down

0 comments on commit 2895d02

Please sign in to comment.