GithubHelp home page GithubHelp logo

frax-transfers-testing's Introduction

Testing FraxFarm Transfers

What is this?

Upgrades the Frax Finance staking contract, the Frax Farms to provide the ability to transfer staked positions that are locked up for a duration, without unlocking them. This doesn't allow for transfer between assets or help with migration from one gauge to another, but it does allow for changing ownership of those locked assets.

The Convex Finance vault changes include exposing the new logic in the FraxFarm, as well as ensuring that a receiving address is capable of handling the assets (ensure that it is another Convex Vault).

The methodology is a mashup between ERC20 & ERC721 standards to create a semi-fungible asset transfer (underlying fungible tokens, held in a non-fungible manner).

Usage

Clone repository

Install Foundry and/or update to the most recent version.

''' https://book.getfoundry.sh/getting-started/installation '''

Install dependencies

forge install

Run Tests

forge test --fork-url https://eth-mainnet.g.alchemy.com/v2/<INSERT_YOUR_ALCHEMY_KEY> -vvvv

License

MIT

frax-transfers-testing's People

Contributors

zrowgz avatar

Watchers

 avatar

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.