Coder Social home page Coder Social logo

2022-01-timeswap's Introduction

Timeswap contest details

Contracts

Name LOC External Contracts Called Libraries
Timeswap-V1-Core/TimeswapPair.sol 378 2 10
Timeswap-V1-Core/TimeswapFactory.sol 75 1 0
Timeswap-V1-Convenience/TimeswapConvenience.sol 567 0 8
Timeswap-V1-Convenience/Liquidity.sol 70 0 2
Timeswap-V1-Convenience/Bond.sol 69 0 2
Timeswap-V1-Convenience/Insurance.sol 71 0 2
Timeswap-V1-Convenience/CollateralizedDebt.sol 95 0 3

Describe any novel or unique curve logic or mathematical models implemented in the contracts

The protocol does not use an oracle for collateral factor calculation. Instead, it utilizes a xyz=k constant product algorithm to discover both interest rate and collateral factor. x and y determines interest rate, while x and z determines collateral factor. Whenever the ratio of x, y, and z are not up to market rate, then it means it is a favorable price for a lender or borrower.

Does the token conform to the ERC-20 standard? In what specific ways does it differ?

The Bond ERC20, Insurance ERC20, Liquidity ERC20, and Collateralized Debt ERC721 in the Convenience repo follows the token standard. The key difference they have is that they don’t store total supply in the contract, instead the respective claims (bond and insurance), dues, and liquidity balanceOf of those ERC20 and ERC721 contracts are the total supply.

Timeswap Whitepaper

Timeswap V1 Core Product Specification

Timeswap V1 Convenience Product Specification

Timeswap Gitbook Documentation

Code Walkthrough

2022-01-timeswap's People

Contributors

emmanuelantony2000 avatar itsmetechjay avatar vhawk19 avatar

Watchers

 avatar  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.