Skip to content
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

Another dev/fix feedback issues #10

Merged
merged 38 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
33ff392
feat: add route
Another-DevX Dec 8, 2023
0ca6d7c
feat: add tables
Another-DevX Dec 8, 2023
1dafe62
feat: add card
Another-DevX Dec 8, 2023
ea235e7
target title
Another-DevX Dec 8, 2023
528998c
mocked refi profile card
Another-DevX Dec 8, 2023
3ca95b3
mocked connect wallet my refi profile card
Another-DevX Dec 8, 2023
57bdcb9
feat: add nft card
Another-DevX Dec 10, 2023
6db5b71
feat: add responsive
Another-DevX Dec 10, 2023
69a3bea
feat: resolve feedback issues and clean code practices
Another-DevX Dec 15, 2023
2801761
chore: TW theme for hardcoded colors
Another-DevX Dec 15, 2023
2f1d471
chore: remove unit testing issues
Another-DevX Dec 15, 2023
8d6a0a9
chore: fix unitesting issues
Another-DevX Dec 15, 2023
44ad93e
Feat: fix all header and footer issues
Another-DevX Dec 16, 2023
3b66db8
Feat: add dark mode
simon0820s Dec 18, 2023
3570dc3
feat: add navlogo darkMode
Another-DevX Dec 20, 2023
9f1d435
fix: balancer logo mobile
Another-DevX Dec 20, 2023
f83e43e
Fix: feedback issues
Another-DevX Dec 21, 2023
37be30a
chore: adds alfajores config
fabianschu Nov 20, 2023
06b6c94
chore: add Celo logo
fabianschu Dec 12, 2023
6acfd49
chore: remove affected pools warning
fabianschu Dec 12, 2023
a6b8adb
chore: update subgraph endpoint & tokenlist source
fabianschu Dec 12, 2023
725d138
config: sor based sdk
fabianschu Dec 19, 2023
a7aa2bc
config: cusd as initial swap token
fabianschu Dec 19, 2023
c9842bb
chore: skip api
fabianschu Dec 19, 2023
2cc6dd8
chore: swap sdk dependency
fabianschu Dec 22, 2023
eda409c
fix: linting issues
fabianschu Dec 22, 2023
8b44c16
refactor: moves multicall address
fabianschu Dec 23, 2023
5af4c2b
feat: partially integration of swap weekly volume
Another-DevX Dec 28, 2023
19de444
feat: partial display of weekly balance
Another-DevX Dec 28, 2023
13c6c55
feat: optimism implementation subgraph weekly volume
Another-DevX Dec 28, 2023
c500a97
fix: multiple tx per swap
Another-DevX Dec 29, 2023
3fb8056
fix: feedback issues
Another-DevX Jan 4, 2024
4e98328
fix: spec
Another-DevX Jan 4, 2024
3455903
chore: spec
Another-DevX Jan 5, 2024
d10168a
feat: add testnet (Alfajores) prices
Another-DevX Jan 3, 2024
f4a3fce
chore. reestructure data fetching
Another-DevX Jan 3, 2024
180721f
chore: console.log
Another-DevX Jan 3, 2024
bbf94f3
chore: Remove inject prices from prices computed
Another-DevX Jan 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = {
'Please import from src/dependencies to make this dependency more testable',
},
{
group: ['@balancer-labs/sdk'],
group: ['@kolektivo-labs/sdk'],
importNames: ['PoolsFallbackRepository'],
message:
'Please import from src/dependencies to make this dependency more testable',
Expand Down Expand Up @@ -103,7 +103,7 @@ module.exports = {
'Please import from src/dependencies to make this dependency more testable',
},
{
group: ['@balancer-labs/sdk'],
group: ['@kolektivo-labs/sdk'],
importNames: ['Network'],
message:
'Please import Network from @/lib/config to avoid adding SDK to bundle',
Expand Down
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.prettier": true,
"source.fixAll.stylelint": true
"source.fixAll.eslint": "explicit",
"source.fixAll.prettier": "explicit",
"source.fixAll.stylelint": "explicit"
},
"eslint.validate": ["javascript", "javascriptreact", "vue"],
"eslint.format.enable": true,
Expand Down
190 changes: 95 additions & 95 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@
"tailwind:build": "tailwind-config-viewer export ./tailwind-static",
"tailwind:view": "tailwind-config-viewer -o",
"generate:contract-addresses": "NODE_ENV=development npx vite-node ./src/lib/scripts/contract-addresses.generator.ts",
"generate:tokenlists": "NODE_ENV=development npx vite-node --options.deps.inline=@ethersproject/basex --options.deps.inline=@ethersproject/signing-key --options.deps.inline=@balancer-labs/sdk ./src/lib/scripts/tokenlists.generator.ts",
"generate:voting-gauges": "NODE_ENV=development npx vite-node --options.deps.inline=date-fns --options.deps.inline=@ethersproject/basex --options.deps.inline=@ethersproject/signing-key --options.deps.inline=@balancer-labs/sdk ./src/lib/scripts/voting-gauge.generator.ts",
"generate:tokenlists": "NODE_ENV=development npx vite-node --options.deps.inline=@ethersproject/basex --options.deps.inline=@ethersproject/signing-key --options.deps.inline=@kolektivo-labs/sdk ./src/lib/scripts/tokenlists.generator.ts",
"generate:voting-gauges": "NODE_ENV=development npx vite-node --options.deps.inline=date-fns --options.deps.inline=@ethersproject/basex --options.deps.inline=@ethersproject/signing-key --options.deps.inline=@kolektivo-labs/sdk ./src/lib/scripts/voting-gauge.generator.ts",
"generate:api": "graphql-codegen --config codegen.yml -r dotenv/config",
"typecheck": "vue-tsc --noEmit"
},
"devDependencies": {
"@aave/protocol-js": "^4.3.0",
"@balancer-labs/assets": "github:balancer-labs/assets#master",
"@balancer-labs/sdk": "^1.1.6-beta.3",
"@balancer-labs/typechain": "^1.0.0",
"@balancer-labs/v2-deployments": "^3.2.0",
"@cowprotocol/contracts": "^1.3.1",
Expand All @@ -69,6 +68,7 @@
"@graphql-codegen/typescript-operations": "^2.2.0",
"@graphql-codegen/typescript-resolvers": "2.4.1",
"@intlify/unplugin-vue-i18n": "^0.8.1",
"@kolektivo-labs/sdk": "^0.0.1-beta",
"@layerzerolabs/scan-client": "^0.0.5",
"@metamask/detect-provider": "^1.2.0",
"@popperjs/core": "^2.9.2",
Expand Down
4 changes: 3 additions & 1 deletion src/assets/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
.font-bold,
.font-extrabold,
.font-black {
font-weight: unset;
/* What is this? */

/* font-weight: unset; */
}

th {
Expand Down
72 changes: 72 additions & 0 deletions src/assets/data/contracts/alfajores.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"AaveLinearPoolFactory": "",
"Authorizer": "0x03eCF2CCfA707aeE1E5F07E920796c62bB1fb5Bc",
"AuthorizerAdaptor": "",
"AuthorizerAdaptorEntrypoint": "",
"AuthorizerWithAdaptorValidation": "",
"BalancerHelpers": "0xCFB54b5eaFe6E71FdC569736fF626D1f83a58B19",
"BalancerQueries": "",
"BalancerRelayer": "",
"BalancerPoolDataQueries": "",
"BatchRelayerLibrary": "",
"ChainlinkRateProviderFactory": "",
"ChildChainGauge": "",
"ChildChainGaugeFactory": "",
"ChildChainGaugeRewardHelper": "",
"ChildChainGaugeTokenAdder": "",
"ChildChainLiquidityGaugeFactory": "",
"ChildChainStreamer": "",
"ChildChainGaugeWorkingBalanceHelper": "",
"ChildChainGaugeCheckpointer": "",
"CircuitBreakerLib": "",
"ComposableStablePoolFactory": "",
"DoubleEntrypointFixRelayer": "",
"ERC4626LinearPoolFactory": "",
"ExternalWeightedMath": "",
"GaugeWorkingBalanceHelper": "",
"GearboxLinearPoolFactory": "",
"InvestmentPoolFactory": "",
"L2BalancerPseudoMinter": "",
"L2LayerZeroBridgeForwarder": "",
"LiquidityBootstrappingPoolFactory": "",
"ManagedPoolAddRemoveTokenLib": "",
"ManagedPoolAmmLib": "",
"ManagedPoolFactory": "",
"MerkleOrchard": "",
"MerkleRedeem": "",
"MetaStablePoolFactory": "",
"MockAaveLendingPool": "",
"MockAaveLinearPool": "",
"MockComposableStablePool": "",
"MockERC4626LinearPool": "",
"MockLiquidityBootstrappingPool": "",
"MockERC4626Token": "",
"MockGearboxDieselToken": "",
"MockGearboxLinearPool": "",
"MockGearboxVault": "",
"MockManagedPool": "",
"MockStaticAToken": "",
"MockWeightedPool": "0x04E4BBA6BeaC4E1950a2cE8363849Ff24547fA09",
"MockYearnLinearPool": "",
"MockYearnTokenVault": "",
"NoProtocolFeeLiquidityBootstrappingPoolFactory": "",
"NullVotingEscrow": "",
"PoolRecoveryHelper": "",
"ProtocolFeePercentagesProvider": "0x73cB650e9f3CE181A684C7e28c8ee7626B448c50",
"ProtocolFeesCollector": "0x5Dd8459e1889Ec166085EF96AAf18591b1AB0B88",
"ProtocolFeesWithdrawer": "",
"ProtocolIdRegistry": "",
"QueryProcessor": "",
"RecoveryModeHelper": "",
"RewardsOnlyGauge": "",
"StablePhantomPoolFactory": "",
"StablePoolFactory": "",
"TestBalancerToken": "",
"UnbuttonAaveLinearPoolFactory": "",
"Vault": "0xf2D39dd1b3e991f23d8a61bABb1c13873640873F",
"VotingEscrowDelegationProxy": "",
"WeightedPool2TokensFactory": "",
"WeightedPoolFactory": "0x997252b17F61fFc6Ca2fDDd7fa1Cb0cdb98f202D",
"YearnLinearPoolFactory": "",
"Multicall": "0xca11bde05977b3631167028862be2a173976ca11"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/assets/images/icons/networks/alfajores.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/assets/images/icons/networks/celo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading