Skip to content

Commit

Permalink
Merge pull request #141 from BreadchainCoop/feat-lp-locking
Browse files Browse the repository at this point in the history
Feat lp locking
  • Loading branch information
subject026 authored Dec 2, 2024
2 parents 4463c12 + 060f2a2 commit ec26082
Show file tree
Hide file tree
Showing 93 changed files with 5,011 additions and 2,022 deletions.
2 changes: 2 additions & 0 deletions bread.theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const colors = {
"og-dark": "#2E2E2E",
charcoal: "#242424",
darkest: "#272727",
pitchblack: "#181818",
"cta-bg": "#2c2c2c",
grey300: "#222222",
grey200: "#1c1c1c",
Expand All @@ -23,6 +24,7 @@ const colors = {
300: "#E873D3",
400: "#A416AD",
500: "#D04EC5",
600: "#F5E8F6",
},
status: {
danger: "#D8745C",
Expand Down
2 changes: 1 addition & 1 deletion contracts/script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ contract Deploy is Script {
// Distributor Config
address _bread = address(0xa555d5344f6FB6c65da19e403Cb4c1eC4a1a5Ee3);
uint256 _minRequiredVotingPower = 5;
uint256 _cycleLength = 518400;
uint256 _cycleLength = 60;
uint256 _maxPoints = 10000;
uint256 _precision = 1000000000000000000;
uint256 _yieldFixedSplitDivisor = 2;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"serve": "serve out",
"deploy": "npm install -g [email protected] && pnpm install --prod=true --frozen-lockfile && pnpm run build",
"chain:start": "anvil --fork-url https://rpc.gnosis.gateway.fm --chain-id 31337 --block-time 5",
"chain:setup": "tsx scripts/setup.ts && cd contracts && forge script script/Deploy.s.sol:Deploy --broadcast --rpc-url http://localhost:8545 --private-key 0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6 --legacy",
"chain:setup": "NODE_ENV=development tsx scripts/setupPreDeploy.ts && cd contracts && forge script script/Deploy.s.sol:Deploy --broadcast --rpc-url http://localhost:8545 --private-key 0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6 --legacy && cd .. && NODE_ENV=development tsx scripts/setupPostDeploy.ts",
"lint": "next lint",
"find-deadcode": "ts-prune | grep -v '(used in module)'"
},
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/wxdai_bread_lp_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/wxdai_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions scripts/bakeDevBread.ts

This file was deleted.

34 changes: 0 additions & 34 deletions scripts/checkYield.ts

This file was deleted.

28 changes: 0 additions & 28 deletions scripts/createCheckpoint.ts

This file was deleted.

63 changes: 0 additions & 63 deletions scripts/fundWallet.js

This file was deleted.

38 changes: 0 additions & 38 deletions scripts/getDistributions.ts

This file was deleted.

Loading

0 comments on commit ec26082

Please sign in to comment.