Code Monkey home page Code Monkey logo

spiritswap-contract's Introduction

SpiritV2Contracts

Variable Gauge Proxy

Protocol LP address Gauge address Bribe address
BIFI-FTM vLP 0xE72077036E01FD50B39c521cf5Af7200C611fAa5 0x0dC81C6440f4Ace2606AD13Fcf2B33A462A0f04A 0x3c6B6E7430BA2511257d8d6E58EdCc32104D546d
BTC-FTM vLP 0xBAa9fCE81A12BD2aeF29aEA6B7047DAcfa20f96E 0x20c993fb64c536a67bA7fFE199cf7067d1103548 0xC07fc20F817FafD47461A6D8738Ad81a39E3ADbf
FRAX-FTM vLP 0x2cFc5f833299FeFD7744358CfEdfa8ca1320dC3f 0x2656F0B597e896BEEe0315ceCF81Bc4216296206 0x9A00113Bdd785492Aa82630980000192A288caBe
ETH-FTM vLP 0xf97EeEcCd070ceEcA8d0Dd80Fc78CC15Dd66b0E5 0x32472A7C49E66ee53d98C54e55886c44885c4cb9 0x6cF0E2a62Aaef5543757B1D4C3D62C32AA4E8847
MIM-FTM vLP 0xA2B529d9Ea1a3DDea837aF19Fea3a45a3b304b8F 0x3D2a59d742Db51D15c6d4618aB94565af877F99D 0x520ce8A5071CB57A801A4E9F1726C6D7ee621457
USDT-FTM vLP 0x842C44870eD021f070938D077ca2Cf2DC474eCa6 0x401EA5e5aAD28E7d4d21620308521165bb9ef4B9 0x526d965eC381f01657A20599e441c87eA4B6636f
COMB-FTM vLP 0x244af40a992B256A54891d9676B1D29Be46b1449 0x9aF9Bf69841D1335950527d82cAfe1b51851632C 0x044f8B486860ECa8BFAEDf71DA497B09Ba5D93CA
LQDR-FTM vLP 0xE42Bb367c958e0E624C164f2491c37d8Fd713515 0xA0A102f7bee1b53fCbf4Ad7c5A0Ba32f3356E3f4 0x4666DCDcf63cdB30995FF92515f5AF54F2b26ea9
FXS-FTM vLP 0x6c6359C598A1653b3A46BA80D44Edc7225B8A18B 0xAAE52F19863B5bf62488bCE901F7aADde604aB58 0x044f8B486860ECa8BFAEDf71DA497B09Ba5D93CA
DAI-FTM vLP 0x1c8dd14e77C20eB712Dc30bBf687a282CFf904a2 0xb197d4e08B8b811Cea42A7918CA4CD5566747737 0xa6aDC286EB6732823F5e4Abc69C4841F7505f4a4
TAROT-FTM vLP 0x2Af5fFE6B448f3D2F73c6b6a6Fe5E678b5720FB1 0xbbb4259c3344109bA2F6E8B773Ce7e65D5eaF4D0 0xEEb30f5E54Cba21cd952BE7b4801A8a7550f8f5A
RING-FTM vLP 0xa93F0839709cfC6e3EdE268a7f8c09cB8aAe686f 0xef89CbD4F05611d79945A7aDE8E2638CCf3FE75A 0x8902C015D94F307A88818180EAf7Bb8a6653CC0E
CRE8R-FTM vLP 0x15bd6dD84153c5cA140b36AFa96Ebbb53b4c0BDB 0xf6481024a9E8B02dCB0DAb05F7167aED86e4ce20 0x4641E28ae48c18DB9024BB4D5090D09D0A6189F1

Stable Gauge Proxy

