Skip to content
Bette edited this page Nov 11, 2019 · 12 revisions

Introduction

This wiki guide is aimed for developers, if you can't find what you are looking for here, please email us or DM us on Twitter @LaminarProtocol, we look forward to helping you build on top of the Laminar Flow protocols. We appreciate all your questions to help us improve.

Deployed Networks

We will continue to develop and improve the protocols, and new contracts would be deployed as we progress. You can always find the latest deployment here.

Kovan

Contracts Address ABI
fEUR (Flow Token) 0x99D46D56b4f17BeFbE95673161aBDa45a0c29bf8 JSON
fJPY (Flow Token) 0xEAc94CCD74EFa1ED1578fF8276A96066b788c3A7 JSON
fXAU (Flow Token) 0xeD476b30f8296626051A3b5d5fA2A83CdC2B36eD JSON
fAAPL (Flow Token) 0x9A442a19b2168CdBED51BD3dbDECe1e9FA5E6d7E JSON
l10USDEUR as Long 10x EURUSD (MarginTradingPair) 0xf2E9Cdf8E75870bf8D804d0DF03f1D524aa9978E JSON
s10USDEUR as Short 10x EURUSD (MarginTradingPair) 0x3934dc02b0AB5F1fcEe6d0a4C64D3a50EC8e6B3F JSON
l20USDJPY as Long 20x JPYUSD (MarginTradingPair) 0x125b050ba02790181B6424CF7B65c80E1ec8D1f1 JSON
s20USDJPY as Short 20x JPYUSD (MarginTradingPair) 0xbC6195AdA20Db07CeB55d7E853AbB876B4D0AFe2 JSON
l20USDXAU as Long 20x USD Gold (MarginTradingPair) 0x9e7223dC81D532FbA103b9D62c4f0946592B408B JSON
s20USDXAU as Short 20x USD Gold (MarginTradingPair) 0x2C3F4d7bdB4b14b4840F65fFAc5aaDb9cff51628 JSON
l5USDAPPL as Long 5x USD Apple Stock (MarginTradingPair) 0x67891828e4406b84e81e9B0af35Ea2A1a411D7bF JSON
s5USDAPPL as Short 5x USD Apple Stock (MarginTradingPair) 0xb390CD29EA45066E06623480D1b235f50E6618c8 JSON
Flow Synthetic Asset Protocol 0x117A85ebadBd933b576c6c2cfc6B160E380BC13d JSON
Flow Margin Protocol 0x813fE903Ff23481F078fe9784d41a54E2F689f9B JSON
Liquidity Pool 1 0x8b205c597602ebf442857D4714d996B343fFa20c JSON
Liquidity Pool 2 0x6582204488d330ffAf464592179936EA1E8A3c1f JSON
Price Oracle 0x0629674131B06d9e6ea39E7B548E471081702EdF JSON
Money Market 0xd14C27C500f10038821bDf5cEE32314bFc41F60B JSON
iUSD (iToken) 0xC33826CB3E21a4916B5Aa8cD3bB1e7cEc3588e1C
Dependent Contracts Address
DAI 0xbF7A7169562078c96f0eC1A8aFD6aE50f12e5A99
cDAI 0x0a1e4d0b5c71b955c0a5993023fc48ba6e380496

Gas Estimates

While gas costs of the protocol function calls may fluctuate based on network usage and cost of external calls could be arbitrary, we provide the ballpark estimates per below as guideline.

[TODO]

Function Estimate
Mint fToken
Redeem fToken
Liquidate
Deposit fToken
Withdraw fToken
Open margin position
Close margin position