Skip to content
Bette edited this page Nov 7, 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

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) 0x6e06FBcaF572af21446D660aE83C9292287B4159 JSON
s10USDEUR as Short 10x EURUSD (MarginTradingPair) 0xC56C23805d9a7099A40445ABE419E5366643892f JSON
l20USDJPY as Long 20x JPYUSD (MarginTradingPair) 0x660670D506F91B034df9D4006cde2b1CD5A88706 JSON
s20USDJPY as Short 20x JPYUSD (MarginTradingPair) 0x39445Cc1Dd2bC01E25b4652D8F935070bDFfEa34 JSON
l20USDXAU as Long 20x USD Gold (MarginTradingPair) 0xC224Ff9d54fED1146bC20001cCBb156CdA6d68E7 JSON
s20USDXAU as Short 20x USD Gold (MarginTradingPair) 0x8d524F06ad1a3b9E4d5A4988597Da6d1626F5610 JSON
l5USDAPPL as Long 5x USD Apple Stock (MarginTradingPair) 0xc95f797F94d8Bb81133802823c46FBeC77b2c537 JSON
s5USDAPPL as Short 5x USD Apple Stock (MarginTradingPair) 0x573174823A2400f1b9f27f6904DD69e3B07658e9 JSON
Flow Synthetic Asset Protocol 0x117A85ebadBd933b576c6c2cfc6B160E380BC13d JSON
Flow Margin Protocol 0x17DC5c9C445f5B90F968E80197BCDF57AA15669c 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
Clone this wiki locally