Protocol LP address Gauge address Bribe address
FRAX-USDC sLP 0x55167b5917A47EEafE2b1afEd12Bcb3Aaab54255 0x18E3cADa3Aab8eAb2Ea207f9C71734c428381Cfe 0x025cB1DaB5a9f621e11ac5a9323e09222C86d0ae
BUSD-USDC sLP 0xAfEcf681a8f3FB8D78581874339Bfca6252d62C4 0x668551Bc932f16F8dC2F3d160A99E1EDa411340e 0xcc0A5614edc9Df4Cbc965E7827c477676b913DBc
sFTMX-FTM sLP 0xDeBC5451640C57Ff96af47589F55C98E9e7bC0DF 0x7E0E57411d9769e1e8e054B42Fb33c9104552bCd 0x8694275962208f9295Ffec5183307e75D959C8b2
DAI-USDC sLP 0x9692129bb91b4E3942C0f17B0bdCC582Ff22fFB5 0x8B8C47f904BF18541f93c7dFcb10F3A8451438a3 0xe7848641054C04484571Eae33d4BC7241Fe3D387
USDT-USDC sLP 0x40DEa26Dd3a0d549dC5Ecd4522045e8AD02f83FB 0x9ad5E3Fcc5a65D3675139e50C7a20E6f30Fd80A0 0x968851D8C805dfFFB29b4411b475BF3C1cD522c7
MIM-USDC sLP 0x364705F8D0744230f39BC176e0270d90dbc72E50 0x9F0FeB56184f28043f8159af4238cE179D97cBA5 0xEB4C455cDF66c273Db945a5602Ab6C9810fE43ca
MAI-USDC sLP 0x4226525Ee9B07E8d27D4F2619044af2576A43511 0xB95D33360fe97fC343753Ab809463BAEE30f94F8 0xF29B147f79804beBcd36800dF4229b38fF14d33d
alUSD-USDC sLP 0x6EAFdEa1EB68dcf716cF1944b8165Ad8b05677D2 0xFf9fa8fAdea3FFcDe8D8de41d1A365644A0aD7d2 0x51b56f608AC635Ea6922600A4f00fc4EB20872f8

Admin Gauge Proxy

Protocol LP address Gauge address
SPIRIT-FTM vLP 0x912B333dDaFC925f63C9746E5115A2CD5290b59e 0x87Cae38ECb34FF4D3239A789F7709f285484F7e1
USDC-FTM vLP 0x772bC1196C357F6E9c80e1cc342e29B3a5F05ef3 0x6E149F7687d4c8077D4E57d1DBC5f923a06395c2
linSPIRIT-SPIRIT sLP 0x2622200B33a9BF80960FEdB2D7958978e27014cc 0xc0b4F2fC45CE5d13B0DE597532068Dd5d0f88A46
binSPIRIT-SPIRIT vLP 0x73240EC27CB4F40E25658395335896059A1961d0 0x1601306F13CDbaDa607FD7dCDe79ad2cDab60289
sinSPIRIT-SPIRIT vLP 0xB6a2E057Ed1558a1c3904aa51d07265C5ead95A8 0x41E57160673a9d1BedfCdE9341B53A61737Cd47E
rainSPIRIT-SPIRIT vLP 0x697a0DD08D5128533b42E55D4CAFc64a7d2c5c07 0x1B9b04f6a975629E17cE4e2D8088677fAE6Cc5ac
tinSPIRIT-SPIRIT sLP 0xA9Bb4Dd8F3104929E4fcf5Ba1fEC3a61AFdfC04f 0x18D6d67FDAf5ce413Bd094E1b1FF2D2066467DBF

Steps to setup the repo:

  1. yarn init --yes
  2. yarn add hardhat
  3. mkdir contractsV2
  4. cd contractsV2
  5. yarn hardhat

This will create a hardhat project structure with default configs etc.

Once you write your smart contracts, you can proceed to test them following these steps:

  1. npx hardhat compile
  2. npx hardhat test

Some helpers: Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

spiritswap-contract's People

Contributors

acrylicfiddle avatar polepie avatar layer3fund avatar

Stargazers

 avatar 0xhaz avatar  avatar Cioclea Doru Octavian avatar Frank Wei avatar Fiona Lai avatar GQ Highroller Collection avatar Hyqal AZF avatar Pete Duhon avatar  avatar  avatar Chris iWolf avatar Tumelo Mapheto avatar Theequalizer avatar Charlike Mike Reagent avatar  avatar Oort Cloud avatar Guenit avatar  avatar fyezool avatar  avatar kaz avatar Deft avatar  avatar David_Yu avatar  avatar

Watchers

James Cloos avatar Robert Neir avatar Theequalizer avatar

spiritswap-contract's Issues

Gas issues when calling an LP contarct

When trying to add LP tokens to the dai-spirit pool, i get constant over miscalculations in the gas, such as:

Screenshot from 2021-06-20 11-36-18

Hence im not able to add any lp tokens for days. I reported the bug on discord. no one can help there, alas

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.