Coder Social home page Coder Social logo

ape-tax's People

Contributors

0xbasically avatar 0xmirim avatar 0xvaljohn avatar akshaynexus avatar ceazor avatar charlesndalton avatar decaf-addict avatar dudesahn avatar emilianobonassi avatar fameal avatar fp-crypto avatar imbaniac avatar jmonteer avatar majorfi avatar mil0xeth avatar newmickymousse avatar numan avatar poolpitako avatar saltyfacu avatar schlagonia avatar shegenerates avatar spalen0 avatar tbouder avatar therealmonoloco avatar theryanmiller avatar vasa-develop avatar wavey0x avatar wpoulin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ape-tax's Issues

Show โˆž when user has max approved want token

What is your proposal ๐Ÿš€

In VaultDetails.tsx in the Deposit Limit: section we have a condition that either shows - when the vault depositLimit is 0 or it shows the vault limit rounded to 2 decimal places.

In the specific case where a vault limit is the largest possible unsigned number (MAX_UINT_256) deposit limit of the vault is show as below, which can be improved.

RIP

We should adjust this condition to show Deposit Limit: โˆž in the case the vault returns a limit greater than or equal to MAX_UINT-256 as seen below.

maxApproval

What does this solve ? ๐Ÿ› 

Better overall user experience for this specific case

More ๐Ÿ”Ž

When you think you have the right condition you can test by declaring a variable like seen below and using it instead of the actual vaultData.depositLimit.raw value to see if you UI shows properly.

testLimit

Use web-lib version of `useWindowInFocus` hook

What is your proposal ๐Ÿš€

We have a local versions of useWindowInFocus hook but there is also an equivalent hook in web-lib.

ours: https://github.com/saltyfacu/ape-tax/blob/master/hook/useWindowInFocus.tsx
web-lib's: https://github.com/yearn/web-lib/blob/main/packages/web-lib/hooks/useWindowInFocus.tsx

Seems like we can update local imports to use web-lib instead, then remove the local hook from the repo

What does this solve ? ๐Ÿ› 

Trade off of reducing local code, but increasing dependence on web-lib. Should be fine to do this.

Separate chain config details into `wagmiChains.ts`

What is your proposal ๐Ÿš€

Currently we have a wagmiConfig.ts file (utils/wagmiConfig.ts) the file imports chain details then passes them to the configureChains() function which tells our app which chains ape tax should support.

We should follow the good example set by the big brains at SmolDapp! This can be done by separating out all the specific chain details objects into their own file probably called wagmiChains.ts then exporting them similar to what is shown here:

https://github.com/SmolDapp/smoldapp/blob/main/utils/wagmiChains.ts

What does this solve ? ๐Ÿ› 

Increases ease of reading and understanding the config file by moving chain specific details to a new file that only contains these chain specific details.

More ๐Ÿ”Ž

Make this adjustment on feat/v3-new branch please

There will be no visual change to the app since this is just a change to overall organization / structure.

FRP: Add v3 Vault support

What is your proposal ๐Ÿš€

Add support for v3 Ape.Tax test vaults

What does this solve ? ๐Ÿ› 

A clear and concise description about why this is a nice to have.

More ๐Ÿ”Ž

N/A

WFTM / ICE Joint Plugin

Description:

This strategy links https://ape.tax/fantombaby with https://ape.tax/fantomsfury
A ProviderStrategy in each vault will provided a usd fixed amount (5k usd) to a Joint contract which will provide liquidity to ICE/WFTM and farm ICE tokens. Once enough profit is made, the strategy will be liquidated and funds return.

Commit (hash): poolpitako/joint-strategy@7834b51

Tag:

Repo: https://github.com/poolpitako/joint-strategy

Scope: (List link to files)

  • Joint.sol
  • ProviderStrategy.sol

Additional References or Repo (Link to underlying protocols or relevant documents):

Deployed Contract (etherscan link):

Review Ongoing By:

Review Completed By:

Feature Request: API alchemyKey param

On the Ape API, we are using Alchemy to get our vaults data. If the requester wants to, we should provide a way to override our rate-limited key with it's custom key. This will limit third party limitation due to our cache stuff

Improve responsiveness (deploy vault button)

I noticed that our Deploy your own vault button doesn't look quite as nice on small screens.

current

I think this should be done similar to how we change the title of our home page by showing one option on larger screens, then use media queries to show another option on small screens. I've included below and idea of what I think the final result should look like.

result

Improve header responsiveness (home page)

When debugging other issues I noticed that some of our visual elements overlap on mid-sized screens. Should be an easy adjustment to media queries. Please look in the index.tsx file to find this title and make the media query adjustments.

improveResponsiveness

nvm

I figured it out

BSC MasterChef based LP pool token farming strategy

Description:

Based on the MasterChef strategy from @Grandthrax and my own mir-ust strategy, it's extending the strategy to support LP tokens that needs an additional swap, adding liquidity to the liquidity pool, and depositing back into Masterchef.
The plan is to farm pancakeswap and ramenswap.

Commit (hash): 56331e3e686b468b1ff5a3c0205e53d347d018b7

Tag:

Repo: https://github.com/steffenix/yearnv2-masterchef-LP-token-generic

Scope: (List link to files)

  • Strategy.sol

Additional References or Repo (Link to underlying protocols or relevant documents):

Deployed Contract (etherscan link):

https://github.com/Grandthrax/yearnv2-masterchef-generic
https://github.com/steffenix/yearn-strategy-mir-ust

Review Ongoing By:

  • Dev 1
  • Dev 2

Review Completed By:

  • Dev 1
  • Dev 2

Improvement: Move production vaults to their own sidebar/tab

image
Currently you can see production vaults included in the Eth tvl number, but it would be nice if this was just the sum of tvl in experimental/non-prod vaults. Maybe a fix could be to make two page views one with vaults moved to prod, one with ape vaults and have tvl on both, or just sum tvl from non-prod vaults.

Feature Request: API revalidation param

On the Ape API, the data are cached for 10 minutes.
We should add an optional param to force the revalidation when the user asks for it.
To avoid abuse on this, maybe we should build it with the requester AlchemyKey (so it's the requester usage and not "we")

BSC Ellipsis 3EPS Farming strategy

Description: This strategy stakes 3EPS in the staking pool.On harvest it gets the rewards, exits early, swaps EPS to BUSD then adds liquidity to 3EPS with single sided deposit with BUSD.

Commit (hash): a86197d2e4ec02fc57283b659dfc04b578b001af

Tag: master

Repo: https://github.com/akshaynexus/yearnv2-3poolellipsis-strat/

Scope: (List link to files)

Additional References or Repo (Link to underlying protocols or relevant documents):

Deployed Contract (etherscan link):

Review Ongoing By:

Review Completed By:

Lido vault custom UI

Live vault used to have a custom UI with more functionality. I will elaborate later. Just want to track this now.

FRP: Migrating current repo to use wagmi

What is your proposal ๐Ÿš€

Use WAGMI

What does this solve ? ๐Ÿ› 

A clear and concise description about why this is a nice to have.

More ๐Ÿ”Ž

N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.