{"version":1,"pages":[{"id":"3epdOEyzCF2MDaAf0fOe","title":"Introduction ","pathname":"/","siteSpaceId":"sitesp_QlVNW","description":"High level overview of the Marginly protocol."},{"id":"YeasFXZnCHXYlYPZ8bIj","title":"How to","pathname":"/app/how-to","siteSpaceId":"sitesp_QlVNW","description":"Find out how to use Marginly app","breadcrumbs":[{"label":"App"}]},{"id":"smZnzy7YUYmCKjudmrBI","title":"Connect a wallet","pathname":"/app/how-to/connect-a-wallet","siteSpaceId":"sitesp_QlVNW","description":"Learn how to connect a wallet to Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"LG1vLx3ilS6g3bnVqohk","title":"Swap","pathname":"/app/how-to/swap","siteSpaceId":"sitesp_QlVNW","description":"Learn how to swap assets in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"67VrZwkH1Q4PoiDdLjE8","title":"Approve Spending","pathname":"/app/how-to/approve-spending","siteSpaceId":"sitesp_QlVNW","description":"Learn how to approve spending in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"CR7vrd54q7de3kaEanCZ","title":"Open a Long Position","pathname":"/app/how-to/open-a-long-position","siteSpaceId":"sitesp_QlVNW","description":"Learn how to open a long position in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"2R8ZJPKf53DCF6jsLwC4","title":"Open a Short Position","pathname":"/app/how-to/open-a-short-position","siteSpaceId":"sitesp_QlVNW","description":"Learn how to open a short position in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"jmPpaLmSqk8NP9Kuuxri","title":"Withdraw Funds","pathname":"/app/how-to/withdraw-funds","siteSpaceId":"sitesp_QlVNW","description":"Learn how to withdraw funds from an open position in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"8f7hoGEkf3hZtPmU1qAz","title":"Add Funds","pathname":"/app/how-to/add-funds","siteSpaceId":"sitesp_QlVNW","description":"Learn how to add funds to an open position in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"qy9uaRHAXRWGZ9e7g3G4","title":"Close Position","pathname":"/app/how-to/close-position","siteSpaceId":"sitesp_QlVNW","description":"Learn how to close a position in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"QdmK65kkT8gOOXBiXDfL","title":"Increase Leverage","pathname":"/app/how-to/increase-leverage","siteSpaceId":"sitesp_QlVNW","description":"Learn how to increase position leverage in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"ZMOaoUMJ6SUxIj8a5R9M","title":"Pay Off Debt","pathname":"/app/how-to/pay-off-debt","siteSpaceId":"sitesp_QlVNW","description":"Learn how to pay off debts in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"K1xxN5AvbaRP6FCuvvJC","title":"Deposit Liquidity","pathname":"/app/how-to/deposit-liquidity","siteSpaceId":"sitesp_QlVNW","description":"Learn how to provide liquidity to a pool in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"kGTyi49yctASqb199TxK","title":"Withdraw Liquidity","pathname":"/app/how-to/withdraw-liquidity","siteSpaceId":"sitesp_QlVNW","description":"Learn how to take liquidity out of a pool in Marginly","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"jLhlCOIrrGLFLx0VBIYI","title":"Add Liquidity","pathname":"/app/how-to/add-liquidity","siteSpaceId":"sitesp_QlVNW","description":"Learn how to increase a position in a liquidity pool","breadcrumbs":[{"label":"App"},{"label":"How to"}]},{"id":"8HoJWSrTCrSwfXPNwcYS","title":"Smart contract addresses","pathname":"/app/smart-contract-addresses","siteSpaceId":"sitesp_QlVNW","description":"Contains addresses for every blockchain Marginly is deployed on","breadcrumbs":[{"label":"App"}]},{"id":"Scns5n0Q7Qw5ZvqKTEVp","title":"Arbitrum","pathname":"/app/smart-contract-addresses/arbitrum","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"App"},{"label":"Smart contract addresses"}]},{"id":"X1xVni9GpZyCg0kd7Fth","title":"Blast","pathname":"/app/smart-contract-addresses/blast","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"App"},{"label":"Smart contract addresses"}]},{"id":"GqrkDgzQ1pBpLSmn8k2I","title":"FAQ","pathname":"/app/faq","siteSpaceId":"sitesp_QlVNW","description":"Some of the most frequently asked questions are answered here","breadcrumbs":[{"label":"App"}]},{"id":"XcR24f1TrMjxJoYgUwtd","title":"Providing Liquidity","pathname":"/protocol-mechanics/providing-liquidity","siteSpaceId":"sitesp_QlVNW","description":"This page describes how users put liquidity into Marginly pools.","breadcrumbs":[{"label":"Protocol mechanics"}]},{"id":"R8CU3jLrnaiyUT1ETuic","title":"Trading","pathname":"/protocol-mechanics/trading","siteSpaceId":"sitesp_QlVNW","description":"this page describes leveraged trading mechanics inside marginly protocol.","breadcrumbs":[{"label":"Protocol mechanics"}]},{"id":"sApHpWKUFfrc2glvjjTx","title":"Marginly MAX leverage specifics","pathname":"/protocol-mechanics/marginly-max-leverage-specifics","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Protocol mechanics"}]},{"id":"7CFtnHhve90Jt23ETzTc","title":"Overview","pathname":"/protocol-architecture/overview","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Protocol architecture"}]},{"id":"OJmrPni0FptX6Pkjfn7Q","title":"Pools","pathname":"/protocol-architecture/pools","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Protocol architecture"}]},{"id":"PUE3ARlFaDk65NaZwMuc","title":"Pool variables","pathname":"/protocol-architecture/pools/pool-variables","siteSpaceId":"sitesp_QlVNW","description":"These are the variables and aggregates that the Marginly protocol keeps track of inside its smart-contracts","breadcrumbs":[{"label":"Protocol architecture"},{"label":"Pools"}]},{"id":"wv9zWxU53ntJ9OUkIiza","title":"Pool parameters","pathname":"/protocol-architecture/pools/pool-parameters","siteSpaceId":"sitesp_QlVNW","description":"These are parameters that control protocol risk and earnings and may be changed via Marginly governance.","breadcrumbs":[{"label":"Protocol architecture"},{"label":"Pools"}]},{"id":"s8CpHlasMS6sCHHP0ciQ","title":"User positions","pathname":"/protocol-architecture/pools/user-positions","siteSpaceId":"sitesp_QlVNW","description":"User positions inside Marginly have following parameters:","breadcrumbs":[{"label":"Protocol architecture"},{"label":"Pools"}]},{"id":"Cde73BjXQT2wXA2TunO5","title":"User actions","pathname":"/protocol-architecture/pools/user-actions","siteSpaceId":"sitesp_QlVNW","description":"Description of all user-facing and internal auxiliary functions available inside the Marginly protocol","breadcrumbs":[{"label":"Protocol architecture"},{"label":"Pools"}]},{"id":"kFVo2Qv31Rmkg8r7IB4l","title":"Pool Factory API","pathname":"/protocol-architecture/pools/pool-factory-api","siteSpaceId":"sitesp_QlVNW","description":"This a factory smart-contract for deploying Marginly pools.","breadcrumbs":[{"label":"Protocol architecture"},{"label":"Pools"}]},{"id":"LQROZgZtQDOVSUE7S5DC","title":"Pool API","pathname":"/protocol-architecture/pools/pool-api","siteSpaceId":"sitesp_QlVNW","description":"Pool API description","breadcrumbs":[{"label":"Protocol architecture"},{"label":"Pools"}]},{"id":"2ehb9nTK5Pm2zZUj4cvg","title":"TWAP oracle","pathname":"/protocol-architecture/twap-oracle","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Protocol architecture"}]},{"id":"wgfLwdHn4f6C4L7QPlPD","title":"Loan pricing","pathname":"/protocol-architecture/loan-pricing","siteSpaceId":"sitesp_QlVNW","description":"This page describes how Marginly prices loans.","breadcrumbs":[{"label":"Protocol architecture"}]},{"id":"bgtnp9WqVbnxJPkL3pD4","title":"Errors","pathname":"/protocol-architecture/errors","siteSpaceId":"sitesp_QlVNW","description":"","breadcrumbs":[{"label":"Protocol architecture"}]},{"id":"lYRvmopzRjNxT7nkCzCl","title":"Marginly SDK","pathname":"/protocol-architecture/marginly-sdk","siteSpaceId":"sitesp_QlVNW","description":"Allows to biuld  contract calls and use  math calculations for applications on top of Marginly.","breadcrumbs":[{"label":"Protocol architecture"}]},{"id":"QArQBRbyXkZTyIBKHMrq","title":"Router architecture","pathname":"/router/router-architecture","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"}]},{"id":"nS8RWFn9XvCfEfYoO5wn","title":"Adapters","pathname":"/router/adapters","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"}]},{"id":"erPEH5Yp9ABODTji0BcN","title":"ApeSwapAdapter","pathname":"/router/adapters/apeswapadapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"7XmRea75A0jvvN5xTryC","title":"BalancerAdapter","pathname":"/router/adapters/balanceradapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"YktGYYRrbEbS9WxcFBOp","title":"CamelotAdapter","pathname":"/router/adapters/camelotadapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"2YQgMDGRCJf4fW4pylcO","title":"KyberSwapClassicAdapter","pathname":"/router/adapters/kyberswapclassicadapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"pdQON5lf5excI1OAF88h","title":"KyberSwapElasticAdapter","pathname":"/router/adapters/kyberswapelasticadapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"FSd3dzHYam8j91PuCsMd","title":"UniswapV2Adapter","pathname":"/router/adapters/uniswapv2adapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"YkeKIBomJUOTMVVXw8sI","title":"UniswapV3Adapter","pathname":"/router/adapters/uniswapv3adapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"AAv3ke6DnFjkHdmDlV7p","title":"WooFiAdapter","pathname":"/router/adapters/woofiadapter","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Router"},{"label":"Adapters"}]},{"id":"IS7ZHJqcnJktCNvRkBQl","title":"Risk Management Overview","pathname":"/risk-management/risk-management-overview","siteSpaceId":"sitesp_QlVNW","description":"This section describes how Marginly manages risks","breadcrumbs":[{"label":"Risk Management"}]},{"id":"Q2eehY5NajvFJudWASeL","title":"Keeper service and smart contract description","pathname":"/risk-management/keeper-service-and-smart-contract-description","siteSpaceId":"sitesp_QlVNW","description":"Learn how Keeper service handles liquidations","breadcrumbs":[{"label":"Risk Management"}]},{"id":"QNG8QYRKaRO8Ejsnz0ko","title":"Keeper contract architecture","pathname":"/risk-management/keeper-contract-architecture","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Risk Management"}]},{"id":"7agpDwpPrbrXW3e142ji","title":"Liquidations and Deleveraging","pathname":"/risk-management/liquidations-and-deleveraging","siteSpaceId":"sitesp_QlVNW","description":"This page describes mechanics behind Marginly's liquidations and deleveraging","breadcrumbs":[{"label":"Risk Management"}]},{"id":"Jl2cqEk0Ba6A6PSZW9NB","title":"Volatility as risk proxy","pathname":"/risk-management/volatility-as-risk-proxy","siteSpaceId":"sitesp_QlVNW","description":"This page explains some of the details of measuring volatility and sheds light on the type of analysis Marginly performs for measuring protocol risks.","breadcrumbs":[{"label":"Risk Management"}]},{"id":"RMeNgWQnsQXmVNWjln61","title":"Insurance pool","pathname":"/risk-management/insurance-pool","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Risk Management"}]},{"id":"vPI4o4HybwMAgPq2Z9JI","title":"Shutdown mode","pathname":"/risk-management/shutdown-mode","siteSpaceId":"sitesp_QlVNW","breadcrumbs":[{"label":"Risk Management"}]},{"id":"K5TBczAN2vuuCPhXbT6x","title":"Marginly economics","pathname":"/economics/marginly-economics","siteSpaceId":"sitesp_QlVNW","description":"Description of protocol cashflows and future plans for the tokenomics","breadcrumbs":[{"label":"Economics"}]},{"id":"OGYd8HJCUP6UGSeaKBSM","title":"Beyond Marginly v1","pathname":"/future-plans/beyond-marginly-v1","siteSpaceId":"sitesp_QlVNW","description":"This page describes team's vision on future protocol enhancements","breadcrumbs":[{"label":"Future plans"}]},{"id":"JSbMIkPIoOWFeSHCwSUV","title":"Some ideas for Marginly v2","pathname":"/future-plans/some-ideas-for-marginly-v2","siteSpaceId":"sitesp_QlVNW","description":"Risks of leveraged trading and how Marginly addresses them","breadcrumbs":[{"label":"Future plans"}]},{"id":"dKkg6tUOAvrymy4AOqCp","title":"Trading Contest FAQ","pathname":"/trading-contest-faq","siteSpaceId":"sitesp_QlVNW"},{"id":"K1PGJREuKzPNIfWT6ruI","title":"Audit","pathname":"/audit","siteSpaceId":"sitesp_QlVNW","description":"By Quantstamp"}]}