├── .gitbook └── assets │ ├── 3cusvt4nxs.gif │ ├── 50-50.png │ ├── 5eloy7hedn.gif │ ├── 7cjaymdmqn (1).gif │ ├── 7cjaymdmqn.gif │ ├── adding-liquidity.png │ ├── approve.png │ ├── bridge.png │ ├── canny.png │ ├── capture22.png │ ├── chrome_2psnreh6sm.png │ ├── chrome_cv6vcbcdmd.png │ ├── chrome_ecaxfmbueb.png │ ├── chrome_ekaqiolptp.png │ ├── chrome_ewp8re2onb.png │ ├── chrome_ez72xvkucr.png │ ├── chrome_f25fz7cdxi.png │ ├── chrome_fyxinh8b2p.png │ ├── chrome_itroncqp9s.png │ ├── chrome_nzuutqqmvs.png │ ├── chrome_qbwblrppv3.png │ ├── chrome_qny4lmucan.png │ ├── chrome_rfuoy9hwuk.png │ ├── chrome_sie91vu8re.png │ ├── chrome_tb5de4le7c.png │ ├── chrome_u3a5ubn8tt (1).png │ ├── chrome_u3a5ubn8tt.png │ ├── chrome_ydbqwowneb.png │ ├── chrome_zew1dqvuwm.png │ ├── cui3qnxovn.gif │ ├── curve-curve-pool-pipe.png │ ├── curve-unipool (1).png │ ├── curve-unipool (2).png │ ├── curve-unipool.png │ ├── data_api.png │ ├── docs-page-stats.png │ ├── docs-search-stats.png │ ├── ezgif.com-gif-maker-1.gif │ ├── farm-ex1.png │ ├── farm-ex2-1-.png │ ├── farms.png │ ├── final-gn.png │ ├── gn5 (1) (1).png │ ├── gn5 (1).png │ ├── gnosis-1 (1) (1).png │ ├── gnosis-1 (1).png │ ├── gnosis-3 (1).png │ ├── gnosis-3 (2).png │ ├── gnosis-3.png │ ├── gnosis-4 (1).png │ ├── gnosis-4.png │ ├── gnosis.png │ ├── group-2.svg │ ├── group-24-5-.png │ ├── group-258 (1).png │ ├── group-258.png │ ├── group-262 (1).png │ ├── group-262.png │ ├── group-265.png │ ├── group-266.png │ ├── group-277.png │ ├── group-280.png │ ├── group-281.png │ ├── group-3.png │ ├── group-697 (1) (1).png │ ├── group-697 (1).png │ ├── group-700.png │ ├── group-704.png │ ├── group-706.png │ ├── group-707 (1).png │ ├── group-707.png │ ├── group-709.png │ ├── hkrm02ghlm.gif │ ├── https___bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com_public_images_b3cdafad-d379-.jfif │ ├── image (1).png │ ├── image (10).png │ ├── image (11).png │ ├── image (12).png │ ├── image (13).png │ ├── image (14).png │ ├── image (15).png │ ├── image (16) (1).png │ ├── image (16).png │ ├── image (17).png │ ├── image (18).png │ ├── image (19).png │ ├── image (2).png │ ├── image (20).png │ ├── image (21).png │ ├── image (22).png │ ├── image (23).png │ ├── image (24).png │ ├── image (25).png │ ├── image (26).png │ ├── image (27).png │ ├── image (28).png │ ├── image (29).png │ ├── image (3).png │ ├── image (30).png │ ├── image (31).png │ ├── image (32).png │ ├── image (4).png │ ├── image (5).png │ ├── image (6).png │ ├── image (7).png │ ├── image (8).png │ ├── image (9).png │ ├── image.png │ ├── june+july-zapper-stats.png │ ├── jvrlyngqwr_trim.mp4 │ ├── link-vault (3) (2) (2) (1) (1).png │ ├── link-vault (3) (2) (2) (1) (2).png │ ├── link-vault (3) (2) (2) (1).png │ ├── link-vault.png │ ├── logo (1).svg │ ├── logo-2-.png │ ├── logo.806ba706 (1) (1) (1) (1) (1) (1).svg │ ├── logo.806ba706 (1) (1) (1) (1) (1).svg │ ├── logo.svg │ ├── logo_black_alt2x (1).png │ ├── logo_black_alt2x (2).png │ ├── logo_black_alt2x.png │ ├── logo_white_alt2x.png │ ├── ltvcuuxars.png │ ├── making_defi_easy.png │ ├── mm-custom.png │ ├── multipooling-uni (1).png │ ├── multipooling-uni.png │ ├── multipooling-uni__curve__balancer.png │ ├── multipooling.png │ ├── my641u2la8.png │ ├── nekuvihvlc.gif │ ├── one-way-bridge.png │ ├── opera_oicc5to1tx.png │ ├── piping.png │ ├── pools.png │ ├── power-zap-black.svg │ ├── power-zap-gray.svg │ ├── power-zap-purple.svg │ ├── purpleLogoText_blackBackground.png │ ├── purpleLogo_blackBackground.png │ ├── sa.png │ ├── sadfwef.png │ ├── screen-shot-2020-07-25-at-6.42.22-pm.png │ ├── screen-shot-2020-09-01-at-3.34.35-am.png │ ├── screen-shot-2020-09-01-at-3.41.37-am.png │ ├── screen-shot-2021-03-05-at-4.47.10-pm.png │ ├── sfegfrg (1) (1).png │ ├── sfegfrg (1).png │ ├── slice-12.png │ ├── slice-6 (1).png │ ├── slice-6 (2) (1).png │ ├── slice-6 (2).png │ ├── slice-q123.png │ ├── snx-icon.bin │ ├── snx-icon.svg │ ├── stable-vaults.png │ ├── supported-wallets.png.png │ ├── swagger-auth.png │ ├── swagger-auth2.png │ ├── transaction-data.png │ ├── uni__balancer.png │ ├── unipool (3) (2) (2) (2) (2) (1).png │ ├── unipool (3) (2) (2) (2) (2) (2).png │ ├── unipool (3) (2) (2) (2) (2).png │ ├── unipool.png │ ├── uniswap_image_01.png │ ├── uniswap_image_02 (1).png │ ├── uniswap_image_02.png │ ├── uniswap_lockup_large_black-1.png │ ├── unknown (1).png │ ├── unknown.png │ ├── vf6fhuxeq2_trim.mp4 │ ├── vzzmz77apv.mp4 │ ├── whiteLogoText_blackBackground.png │ ├── whiteLogoText_purpleBackground.png │ ├── whiteLogo_blackBackground.png │ ├── whiteLogo_purpleBackground.png.png │ ├── ycrv-vault.png │ ├── yfi-vault (1).png │ ├── yfi-vault.png │ ├── zap-in-with-eth.bin │ ├── zap-in-with-eth.png │ ├── zap1.png │ ├── zap2.png │ ├── zapper (1).png │ ├── zapper-logo (1) (1) (1) (1).png │ ├── zapper-logo (1) (1) (1).png │ ├── zapper-pooling (1).png │ ├── zapper-pooling.png │ ├── zapper.png │ ├── zapper_api_logo.png │ ├── zapper_brand_assets (1).zip │ ├── zapper_brand_assets (2).zip │ ├── zapper_brand_assets (3).zip │ └── zapper_brand_assets.zip ├── FAQs ├── README.md ├── defi-knowledge.md ├── troubleshooting.md ├── using-zaps.md └── what-is-zapper.md ├── README.md ├── SUMMARY.md ├── additional-resources ├── brand-assets.md ├── brand-assets │ ├── purpleLogoText_blackBackground.png │ ├── whiteLogoText_blackBackground.png │ └── whiteLogoText_purpleBackground.png ├── community-calls.md ├── fan-love.md ├── our-partners.md ├── video-guides.md └── weekly-community-calls.md ├── build ├── built-with-zaps.md ├── ens-connectors.md ├── ethglobal-hackathon.md ├── guides │ ├── README.md │ ├── create-uniswapv2-zap-out.md │ ├── curve-user-balances.md │ ├── get-gas-price.md │ ├── get-supported-tokens-and-prices.md │ ├── get-user-token-balances.md │ ├── sushiswap-pool-stats.md │ ├── yearn-user-balances.md │ ├── yearn-vault-stats.md │ └── yearn-zap-in.md ├── our-partners.md ├── smart-contracts.md ├── why-build-with-zapper.md └── zapper-api.md ├── defi-tutorials ├── README.md ├── gnosis.md ├── how-does-zapper-save-gas.md ├── how-to-zap-directly-from-your-gnosis-safe.md ├── snap.md ├── using-zaps-from-etherscan.md └── zap.md ├── features.md ├── invest ├── bridge.md ├── dashboard.md ├── exchange.md ├── farming.md ├── multipooling.md ├── piping.md └── pooling │ ├── README.md │ ├── balancer.md │ ├── curve.md │ ├── futureswap-coming-soon.md │ ├── uniswap.md │ └── yearn-vaults.md ├── zapper-api ├── api-getting-started.md ├── api-guides │ ├── README.md │ ├── curve-balances.md │ ├── exchange-assets.md │ ├── gas-price.md │ ├── pool-stats.md │ ├── token-balances.md │ ├── vault-stats.md │ ├── zap-in.md │ └── zap-out.md └── endpoints.md └── zapper-smart-contracts └── smart-contracts.md /.gitbook/assets/3cusvt4nxs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/3cusvt4nxs.gif -------------------------------------------------------------------------------- /.gitbook/assets/50-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/50-50.png -------------------------------------------------------------------------------- /.gitbook/assets/5eloy7hedn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/5eloy7hedn.gif -------------------------------------------------------------------------------- /.gitbook/assets/7cjaymdmqn (1).gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/7cjaymdmqn (1).gif -------------------------------------------------------------------------------- /.gitbook/assets/7cjaymdmqn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/7cjaymdmqn.gif -------------------------------------------------------------------------------- /.gitbook/assets/adding-liquidity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/adding-liquidity.png -------------------------------------------------------------------------------- /.gitbook/assets/approve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/approve.png -------------------------------------------------------------------------------- /.gitbook/assets/bridge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/bridge.png -------------------------------------------------------------------------------- /.gitbook/assets/canny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/canny.png -------------------------------------------------------------------------------- /.gitbook/assets/capture22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/capture22.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_2psnreh6sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_2psnreh6sm.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_cv6vcbcdmd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_cv6vcbcdmd.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_ecaxfmbueb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_ecaxfmbueb.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_ekaqiolptp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_ekaqiolptp.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_ewp8re2onb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_ewp8re2onb.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_ez72xvkucr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_ez72xvkucr.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_f25fz7cdxi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_f25fz7cdxi.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_fyxinh8b2p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_fyxinh8b2p.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_itroncqp9s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_itroncqp9s.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_nzuutqqmvs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_nzuutqqmvs.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_qbwblrppv3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_qbwblrppv3.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_qny4lmucan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_qny4lmucan.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_rfuoy9hwuk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_rfuoy9hwuk.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_sie91vu8re.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_sie91vu8re.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_tb5de4le7c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_tb5de4le7c.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_u3a5ubn8tt (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_u3a5ubn8tt (1).png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_u3a5ubn8tt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_u3a5ubn8tt.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_ydbqwowneb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_ydbqwowneb.png -------------------------------------------------------------------------------- /.gitbook/assets/chrome_zew1dqvuwm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/chrome_zew1dqvuwm.png -------------------------------------------------------------------------------- /.gitbook/assets/cui3qnxovn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/cui3qnxovn.gif -------------------------------------------------------------------------------- /.gitbook/assets/curve-curve-pool-pipe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/curve-curve-pool-pipe.png -------------------------------------------------------------------------------- /.gitbook/assets/curve-unipool (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/curve-unipool (1).png -------------------------------------------------------------------------------- /.gitbook/assets/curve-unipool (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/curve-unipool (2).png -------------------------------------------------------------------------------- /.gitbook/assets/curve-unipool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/curve-unipool.png -------------------------------------------------------------------------------- /.gitbook/assets/data_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/data_api.png -------------------------------------------------------------------------------- /.gitbook/assets/docs-page-stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/docs-page-stats.png -------------------------------------------------------------------------------- /.gitbook/assets/docs-search-stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/docs-search-stats.png -------------------------------------------------------------------------------- /.gitbook/assets/ezgif.com-gif-maker-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/ezgif.com-gif-maker-1.gif -------------------------------------------------------------------------------- /.gitbook/assets/farm-ex1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/farm-ex1.png -------------------------------------------------------------------------------- /.gitbook/assets/farm-ex2-1-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/farm-ex2-1-.png -------------------------------------------------------------------------------- /.gitbook/assets/farms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/farms.png -------------------------------------------------------------------------------- /.gitbook/assets/final-gn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/final-gn.png -------------------------------------------------------------------------------- /.gitbook/assets/gn5 (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gn5 (1) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/gn5 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gn5 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis-1 (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis-1 (1) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis-1 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis-1 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis-3 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis-3 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis-3 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis-3 (2).png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis-3.png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis-4 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis-4 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis-4.png -------------------------------------------------------------------------------- /.gitbook/assets/gnosis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/gnosis.png -------------------------------------------------------------------------------- /.gitbook/assets/group-2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.gitbook/assets/group-24-5-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-24-5-.png -------------------------------------------------------------------------------- /.gitbook/assets/group-258 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-258 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/group-258.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-258.png -------------------------------------------------------------------------------- /.gitbook/assets/group-262 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-262 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/group-262.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-262.png -------------------------------------------------------------------------------- /.gitbook/assets/group-265.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-265.png -------------------------------------------------------------------------------- /.gitbook/assets/group-266.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-266.png -------------------------------------------------------------------------------- /.gitbook/assets/group-277.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-277.png -------------------------------------------------------------------------------- /.gitbook/assets/group-280.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-280.png -------------------------------------------------------------------------------- /.gitbook/assets/group-281.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-281.png -------------------------------------------------------------------------------- /.gitbook/assets/group-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-3.png -------------------------------------------------------------------------------- /.gitbook/assets/group-697 (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-697 (1) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/group-697 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-697 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/group-700.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-700.png -------------------------------------------------------------------------------- /.gitbook/assets/group-704.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-704.png -------------------------------------------------------------------------------- /.gitbook/assets/group-706.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-706.png -------------------------------------------------------------------------------- /.gitbook/assets/group-707 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-707 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/group-707.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-707.png -------------------------------------------------------------------------------- /.gitbook/assets/group-709.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/group-709.png -------------------------------------------------------------------------------- /.gitbook/assets/hkrm02ghlm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/hkrm02ghlm.gif -------------------------------------------------------------------------------- /.gitbook/assets/https___bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com_public_images_b3cdafad-d379-.jfif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/https___bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com_public_images_b3cdafad-d379-.jfif -------------------------------------------------------------------------------- /.gitbook/assets/image (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (1).png -------------------------------------------------------------------------------- /.gitbook/assets/image (10).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (10).png -------------------------------------------------------------------------------- /.gitbook/assets/image (11).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (11).png -------------------------------------------------------------------------------- /.gitbook/assets/image (12).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (12).png -------------------------------------------------------------------------------- /.gitbook/assets/image (13).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (13).png -------------------------------------------------------------------------------- /.gitbook/assets/image (14).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (14).png -------------------------------------------------------------------------------- /.gitbook/assets/image (15).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (15).png -------------------------------------------------------------------------------- /.gitbook/assets/image (16) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (16) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/image (16).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (16).png -------------------------------------------------------------------------------- /.gitbook/assets/image (17).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (17).png -------------------------------------------------------------------------------- /.gitbook/assets/image (18).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (18).png -------------------------------------------------------------------------------- /.gitbook/assets/image (19).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (19).png -------------------------------------------------------------------------------- /.gitbook/assets/image (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (2).png -------------------------------------------------------------------------------- /.gitbook/assets/image (20).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (20).png -------------------------------------------------------------------------------- /.gitbook/assets/image (21).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (21).png -------------------------------------------------------------------------------- /.gitbook/assets/image (22).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (22).png -------------------------------------------------------------------------------- /.gitbook/assets/image (23).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (23).png -------------------------------------------------------------------------------- /.gitbook/assets/image (24).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (24).png -------------------------------------------------------------------------------- /.gitbook/assets/image (25).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (25).png -------------------------------------------------------------------------------- /.gitbook/assets/image (26).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (26).png -------------------------------------------------------------------------------- /.gitbook/assets/image (27).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (27).png -------------------------------------------------------------------------------- /.gitbook/assets/image (28).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (28).png -------------------------------------------------------------------------------- /.gitbook/assets/image (29).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (29).png -------------------------------------------------------------------------------- /.gitbook/assets/image (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (3).png -------------------------------------------------------------------------------- /.gitbook/assets/image (30).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (30).png -------------------------------------------------------------------------------- /.gitbook/assets/image (31).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (31).png -------------------------------------------------------------------------------- /.gitbook/assets/image (32).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (32).png -------------------------------------------------------------------------------- /.gitbook/assets/image (4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (4).png -------------------------------------------------------------------------------- /.gitbook/assets/image (5).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (5).png -------------------------------------------------------------------------------- /.gitbook/assets/image (6).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (6).png -------------------------------------------------------------------------------- /.gitbook/assets/image (7).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (7).png -------------------------------------------------------------------------------- /.gitbook/assets/image (8).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (8).png -------------------------------------------------------------------------------- /.gitbook/assets/image (9).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image (9).png -------------------------------------------------------------------------------- /.gitbook/assets/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/image.png -------------------------------------------------------------------------------- /.gitbook/assets/june+july-zapper-stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/june+july-zapper-stats.png -------------------------------------------------------------------------------- /.gitbook/assets/jvrlyngqwr_trim.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/jvrlyngqwr_trim.mp4 -------------------------------------------------------------------------------- /.gitbook/assets/link-vault (3) (2) (2) (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/link-vault (3) (2) (2) (1) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/link-vault (3) (2) (2) (1) (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/link-vault (3) (2) (2) (1) (2).png -------------------------------------------------------------------------------- /.gitbook/assets/link-vault (3) (2) (2) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/link-vault (3) (2) (2) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/link-vault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/link-vault.png -------------------------------------------------------------------------------- /.gitbook/assets/logo (1).svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.gitbook/assets/logo-2-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/logo-2-.png -------------------------------------------------------------------------------- /.gitbook/assets/logo.806ba706 (1) (1) (1) (1) (1) (1).svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | logo 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /.gitbook/assets/logo.806ba706 (1) (1) (1) (1) (1).svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | logo 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /.gitbook/assets/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.gitbook/assets/logo_black_alt2x (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/logo_black_alt2x (1).png -------------------------------------------------------------------------------- /.gitbook/assets/logo_black_alt2x (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/logo_black_alt2x (2).png -------------------------------------------------------------------------------- /.gitbook/assets/logo_black_alt2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/logo_black_alt2x.png -------------------------------------------------------------------------------- /.gitbook/assets/logo_white_alt2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/logo_white_alt2x.png -------------------------------------------------------------------------------- /.gitbook/assets/ltvcuuxars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/ltvcuuxars.png -------------------------------------------------------------------------------- /.gitbook/assets/making_defi_easy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/making_defi_easy.png -------------------------------------------------------------------------------- /.gitbook/assets/mm-custom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/mm-custom.png -------------------------------------------------------------------------------- /.gitbook/assets/multipooling-uni (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/multipooling-uni (1).png -------------------------------------------------------------------------------- /.gitbook/assets/multipooling-uni.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/multipooling-uni.png -------------------------------------------------------------------------------- /.gitbook/assets/multipooling-uni__curve__balancer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/multipooling-uni__curve__balancer.png -------------------------------------------------------------------------------- /.gitbook/assets/multipooling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/multipooling.png -------------------------------------------------------------------------------- /.gitbook/assets/my641u2la8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/my641u2la8.png -------------------------------------------------------------------------------- /.gitbook/assets/nekuvihvlc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/nekuvihvlc.gif -------------------------------------------------------------------------------- /.gitbook/assets/one-way-bridge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/one-way-bridge.png -------------------------------------------------------------------------------- /.gitbook/assets/opera_oicc5to1tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/opera_oicc5to1tx.png -------------------------------------------------------------------------------- /.gitbook/assets/piping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/piping.png -------------------------------------------------------------------------------- /.gitbook/assets/pools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/pools.png -------------------------------------------------------------------------------- /.gitbook/assets/purpleLogoText_blackBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/purpleLogoText_blackBackground.png -------------------------------------------------------------------------------- /.gitbook/assets/purpleLogo_blackBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/purpleLogo_blackBackground.png -------------------------------------------------------------------------------- /.gitbook/assets/sa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/sa.png -------------------------------------------------------------------------------- /.gitbook/assets/sadfwef.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/sadfwef.png -------------------------------------------------------------------------------- /.gitbook/assets/screen-shot-2020-07-25-at-6.42.22-pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/screen-shot-2020-07-25-at-6.42.22-pm.png -------------------------------------------------------------------------------- /.gitbook/assets/screen-shot-2020-09-01-at-3.34.35-am.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/screen-shot-2020-09-01-at-3.34.35-am.png -------------------------------------------------------------------------------- /.gitbook/assets/screen-shot-2020-09-01-at-3.41.37-am.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/screen-shot-2020-09-01-at-3.41.37-am.png -------------------------------------------------------------------------------- /.gitbook/assets/screen-shot-2021-03-05-at-4.47.10-pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/screen-shot-2021-03-05-at-4.47.10-pm.png -------------------------------------------------------------------------------- /.gitbook/assets/sfegfrg (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/sfegfrg (1) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/sfegfrg (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/sfegfrg (1).png -------------------------------------------------------------------------------- /.gitbook/assets/slice-12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/slice-12.png -------------------------------------------------------------------------------- /.gitbook/assets/slice-6 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/slice-6 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/slice-6 (2) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/slice-6 (2) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/slice-6 (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/slice-6 (2).png -------------------------------------------------------------------------------- /.gitbook/assets/slice-q123.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/slice-q123.png -------------------------------------------------------------------------------- /.gitbook/assets/snx-icon.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/snx-icon.bin -------------------------------------------------------------------------------- /.gitbook/assets/stable-vaults.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/stable-vaults.png -------------------------------------------------------------------------------- /.gitbook/assets/supported-wallets.png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/supported-wallets.png.png -------------------------------------------------------------------------------- /.gitbook/assets/swagger-auth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/swagger-auth.png -------------------------------------------------------------------------------- /.gitbook/assets/swagger-auth2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/swagger-auth2.png -------------------------------------------------------------------------------- /.gitbook/assets/transaction-data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/transaction-data.png -------------------------------------------------------------------------------- /.gitbook/assets/uni__balancer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/uni__balancer.png -------------------------------------------------------------------------------- /.gitbook/assets/unipool (3) (2) (2) (2) (2) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/unipool (3) (2) (2) (2) (2) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/unipool (3) (2) (2) (2) (2) (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/unipool (3) (2) (2) (2) (2) (2).png -------------------------------------------------------------------------------- /.gitbook/assets/unipool (3) (2) (2) (2) (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/unipool (3) (2) (2) (2) (2).png -------------------------------------------------------------------------------- /.gitbook/assets/unipool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/unipool.png -------------------------------------------------------------------------------- /.gitbook/assets/uniswap_image_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/uniswap_image_01.png -------------------------------------------------------------------------------- /.gitbook/assets/uniswap_image_02 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/uniswap_image_02 (1).png -------------------------------------------------------------------------------- /.gitbook/assets/uniswap_image_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/uniswap_image_02.png -------------------------------------------------------------------------------- /.gitbook/assets/uniswap_lockup_large_black-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/uniswap_lockup_large_black-1.png -------------------------------------------------------------------------------- /.gitbook/assets/unknown (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/unknown (1).png -------------------------------------------------------------------------------- /.gitbook/assets/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/unknown.png -------------------------------------------------------------------------------- /.gitbook/assets/vf6fhuxeq2_trim.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/vf6fhuxeq2_trim.mp4 -------------------------------------------------------------------------------- /.gitbook/assets/vzzmz77apv.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/vzzmz77apv.mp4 -------------------------------------------------------------------------------- /.gitbook/assets/whiteLogoText_blackBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/whiteLogoText_blackBackground.png -------------------------------------------------------------------------------- /.gitbook/assets/whiteLogoText_purpleBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/whiteLogoText_purpleBackground.png -------------------------------------------------------------------------------- /.gitbook/assets/whiteLogo_blackBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/whiteLogo_blackBackground.png -------------------------------------------------------------------------------- /.gitbook/assets/whiteLogo_purpleBackground.png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/whiteLogo_purpleBackground.png.png -------------------------------------------------------------------------------- /.gitbook/assets/ycrv-vault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/ycrv-vault.png -------------------------------------------------------------------------------- /.gitbook/assets/yfi-vault (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/yfi-vault (1).png -------------------------------------------------------------------------------- /.gitbook/assets/yfi-vault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/yfi-vault.png -------------------------------------------------------------------------------- /.gitbook/assets/zap-in-with-eth.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zap-in-with-eth.bin -------------------------------------------------------------------------------- /.gitbook/assets/zap-in-with-eth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zap-in-with-eth.png -------------------------------------------------------------------------------- /.gitbook/assets/zap1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zap1.png -------------------------------------------------------------------------------- /.gitbook/assets/zap2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zap2.png -------------------------------------------------------------------------------- /.gitbook/assets/zapper (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper (1).png -------------------------------------------------------------------------------- /.gitbook/assets/zapper-logo (1) (1) (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper-logo (1) (1) (1) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/zapper-logo (1) (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper-logo (1) (1) (1).png -------------------------------------------------------------------------------- /.gitbook/assets/zapper-pooling (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper-pooling (1).png -------------------------------------------------------------------------------- /.gitbook/assets/zapper-pooling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper-pooling.png -------------------------------------------------------------------------------- /.gitbook/assets/zapper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper.png -------------------------------------------------------------------------------- /.gitbook/assets/zapper_api_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper_api_logo.png -------------------------------------------------------------------------------- /.gitbook/assets/zapper_brand_assets (1).zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper_brand_assets (1).zip -------------------------------------------------------------------------------- /.gitbook/assets/zapper_brand_assets (2).zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper_brand_assets (2).zip -------------------------------------------------------------------------------- /.gitbook/assets/zapper_brand_assets (3).zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper_brand_assets (3).zip -------------------------------------------------------------------------------- /.gitbook/assets/zapper_brand_assets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/.gitbook/assets/zapper_brand_assets.zip -------------------------------------------------------------------------------- /FAQs/README.md: -------------------------------------------------------------------------------- 1 | # FAQs 2 | 3 | Navigate to the below links to see the FAQs. 4 | 5 | {% page-ref page="what-is-zapper.md" %} 6 | 7 | {% page-ref page="troubleshooting.md" %} 8 | 9 | {% page-ref page="using-zaps.md" %} 10 | 11 | {% page-ref page="defi-knowledge.md" %} -------------------------------------------------------------------------------- /FAQs/defi-knowledge.md: -------------------------------------------------------------------------------- 1 | # Defi Knowledge 2 | 3 | ## What is the difference between 'Net ROI \(1mo\)' and '$ ROI \(1mo\)'? 4 | 5 | $ ROI \(1mo\) shows your returns measured in USD. This simply looks at $ difference over 1 month period. 6 | 7 | Net ROI \(1mo\) is the impermanent gain or loss you would have experienced if you were providing liquidity for 1 month. In other words this shows whether you were better off pooling or just holding your underlying assets. If negative, that means you would experience impermanent loss supplying liquidity to that pool over 1 month. If positive that means exchange fees generated by that pool, outweighed any losses due to price fluctuations during that month. Best case scenario for liquidity providers is when you ADD and WITHDRAW liquidity when underlying assets are around the same price. 8 | 9 | Lets say for example you join ETH/DAI pool with ~3000 when price of eth is $300. Your pooled assets would = 5 ETH + 1500 DAI. Now lets say 1 week later price of eth doubles to $600 \(depending on volume\) you could have something like 3.7 ETH + 2220 DAI which means your $ ROI is $4440 - $3000 = $1,440 but if you held original assets in your wallet you would have $4500 - 3000 = $1,500 so $60 is that imp loss portion. This increases as your exit price gets farther and farther away from your entry price. 10 | 11 | To sum up, your best bet is to come in and come out when prices are relatively the same. Because in this case you will get back relatively the same proportions you entered with + accrued fees from swaps that happened during your pooling period. With eth/dai pair its easy to track this, but keep in mind when you have pairs like eth/snx - the ratio is counted relative to each other. Meaning if during your pooling period both ETH + SNX go up in USD values at the same rate - you will still come out with the same ETH+SNX proportions. -------------------------------------------------------------------------------- /FAQs/troubleshooting.md: -------------------------------------------------------------------------------- 1 | # Troubleshooting 2 | 3 | ## Why are my tokens not showing in the Zapper Dashboard? 4 | It's normally 1 of 2 reasons. We may not support the token and/or DeFi platform yet. It takes quite a bit of development work to properly support each new token and LP / yield farming / staking opportunity so it calculates your assets, LPs, and claimable assets. If you'd like to suggest we support your token and/or DeFi applications, go [here](https://features.zapper.fi/token-requests) to propose it or upvote an existing proposal. 5 | 6 | Secondly, there's a chance you've staked (aka deposited) your token(s) into a yield farming opportunity and so you've transferred ownership of that token to another protocol we don't support yet. An example would be: "I'm an LP in Uniswap and I staked my LP token in a new yield farming application. I no longer see my Uniswap LP on my Zapper dashboard." 7 | 8 | 9 | ## My transaction has been pending on Etherscan for more than an hour. What's the deal and how do I fix this? 10 | When you Zap liquidity, it normally requires multiple transactions (unless zapping ETH), which you'll be prompted to confirm. However, transactions on Ethereum compete to be confirmed through an auction-like process, bidding by gas price (shown as Gwei in your wallet). If the average bidding gas price is much higher than you selected under Speed before Confirming a Zap (see screenshot below) or when you modified the gas price in MetaMask, your transaction can get stuck. Sometimes, a Zap user can get unlucky choosing a gas price right as Ethereum gas prices skyrocket. It's a best practice and recommended to check gas prices at [ethgasstation.info](https://ethgasstation.info) before clicking Confirm. 11 | 12 | Transactions submitted by an Ethereum address will processed sequentially. For example, if transaction #1 is stuck, transaction #2 will be stuck until #1 is confirmed on the blockchain. Here's a helpful video tutorial from DeFi Dad on how to fix a pending transaction (a.k.a un-stuck a stuck transaction). 13 | -------------------------------------------------------------------------------- /FAQs/using-zaps.md: -------------------------------------------------------------------------------- 1 | # Using Zaps 2 | 3 | ## Is it safe to Zap into all liquidity pools on Zapper? 4 | We cannot provide financial advice, but we do our best to vet that Zaps lead users to smart contracts that are audited and developed by reputable DeFi teams. Please assume that there is always risk in zapping into any liquidity pool or yield farming opportunity via Zapper. Common risks to consider in the resulting exposure one can achieve through Zaps is smart contract risk (bugs), impermanent loss in LPs, liquidity crises in less liquid pools, admin risk, governance compromise risk, stablecoins de-pegging, tokenized BTC de-pegging, and systemic risk with how interwoven many DeFi apps and protocols are on Ethereum. 5 | 6 | ## Can I zap any token with a Zap? 7 | Due to liquidity constraints with some tokens, ideally one is zapping one of the tokens in a liquidity pool. For such LPs, Zapper conveniently can split your liquidity provision into whatever proportion the LP calls for (ie 50/50 in Uniswap or maybe 80/20 in Balancer). 8 | However, Zapper also magically can Zap a token not in the pool by swapping it first for a pool token. For example, in the ETH-DAI pool in Uniswap, one could zap in with USDC. Currently, we offer this convenience with more liquid tokens like ETH, DAI, USDC, USDT, and WBTC. 9 | 10 | ## Are there any fees besides standard Ethereum network transaction fees for using Zapper? 11 | No, currently Zapper does not charge any fees besides the gas required to process your transaction on-chain. Zapper helps you save gas fees by bundling multiple DeFi actions into one transaction. 12 | -------------------------------------------------------------------------------- /FAQs/what-is-zapper.md: -------------------------------------------------------------------------------- 1 | # What is Zapper and How to Get Started 2 | 3 | ## What is Zapper? 4 | Zapper is your DeFi dashboard for monitoring your portfolio, includes assets, debts, liquidity pools, and yield farming––but it requires you to share no personal data! Just connect your Ethereum wallet or paste in the ETH address / ENS domain. 5 | Zapper is also your gateway to investing in hundreds of DeFi strategies in just a few clicks. Zaps can save you time, effort, and transaction fees (gas) by deploying your capital and reallocating it in a single DeFi command control center, working with the most trusted DeFi applications like yearn.finance, Uniswap, Balancer, Curve, and more. 6 | 7 | ## What is a Zap? 8 | A Zap provides an open source front-end interface for traders and liquidity providers to easily interact with the smart contracts of popular DeFi protocols. In other words, Zaps empower you to use applications like Uniswap, yearn.finance, Balancer, and Curve in a few clicks without having to open each of their signature websites. You can explore hundreds of Zaps available at [zapper.fi/invest](https://zapper.fi/invest). Zapping also allows you to save on transaction fees. 9 | 10 | ## Why should I use zap in the first place? 11 | Besides allowing you to “zap” into defi protocols without going into their respective website, Zap also allows you to save on transaction fees. See the below tweet by one of our co-founders, Nodar, on a concrete example of this. 12 | {% embed url="https://twitter.com/NodarJ/status/1296869754540621826?s=20" %} 13 | 14 | ## Do I need a Zapper account? 15 | No. You can just connect your Ethereum wallet through one of the many options available including MetaMask, WalletConnect, Fortmatic and more (see screenshot below). Remember, you can connect multiple wallets or paste in the address by clicking the dropdown menu next to your wallet address in the top left next to the Zapper logo and choosing Manage Addresses to paste in a valid ETH address or your ENS domain. 16 | 17 | ## Does Zapper ever have control of my assets? 18 | No. Zapper does not custody or control your assets. Our Dashboard draws from on-chain data after you connect your wallet to visualize a snapshot of your DeFi portfolio. Our Zaps help to add liquidity, withdraw liquidity, or rebalance liquidity between 2 platforms. 19 | 20 | ## Does Zapper charge fees? 21 | No. The fees you pay are strictly those required by the Ethereum network to compensate miners who ensure your transaction gets confirmed in a block. 22 | 23 | ## Do you support other protocols besides Ethereum? 24 | Not at the moment but we will consider doing so in the future as long as there are users and liquidity on other chains. It's our team view that 99.9% of DeFi activity is on Ethereum at the moment. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | ![](.gitbook/assets/making_defi_easy.png) 4 | 5 | ## **Features** 6 | 7 | 1. \*\*\*\*[**Zapper API**](zapper-api/api-getting-started.md) ****DeFi Data and Transactions builder 8 | 2. \*\*\*\*[**Smart Contracts**](zapper-smart-contracts/smart-contracts.md) ****View a list of all the Zapper smart contracts 9 | 3. \*\*\*\*[**Zapper Learn**](https://learn.zapper.fi/)\*\*\*\* 10 | 11 | Making DeFi easy to Understand 12 | 13 | 4. \*\*\*\*[**Zapper Bug Bounties**](https://immunefi.com/bounty/zapper/)\*\*\*\* 14 | 15 | Get paid for reporting Zapper related bugs 16 | 17 | {% hint style="info" %} 18 | If you have questions or would like to learn more to about Zapper feel free to join our [Discord](https://discord.com/invite/5C4wxPr) 19 | {% endhint %} 20 | 21 | -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- 1 | # Table of contents 2 | 3 | * [Introduction](README.md) 4 | 5 | ## API 6 | 7 | * [Getting Started](zapper-api/api-getting-started.md) 8 | * [Endpoints](zapper-api/endpoints.md) 9 | * [API Guides](zapper-api/api-guides/README.md) 10 | * [Token Balances](zapper-api/api-guides/token-balances.md) 11 | * [Gas Price](zapper-api/api-guides/gas-price.md) 12 | * [Protocol Balances](zapper-api/api-guides/curve-balances.md) 13 | * [Pool Stats](zapper-api/api-guides/pool-stats.md) 14 | * [Vault Stats](zapper-api/api-guides/vault-stats.md) 15 | * [Zap In](zapper-api/api-guides/zap-in.md) 16 | * [Zap Out](zapper-api/api-guides/zap-out.md) 17 | * [Exchange Assets](zapper-api/api-guides/exchange-assets.md) 18 | 19 | ## Smart Contracts 20 | 21 | * [Smart Contracts](zapper-smart-contracts/smart-contracts.md) 22 | 23 | ## ADDITIONAL RESOURCES 24 | 25 | * [Brand Assets](additional-resources/brand-assets.md) 26 | * [Bug Bounties](https://immunefi.com/bounty/zapper/) 27 | * [Join Our Discord](https://discordapp.com/invite/h6CGbuN) 28 | * [Tutorials & FAQs](https://zapper.crunch.help/) 29 | * [Feature Requests](https://features.zapper.fi/) 30 | 31 | -------------------------------------------------------------------------------- /additional-resources/brand-assets.md: -------------------------------------------------------------------------------- 1 | # Brand Assets 2 | 3 | ## Download 4 | 5 | Get the all of the Zapper assets as svgs at the download below. 6 | 7 | {% file src="../.gitbook/assets/zapper\_brand\_assets \(2\).zip" caption="Zapper Brand Assets" %} 8 | 9 | ### Brand Examples 10 | 11 | ![Zapper Official Logo](../.gitbook/assets/group-24-5-.png) 12 | 13 | ![API integration logo - Gray](../.gitbook/assets/power-zap-gray.svg) 14 | 15 | ![API integration logo - Black](../.gitbook/assets/power-zap-black.svg) 16 | 17 | ![API integration logo - Purple](../.gitbook/assets/power-zap-purple.svg) 18 | 19 | -------------------------------------------------------------------------------- /additional-resources/brand-assets/purpleLogoText_blackBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/additional-resources/brand-assets/purpleLogoText_blackBackground.png -------------------------------------------------------------------------------- /additional-resources/brand-assets/whiteLogoText_blackBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/additional-resources/brand-assets/whiteLogoText_blackBackground.png -------------------------------------------------------------------------------- /additional-resources/brand-assets/whiteLogoText_purpleBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zapper-fi/Docs/0a0cf600a16f59348ca040dd2cc37134f3bccd6a/additional-resources/brand-assets/whiteLogoText_purpleBackground.png -------------------------------------------------------------------------------- /additional-resources/community-calls.md: -------------------------------------------------------------------------------- 1 | # 📢Community Calls 2 | 3 | **Zapper has a weekly community call usually on Fridays. Check our Discord for links to the call!** 4 | 5 | Here are the screenrecording of a few community calls in the past. 6 | {% embed url="https://youtu.be/3YrJCcGgvS8" %} 7 | 8 | {% embed url="https://youtu.be/5PiKKtPtwn4" %} 9 | 10 | {% embed url="https://youtu.be/venoiaiVZ-U" %} 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /additional-resources/fan-love.md: -------------------------------------------------------------------------------- 1 | # 🥰Community Love 2 | 3 | {% embed url="https://twitter.com/godofeth/status/1364873768330493953?s=21" %} 4 | 5 | {% embed url="https://twitter.com/DeFi\_Dad/status/1296919647753834500?s=20" %} 6 | 7 | {% embed url="https://twitter.com/nanexcool/status/1293848711613874176?s=20" %} 8 | 9 | {% embed url="https://twitter.com/safetyth1rd/status/1296657988069933059?s=20" %} 10 | 11 | {% embed url="https://twitter.com/sassal0x/status/1296655943879389184?s=20" %} 12 | 13 | {% embed url="https://twitter.com/DeFi\_Dad/status/1294128309974917120?s=20" %} 14 | 15 | {% embed url="https://twitter.com/ChainlinkP/status/1286943893691330562?s=20" %} 16 | 17 | {% embed url="https://twitter.com/rmgarciap/status/1293963839243988992?s=20" %} 18 | 19 | {% embed url="https://twitter.com/EveryBitHelps\_/status/1293271790962253826?s=20" %} 20 | 21 | {% embed url="https://twitter.com/VENTURE\_DAO/status/1279089228547108866?s=20" %} 22 | 23 | {% embed url="https://twitter.com/Yield\_Farmer/status/1279092191680479233?s=20" %} 24 | 25 | {% embed url="https://twitter.com/DeFi\_Dad/status/1278157292160946176?s=20" %} 26 | 27 | {% embed url="https://twitter.com/Interaxis8/status/1276519435235479555?s=20" %} 28 | 29 | {% embed url="https://twitter.com/Guz\_MassAdopt/status/1275908941642436611?s=20" %} 30 | 31 | {% embed url="https://twitter.com/UniswapProtocol/status/1268285485639708675?s=20\]" %} 32 | 33 | {% embed url="https://twitter.com/synthetix\_io/status/1268441601719713792?s=20" %} 34 | 35 | {% embed url="https://twitter.com/UniswapProtocol/status/1209217414740754434?s=20" %} 36 | 37 | {% embed url="https://twitter.com/DefiRate/status/1265057152520957952?s=20" %} 38 | 39 | {% embed url="https://twitter.com/mstable\_/status/1271611607705980928?s=20" %} 40 | 41 | {% embed url="https://twitter.com/dmihal/status/1272565400262324224?s=20" %} 42 | 43 | {% embed url="https://twitter.com/3xhuman/status/1274224188769927169?s=20" %} 44 | 45 | {% embed url="https://twitter.com/DeFi\_Dad/status/1257905192055353344?s=20" %} 46 | 47 | {% embed url="https://twitter.com/sassal0x/status/1257399462353235969?s=20" %} 48 | 49 | {% embed url="https://twitter.com/idlefinance/status/1268954559176757250?s=20" %} 50 | 51 | {% embed url="https://twitter.com/DystopiaLabs/status/1256386082389635073?s=20" %} 52 | 53 | {% embed url="https://twitter.com/AlexSaundersAU/status/1224453712996782080?s=20" %} 54 | 55 | {% embed url="https://twitter.com/EthereumDenver/status/1260208107696934912?s=20" %} 56 | 57 | {% embed url="https://thedefiant.substack.com/p/defizap-takes-financial-engineering" %} 58 | 59 | {% embed url="https://thedefiant.substack.com/p/we-need-to-democratize-access-to-afb" %} 60 | 61 | {% embed url="https://medium.com/nbt-thing-tank/4-sane-blockchain-use-cases-changing-the-world-83a0b0d8e5d2" %} 62 | 63 | {% embed url="https://defiprime.com/defizap" %} 64 | 65 | {% embed url="https://defirate.com/kybers-defi-hackathon-winners/" %} 66 | 67 | {% embed url="https://vitalik.ca/general/2020/01/28/round4.html" %} 68 | 69 | {% embed url="https://www.youtube.com/watch?v=0MvyZOQsfOk&t=1s" %} 70 | 71 | {% embed url="https://www.youtube.com/watch?v=BDhYmb\_cwWo" %} 72 | 73 | {% embed url="https://www.youtube.com/watch?v=J0AKg5AwdO0" %} 74 | 75 | {% embed url="https://www.youtube.com/watch?v=OC-QGRkSFDA&t=140s" %} 76 | 77 | {% embed url="https://www.youtube.com/watch?v=HEC5YuD1lOI" %} 78 | 79 | {% embed url="https://twitter.com/evan\_van\_ness/status/1257756708178399240?s=20" %} 80 | 81 | {% embed url="https://twitter.com/AndreCronjeTech/status/1229084432973385728?s=20" %} 82 | 83 | {% embed url="https://blog.kyber.network/kyberdefi-hackathon-meet-the-winners-bea5bc9ec983" %} 84 | 85 | {% embed url="https://twitter.com/mattdlockyer/status/1225909801659449346?s=20" %} 86 | 87 | {% embed url="https://medium.com/@philippsandner/defi-fund-what-is-the-return-on-investing-in-10-defi-protocols-547d5340dc30" %} 88 | 89 | {% embed url="https://cryptotradernews.com/fintech/what-is-defizap/" %} 90 | 91 | {% embed url="https://thedefiant.substack.com/p/defizap-takes-financial-engineering" %} 92 | 93 | {% embed url="https://bankless.substack.com/p/tactic-25-how-to-use-a-zap" %} 94 | 95 | {% embed url="https://twitter.com/zapper\_fi/status/1215142118945165313" %} 96 | 97 | {% embed url="https://edgar.substack.com/p/one-click-access-to-decentralized" %} 98 | 99 | {% embed url="https://defitutorials.substack.com/p/gift-the-power-of-defi-this-holiday" %} 100 | 101 | {% embed url="https://twitter.com/cryptoplaza\_es/status/1273613313562329090?s=20" %} 102 | 103 | {% embed url="https://twitter.com/CxDefi/status/1272816436579373056?s=20" %} 104 | 105 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /additional-resources/our-partners.md: -------------------------------------------------------------------------------- 1 | # Ecosystem Partners 2 | 3 | {% embed url="https://www.sendwyre.com/" caption="" %} 4 | 5 | {% embed url="https://www.metacartel.org/" caption="" %} 6 | 7 | {% embed url="https://www.synthetix.io/" caption="" %} 8 | 9 | {% embed url="https://www.curve.fi/" caption="" %} 10 | 11 | {% embed url="https://kyber.network/" caption="" %} 12 | 13 | {% embed url="https://yearn.finance/" caption="" %} 14 | 15 | {% embed url="https://renproject.io/" caption="" %} 16 | 17 | {% embed url="https://MyCrypto.com" caption="" %} 18 | 19 | {% embed url="https://www.molochdao.com/" caption="" %} 20 | 21 | {% embed url="https://uniswap.org/" caption="" %} 22 | 23 | {% embed url="https://balancer.finance/" caption="" %} 24 | 25 | {% embed url="https://yieldhero.app/" caption="" %} 26 | 27 | {% embed url="https://1inch.exchange/" caption="" %} 28 | 29 | {% embed url="https://frontierwallet.com/" caption="" %} 30 | 31 | {% embed url="https://www.blocknative.com/" caption="" %} 32 | 33 | {% embed url="https://www.futureswap.com/" caption="" %} 34 | 35 | {% embed url="https://compound.finance/" caption="" %} 36 | 37 | {% embed url="https://makerdao.com/en/" caption="" %} 38 | 39 | {% embed url="https://fortmatic.com/" caption="" %} 40 | 41 | {% embed url="https://chain.link/" caption="" %} 42 | 43 | {% embed url="https://debank.com/" caption="" %} 44 | 45 | {% embed url="https://defiscore.io/" caption="" %} 46 | 47 | {% embed url="https://dappradar.com/" caption="" %} 48 | 49 | {% embed url="https://defipulse.com/" caption="" %} 50 | 51 | {% embed url="https://www.argent.xyz/" caption="" %} 52 | 53 | {% embed url="https://aave.com/" caption="" %} 54 | 55 | {% embed url="https://etherscan.io/" caption="" %} 56 | 57 | {% embed url="https://www.bancor.network/" caption="" %} 58 | 59 | {% embed url="https://1inch.exchange/" caption="" %} 60 | 61 | {% embed url="https://dex.ag/" caption="" %} 62 | 63 | {% embed url="https://paraswap.io/\#/" caption="" %} 64 | 65 | {% embed url="https://unlock-protocol.com/" caption="" %} 66 | 67 | {% embed url="https://defiprime.com" caption="" %} 68 | 69 | -------------------------------------------------------------------------------- /additional-resources/video-guides.md: -------------------------------------------------------------------------------- 1 | # ▶️Video Guides 2 | 3 | {% embed url="https://www.youtube.com/watch?v=VtXB-NJMjMc&feature=emb\_title" %} 4 | 5 | {% embed url="https://youtu.be/TTzgBuv8c7s" %} 6 | 7 | 8 | 9 | {% embed url="https://www.youtube.com/watch?v=2iGoTyR9kAI" %} 10 | 11 | {% embed url="https://youtu.be/venoiaiVZ-U" %} 12 | 13 | {% embed url="https://youtu.be/jzlo5sl\_wA4" %} 14 | 15 | {% embed url="https://www.youtube.com/watch?v=zAh0f2pDMSU" %} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /additional-resources/weekly-community-calls.md: -------------------------------------------------------------------------------- 1 | # 📢Weekly Community Calls 2 | 3 | -------------------------------------------------------------------------------- /build/built-with-zaps.md: -------------------------------------------------------------------------------- 1 | # 👨‍🌾Built with Zaps 2 | 3 | ![yearn.finance](../.gitbook/assets/chrome_ecaxfmbueb.png) 4 | 5 | ![beta.mycrypto.com](../.gitbook/assets/image%20%2814%29.png) 6 | 7 | ![cvault.finance](../.gitbook/assets/image%20%2828%29.png) 8 | 9 | ![FrontierWallet.com](../.gitbook/assets/chrome_qbwblrppv3.png) 10 | 11 | -------------------------------------------------------------------------------- /build/ens-connectors.md: -------------------------------------------------------------------------------- 1 | # 🔌ENS Connectors 2 | 3 | We've registered some popular pools with the [Ethereum Name Service](https://ens.domains/) so that adding liquidity is as easy as sending a text. Simply send your ETH to a human-readable address and you will become a liquidity provider for that pool. No UI required. 4 | 5 | ### **Available Connectors** 6 | 7 | | ENS | Action | Gas requirement | Strategy | 8 | | :--- | :--- | :--- | :--- | 9 | | [yCurveVault.ZapIN.eth](https://etherscan.io/address/ycurvevault.zapin.eth) | Add liquidity to the yCurve Vault | 2,750,000 | ETH - sell to > yCurve Pool->yCurve Vault | 10 | | [sETHUNIV1.ZapIN.eth](https://etherscan.io/address/0xd3eba712988df0f8a7e5073719a40ce4cbf60b33) | Add liquidity to ETH/sETH pool on Uniswap V1 | 800,000 | Keep ETH exposure while generating SNX rewards. | 11 | | [DAIUNIV1.ZapIN.eth](https://etherscan.io/address/daiuniv1.zapin.eth) | Add liquidity to ETH/DAI pool on Uniswap V1 | 400,000 | Expect ETH price to remain relatively the same for the duration of your liquidity provisioning. | 12 | | [MKRUNIV1.ZapIN.eth](https://etherscan.io/address/mkruniv1.zapin.eth) | Add liquidity to ETH/MKR pool on Uniswap V1 | 400,000 | MKR/ETH ratio will remain the same. Meaning both MKR & ETH will increase/decrease at around the same rate in USD terms. | 13 | 14 | {% hint style="danger" %} 15 | **NOTE: YOU CAN EXECUTE THESE ACTIONS WITH ETH DEPOSITS ONLY. DO NOT SEND ERC20 TOKENS.** 16 | {% endhint %} 17 | 18 | ### How does it work 19 | 20 | **Step 1:** Open your wallet, click send and enter in your desired ENS connector name. If your wallet does not support ENS, you can paste contract addresses directly. 21 | 22 | ![](../.gitbook/assets/my641u2la8.png) 23 | 24 | **Step 2:** Choose how much ETH you would like to deposit, set your gas limit, and confirm the transaction. 25 | 26 | ![](../.gitbook/assets/ltvcuuxars.png) 27 | 28 | **Once processed you will receive your minted UNI-V1 LPs back to your wallet. This is the same thing as adding liquidity via UI but in this case no UI necessary! Add liquidity as easy as sending a text** ⚡️ 29 | 30 | ![](../.gitbook/assets/chrome_tb5de4le7c.png) 31 | 32 | -------------------------------------------------------------------------------- /build/ethglobal-hackathon.md: -------------------------------------------------------------------------------- 1 | # Smart Contract Interface 2 | 3 | ## ETH Mainnet 4 | 5 | | Contract | Description | Address || 6 | | :--- | :--- | :--- | :--- | 7 | | Curve <> Curve Pool Pipe | Rebalance liquidity between Curve pools | [0x83c32BF929F80e404ff30Ede7333271460b13cd9](https://etherscan.io/address/0x83c32BF929F80e404ff30Ede7333271460b13cd9) | 8 | | Uniswap <> Curve Pool Pipe | Rebalance liquidity between Uniswap & Curve pools | [0x66895417881B1d77Ca71bd9e5Ba1E729f3Aa44D3](https://etherscan.io/address/0x66895417881B1d77Ca71bd9e5Ba1E729f3Aa44D3) | 9 | | Uniswap <> Uniswap Pool Pipe | Rebalance liquidity between pools on Uniswap | [0xaecCd58001D52B4b931FD6FD5bF87D4F911100B7](https://etherscan.io/address/0xaecCd58001D52B4b931FD6FD5bF87D4F911100B7) | 10 | 11 | ## Usage example (Curve to Curve Pipe) 12 | #### Swap 5 CRV tokens (sUSD) for y Curve tokens 13 | 14 | ``` 15 | import Web3 from "web3"; 16 | 17 | // A copy of the contract ABI is required 18 | import curveCurvePipeABI from "../curveCurvePipe.json"; 19 | import ERC20ABI from "../ERC20.json" 20 | 21 | const web3 = new Web3(provider.wallet.provider); 22 | const address = provider.address; 23 | const curveCurvePipeAddress = '0x66895417881B1d77Ca71bd9e5Ba1E729f3Aa44D3'; 24 | const curveCurvePipeContract = new web3.eth.Contract(curveCurvePipeABI, curveCurvePipeAddress); 25 | const crvTokenContract = new web3.eth.Contract(ERC20ABI, fromCurveTokenAddress); 26 | const valueToSend = (5 * 10 ** 18).toFixed(0); //Sending 5 CRV tokens 27 | const tx = await curveCurvePipeContract.methods.Curve2Curve( 28 | address, 29 | "a5407eae9ba41422680e2e00537571bcc53efbfd", //sUSD curve pool 30 | valueToSend, 31 | "bbc81d23ea2c3ec7e56d39296f0cbb648873a5d3" //y Curve pool 32 | ); 33 | const allowance = await getAllowance(web3, fromCurveTokenAddress, address, curveCurvePipeAddress); 34 | if (allowance < value) { 35 | const approvalAmount = '100000000000000000000'; 36 | let approveTx = await crvTokenContract.methods.approve( 37 | curveCurvePipeAddress, 38 | web3.utils.toWei(approvalAmount, 'ether') 39 | ); 40 | approveTx 41 | .send({ 42 | from: address, 43 | gasPrice, 44 | }) 45 | .on('transactionHash', async (txHash) => { 46 | await sendTransaction(address, 0, tx, gasPrice, 2000000); // Rely on nonce for tx ordering to avoid waiting for approval to confirm 47 | }); 48 | } else await sendTransaction(address, 0, tx, gasPrice); // Contract already has approval, gas estimates will not fail 49 | }; 50 | ``` 51 | 52 | 53 | -------------------------------------------------------------------------------- /build/guides/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: This section contains helpful guides for interacting with Zapper APIs. 3 | --- 4 | 5 | # Guides 6 | 7 | If you'd like to contribute a guide, please reach out to us on [Discord](https://discord.com/invite/5C4wxPr) or [Twitter](https://twitter.com/zapper_fi) 8 | 9 | ## Transactions API 10 | 11 | Assembling a Zap transaction is simple to do with the Transactions API. Provide basic details like the token to sell, pool or vault to interact with, and token quantities to send and the API will assemble and return an easy to consume Zap transaction for you to use in apps or smart contracts. 12 | 13 | The same patterns shown in these guides can be applied to all of the [zaps](../smart-contracts.md) offered by Zapper 14 | 15 | * The [Yearn Zap In guide](yearn-zap-in.md) demonstrates how to create an easy to consume transaction object for interacting with Zaps with web3 or in your smart contracts directly. 16 | * The [Sushiswap Zap Out guide](create-uniswapv2-zap-out.md) goes over how to create and consume a transaction object to enable one click Zap Outs from Sushiswap into ETH or any arbitrary token 17 | 18 | ## Data API 19 | 20 | ### Pool/Vault Stats and Account Balances 21 | 22 | The same patterns shown here can be used for any of Zapper's [supported platforms](https://zapper.fi/protocols). 23 | 24 | * The Yearn [Vault Stats guide](yearn-vault-stats.md) shows you how to pull data from the Zapper Data API. Vault stats includes platforms whose deposits are used for automated farming strategies \(e.g. Yearn, Harvest, Pickle, etc.\) 25 | * The [Sushiswap Pool Stats guide ](sushiswap-pool-stats.md)shows you how to get pool data from the Zapper Data API. Pool stats includes platforms whose deposits are pooled as liquidity for exchanges \(e.g. Sushiswap, Uniswap, Balancer, etc.\) 26 | * Fetching user balances for Zapper's supported platforms is also possible. Check out the [Curve User Balances Guide](curve-user-balances.md) or the [Yearn User Balances guide](yearn-user-balances.md) for an examples. 27 | 28 | ### Tokens, Gas Prices, Misc 29 | 30 | * The [Token Balances API](get-user-token-balances.md) returns a list of tokens for which the account has a balance. 31 | * The [Prices API](get-supported-tokens-and-prices.md) returns an easy to consume list of Zapper's supported tokens and their USD prices. 32 | * The [Gas Price API](get-gas-price.md) returns Zapper's current gas prices. 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /build/guides/curve-user-balances.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get an account's Curve balances 3 | --- 4 | 5 | # Get Curve User Balances 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../zapper-api.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The Curve balances endpoint returns an account's balance data for all of Zapper's supported Curve pools. The returned data includes raw, USD, and underlying token balances of an account, in addition to contextual information about each pool for which the account has a balance. This endpoint is useful to query account balances for pools in Curve's ecosystem. 12 | 13 | {% api-method method="get" host="https://api.zapper.fi/v1/balances/curve?api\_key=" path="api\_key" %} 14 | {% api-method-summary %} 15 | Get Curve Balances 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns balance data for Curve pools 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="addresses\[\]" type="string" required=false %} 26 | Array of addresses to query for balance 27 | {% endapi-method-parameter %} 28 | 29 | {% api-method-parameter name="api\_key" type="string" required=true %} 30 | Authentication token 31 | {% endapi-method-parameter %} 32 | {% endapi-method-query-parameters %} 33 | {% endapi-method-request %} 34 | 35 | {% api-method-response %} 36 | {% api-method-response-example httpCode=200 %} 37 | {% api-method-response-example-description %} 38 | Successful response from vault-stats endpoint 39 | {% endapi-method-response-example-description %} 40 | 41 | ``` 42 | { 43 | "0x0f3d8...": [ 44 | { 45 | "label": "Y", 46 | "value": "Y", 47 | "protocol": "curve", 48 | "protocolDisplay": "Curve", 49 | "protocolSymbol": "Curve", 50 | "decimals": 18, 51 | "address": "0x45f783cce6b7ff23b2ab2d70e416cdb7d6055f51", 52 | "tokenAddress": "0xdf5e0e81dff6faf3a7e52ba697820c5e32d806a8", 53 | "exchangeAddress": "0xbBC81d23Ea2c3ec7e56D39296F0cbB648873a5d3", 54 | "contractAddress": "0xbBC81d23Ea2c3ec7e56D39296F0cbB648873a5d3", 55 | "depositAddress": "0xbBC81d23Ea2c3ec7e56D39296F0cbB648873a5d3", 56 | "liquidity": 109173781.18907443, 57 | "pricePerToken": 1.0870200143431872, 58 | "volume": 11876799.256408438, 59 | "feeVolume": 4750.719702563376, 60 | "fee": 0.0004, 61 | "volliq": 0.10878801784688034, 62 | "isBlocked": false, 63 | "isBtc": false, 64 | "tokens": [ 65 | { 66 | "symbol": "DAI", 67 | "underlyingSymbol": "DAI", 68 | "address": "0x6b175474e89094c44da98b954eedeac495271d0f", 69 | "underlyingAddress": "0x6b175474e89094c44da98b954eedeac495271d0f", 70 | "decimals": 18, 71 | "price": 1, 72 | "reserve": 18742274.19950344, 73 | "reserveUSD": 18742274.19950344, 74 | "balance": 25.422828781434415, 75 | "balanceUSD": 25.422828781434415 76 | }, 77 | { 78 | "symbol": "USDC", 79 | "underlyingSymbol": "USDC", 80 | "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", 81 | "underlyingAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", 82 | "decimals": 6, 83 | "price": 1, 84 | "reserve": 23075557.40143123, 85 | "reserveUSD": 23075557.40143123, 86 | "balance": 31.300680942352795, 87 | "balanceUSD": 31.300680942352795 88 | }, 89 | { 90 | "symbol": "USDT", 91 | "underlyingSymbol": "USDT", 92 | "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", 93 | "underlyingAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7", 94 | "decimals": 6, 95 | "price": 1, 96 | "reserve": 28059478.218709864, 97 | "reserveUSD": 28059478.218709864, 98 | "balance": 38.06108601642104, 99 | "balanceUSD": 38.06108601642104 100 | }, 101 | { 102 | "symbol": "TUSD", 103 | "underlyingSymbol": "TUSD", 104 | "address": "0x0000000000085d4780b73119b644ae5ecd22b376", 105 | "underlyingAddress": "0x0000000000085d4780b73119b644ae5ecd22b376", 106 | "decimals": 18, 107 | "price": 1, 108 | "reserve": 39309247.53250009, 109 | "reserveUSD": 39309247.53250009, 110 | "balance": 53.32075813789182, 111 | "balanceUSD": 53.32075813789182 112 | } 113 | ], 114 | "supply": 100434012.02234603, 115 | "dailyROI": 0.00004351520713875214, 116 | "weeklyROI": 0.00030460644997126496, 117 | "yearlyROI": 0.01583953539850578, 118 | "symbol": "Y", 119 | "name": "Y", 120 | "gaugeAddress": "0xfa712ee4788c042e2b7bb55e6cb8ec569c4530c1", 121 | "proxyAddress": "0xbBC81d23Ea2c3ec7e56D39296F0cbB648873a5d3", 122 | "share": 0.0000013564431141503612, 123 | "balance": 136.23302403420587, 124 | "balanceRaw": "136233024034205869544", 125 | "balanceUSD": 148.10535387810006 126 | } 127 | ] 128 | } 129 | 130 | ``` 131 | {% endapi-method-response-example %} 132 | 133 | {% api-method-response-example httpCode=400 %} 134 | {% api-method-response-example-description %} 135 | Error response from vault-stats endpoint 136 | {% endapi-method-response-example-description %} 137 | 138 | ``` 139 | { 140 | "statusCode": 400, 141 | "message": [ 142 | "A helpful error message" 143 | ], 144 | "error": "Bad Request" 145 | } 146 | ``` 147 | {% endapi-method-response-example %} 148 | {% endapi-method-response %} 149 | {% endapi-method-spec %} 150 | {% endapi-method %} 151 | 152 | 153 | 154 | -------------------------------------------------------------------------------- /build/guides/get-gas-price.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get Zapper's current gas prices 3 | --- 4 | 5 | # Get Gas Price 6 | 7 | ## Overview 8 | 9 | The prices endpoint returns Zapper's current Ethereum, BSC, and Polygon/Matic network gas prices 10 | 11 | {% api-method method="get" host="http://api.zapper.fi/v1/gas-price" path=" " %} 12 | {% api-method-summary %} 13 | Get Gas Prices 14 | {% endapi-method-summary %} 15 | 16 | {% api-method-description %} 17 | Returns the standard, fast, and instant gas price in GWEI. 18 | 19 | To convert to WEI multiply response values by 10 \*\* 9 20 | 21 | `network` can be one of `ethereum`,`binance-smart-chain`, `polygon`. Returns `ethereum` network gas prices if left blank. 22 | {% endapi-method-description %} 23 | 24 | {% api-method-spec %} 25 | {% api-method-request %} 26 | {% api-method-query-parameters %} 27 | {% api-method-parameter name="network" type="string" required=false %} 28 | Network to get gas prices for 29 | {% endapi-method-parameter %} 30 | {% endapi-method-query-parameters %} 31 | {% endapi-method-request %} 32 | 33 | {% api-method-response %} 34 | {% api-method-response-example httpCode=200 %} 35 | {% api-method-response-example-description %} 36 | Gas prices successfully retrieved. 37 | {% endapi-method-response-example-description %} 38 | 39 | ``` 40 | { 41 | "standard": 75, 42 | "fast": 84.000001459, 43 | "instant": 90 44 | } 45 | ``` 46 | {% endapi-method-response-example %} 47 | 48 | {% api-method-response-example httpCode=404 %} 49 | {% api-method-response-example-description %} 50 | Error response from gas-price endpoint 51 | {% endapi-method-response-example-description %} 52 | 53 | ``` 54 | { 55 | "statusCode": 400, 56 | "message": [ 57 | "A helpful error message" 58 | ], 59 | "error": "Bad Request" 60 | } 61 | ``` 62 | {% endapi-method-response-example %} 63 | {% endapi-method-response %} 64 | {% endapi-method-spec %} 65 | {% endapi-method %} 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /build/guides/get-supported-tokens-and-prices.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get a list of Zapper's supported tokens 3 | --- 4 | 5 | # Get Supported Tokens and Prices 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../zapper-api.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The prices endpoint returns an array of Zapper's supported tokens and their associated USD price, decimals, address and symbol. 12 | 13 | {% api-method method="get" host="https://api.zapper.fi/v1/prices?api\_key=" path="api\_key" %} 14 | {% api-method-summary %} 15 | Get Zapper Prices 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns Zapper's supported tokens with their prices in USD 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="api\_key" type="string" required=true %} 26 | Authentication token 27 | {% endapi-method-parameter %} 28 | {% endapi-method-query-parameters %} 29 | {% endapi-method-request %} 30 | 31 | {% api-method-response %} 32 | {% api-method-response-example httpCode=200 %} 33 | {% api-method-response-example-description %} 34 | Successful response from vault-stats endpoint 35 | {% endapi-method-response-example-description %} 36 | 37 | ``` 38 | [ 39 | { 40 | "address": "0x68a118ef45063051eac49c7e647ce5ace48a68a5", 41 | "decimals": 18, 42 | "symbol": "$BASED", 43 | "price": 1.77 44 | }, 45 | { 46 | "address": "0x9d47894f8becb68b9cf3428d256311affe8b068b", 47 | "decimals": 18, 48 | "symbol": "$ROPE", 49 | "price": 52.24 50 | }, 51 | { 52 | "address": "0xb6ed7644c69416d67b522e20bc294a9a9b405b31", 53 | "decimals": 8, 54 | "symbol": "0XBTC", 55 | "price": 0.317657 56 | }, 57 | { 58 | "address": "0x035df12e0f3ac6671126525f1015e47d79dfeddf", 59 | "decimals": 18, 60 | "symbol": "0XMR", 61 | "price": 0.056292 62 | }, 63 | ] 64 | ``` 65 | {% endapi-method-response-example %} 66 | 67 | {% api-method-response-example httpCode=400 %} 68 | {% api-method-response-example-description %} 69 | Error response from vault-stats endpoint 70 | {% endapi-method-response-example-description %} 71 | 72 | ``` 73 | { 74 | "statusCode": 400, 75 | "message": [ 76 | "A helpful error message" 77 | ], 78 | "error": "Bad Request" 79 | } 80 | ``` 81 | {% endapi-method-response-example %} 82 | {% endapi-method-response %} 83 | {% endapi-method-spec %} 84 | {% endapi-method %} 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /build/guides/get-user-token-balances.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get an account's Token balances 3 | --- 4 | 5 | # Get User Token Balances 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../zapper-api.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The token balances endpoint returns an an account's token balances, including contextual information about each token for which the account has a balance. 12 | 13 | {% api-method method="get" host="https://api.zapper.fi/v1/balances/tokens?addresses\[\]=address&api\_key=" path="api\_key" %} 14 | {% api-method-summary %} 15 | Get User Token Balances 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns Zapper's supported tokens 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="addresses\[\]" type="array" required=true %} 26 | Array of addresses to query for balance 27 | {% endapi-method-parameter %} 28 | 29 | {% api-method-parameter name="api\_key" type="string" required=true %} 30 | Authentication token 31 | {% endapi-method-parameter %} 32 | {% endapi-method-query-parameters %} 33 | {% endapi-method-request %} 34 | 35 | {% api-method-response %} 36 | {% api-method-response-example httpCode=200 %} 37 | {% api-method-response-example-description %} 38 | Successful response from vault-stats endpoint 39 | {% endapi-method-response-example-description %} 40 | 41 | ``` 42 | { 43 | "0x3b2...": [ 44 | { 45 | "address": "0xba100000625a3754423978a60c9317c58a424e3d", 46 | "tokenAddress": "0xba100000625a3754423978a60c9317c58a424e3d", 47 | "decimals": 18, 48 | "img": "BAL-icon.png", 49 | "label": "BAL", 50 | "symbol": "BAL", 51 | "balance": 0.020191614617267317, 52 | "balanceRaw": "20191614617267316", 53 | "balanceUSD": 0.9411311573108296, 54 | "price": 46.61, 55 | "isStaked": false, 56 | "hide": false, 57 | "canExchange": false 58 | }, 59 | { 60 | "address": "0xc00e94cb662c3520282e6f5717214004a7f26888", 61 | "tokenAddress": "0xc00e94cb662c3520282e6f5717214004a7f26888", 62 | "decimals": 18, 63 | "img": "COMP-icon.png", 64 | "label": "COMP", 65 | "symbol": "COMP", 66 | "balance": 0.10125296154657497, 67 | "balanceRaw": "101252961546574972", 68 | "balanceUSD": 47.01681269415209, 69 | "price": 464.35, 70 | "isStaked": false, 71 | "hide": false, 72 | "canExchange": false 73 | }, 74 | { 75 | "address": "0x0000000000000000000000000000000000000000", 76 | "tokenAddress": "0x0000000000000000000000000000000000000000", 77 | "decimals": 18, 78 | "img": "ETH-icon.png", 79 | "label": "ETH", 80 | "symbol": "ETH", 81 | "balance": 2.070389284731874, 82 | "balanceRaw": "2070389284731874038", 83 | "balanceUSD": 3765.1892493205387, 84 | "price": 1818.59, 85 | "isStaked": false, 86 | "hide": false, 87 | "canExchange": false 88 | }, 89 | { 90 | "address": "0x4e15361fd6b4bb609fa63c81a2be19d873717870", 91 | "tokenAddress": "0x4e15361fd6b4bb609fa63c81a2be19d873717870", 92 | "decimals": 18, 93 | "img": "FTM-icon.png", 94 | "label": "FTM", 95 | "symbol": "FTM", 96 | "balance": 20679.449388200468, 97 | "balanceRaw": "20679449388200468654641", 98 | "balanceUSD": 9035.327065040714, 99 | "price": 0.436923, 100 | "isStaked": false, 101 | "hide": false, 102 | "canExchange": false 103 | }, 104 | { 105 | "address": "0x429881672b9ae42b8eba0e26cd9c73711b891ca5", 106 | "tokenAddress": "0x429881672b9ae42b8eba0e26cd9c73711b891ca5", 107 | "decimals": 18, 108 | "img": "PICKLE-icon.png", 109 | "label": "PICKLE", 110 | "symbol": "PICKLE", 111 | "balance": 0.32549746636350163, 112 | "balanceRaw": "325497466363501653", 113 | "balanceUSD": 3.362388827534972, 114 | "price": 10.33, 115 | "isStaked": false, 116 | "hide": false, 117 | "canExchange": false 118 | }, 119 | { 120 | "address": "0x04fa0d235c4abf4bcf4787af4cf447de572ef828", 121 | "tokenAddress": "0x04fa0d235c4abf4bcf4787af4cf447de572ef828", 122 | "decimals": 18, 123 | "img": "UMA-icon.png", 124 | "label": "UMA", 125 | "symbol": "UMA", 126 | "balance": 10.536590952142477, 127 | "balanceRaw": "10536590952142476922", 128 | "balanceUSD": 251.61379193716235, 129 | "price": 23.88, 130 | "isStaked": false, 131 | "hide": false, 132 | "canExchange": false 133 | }, 134 | { 135 | "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", 136 | "tokenAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", 137 | "decimals": 18, 138 | "img": "WETH-icon.png", 139 | "label": "WETH", 140 | "symbol": "WETH", 141 | "balance": 3.9558141278189054, 142 | "balanceRaw": "3955814127818905530", 143 | "balanceUSD": 7184.945200357478, 144 | "price": 1816.3, 145 | "isStaked": false, 146 | "hide": false, 147 | "canExchange": false 148 | }, 149 | { 150 | "address": "0x45f24baeef268bb6d63aee5129015d69702bcdfa", 151 | "tokenAddress": "0x45f24baeef268bb6d63aee5129015d69702bcdfa", 152 | "decimals": 18, 153 | "img": "YFV-icon.png", 154 | "label": "YFV", 155 | "symbol": "YFV", 156 | "balance": 0.4107985906240419, 157 | "balanceRaw": "410798590624041889", 158 | "balanceUSD": 1.8527016437144288, 159 | "price": 4.51, 160 | "isStaked": false, 161 | "hide": false, 162 | "canExchange": false 163 | }, 164 | { 165 | "address": "0x67b66c99d3eb37fa76aa3ed1ff33e8e39f0b9c7a", 166 | "tokenAddress": "0x67b66c99d3eb37fa76aa3ed1ff33e8e39f0b9c7a", 167 | "decimals": 18, 168 | "img": "ibETHv1-icon.png", 169 | "label": "ibETHv1", 170 | "symbol": "ibETHv1", 171 | "balance": 2.975853996364994, 172 | "balanceRaw": "2975853996364994053", 173 | "balanceUSD": 5668.003202625356, 174 | "price": 1904.664412148184, 175 | "isStaked": false, 176 | "hide": true, 177 | "canExchange": false 178 | }, 179 | { 180 | "address": "0x8798249c2e607446efb7ad49ec89dd1865ff4272", 181 | "tokenAddress": "0x8798249c2e607446efb7ad49ec89dd1865ff4272", 182 | "decimals": 18, 183 | "img": "xSUSHI-icon.png", 184 | "label": "xSUSHI", 185 | "symbol": "xSUSHI", 186 | "balance": 2484.572020189006, 187 | "balanceRaw": "2484572020189005888321", 188 | "balanceUSD": 53895.182852831174, 189 | "price": 21.691938255318224, 190 | "isStaked": false, 191 | "hide": false, 192 | "canExchange": false 193 | }, 194 | { 195 | "address": "0x837010619aeb2ae24141605afc8f66577f6fb2e7", 196 | "tokenAddress": "0x837010619aeb2ae24141605afc8f66577f6fb2e7", 197 | "decimals": 18, 198 | "img": "zHEGIC-icon.png", 199 | "label": "zHEGIC", 200 | "symbol": "zHEGIC", 201 | "balance": 225.75392231890183, 202 | "balanceRaw": "225753922318901839992", 203 | "balanceUSD": 59.59519767551067, 204 | "price": 0.263983, 205 | "isStaked": false, 206 | "hide": false, 207 | "canExchange": false 208 | } 209 | ] 210 | } 211 | ``` 212 | {% endapi-method-response-example %} 213 | 214 | {% api-method-response-example httpCode=400 %} 215 | {% api-method-response-example-description %} 216 | Error response from vault-stats endpoint 217 | {% endapi-method-response-example-description %} 218 | 219 | ``` 220 | { 221 | "statusCode": 400, 222 | "message": [ 223 | "A helpful error message" 224 | ], 225 | "error": "Bad Request" 226 | } 227 | ``` 228 | {% endapi-method-response-example %} 229 | {% endapi-method-response %} 230 | {% endapi-method-spec %} 231 | {% endapi-method %} 232 | 233 | 234 | 235 | -------------------------------------------------------------------------------- /build/guides/sushiswap-pool-stats.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get Pool data for all of Zapper's supported Sushiswap Pools 3 | --- 4 | 5 | # Get Sushiswap Pool Stats 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../zapper-api.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The Sushiswap pool stats endpoint returns contextual data for all of Zapper's supported Sushiswap pools. The returned data includes information such as each pool's address, liquidity, total supply, USD price, underlying tokens, and more. This endpoint is useful to query statistics about the pools in Sushiswap's ecosystem or to use the returned data \(like the address property\) as parameters in the Transactions API as shown [here](yearn-zap-in.md#zap-in). 12 | 13 | {% api-method method="get" host="https://api.zapper.fi/v1/pool-stats/sushiswap?api\_key=" path="api\_key" %} 14 | {% api-method-summary %} 15 | Get Sushiswap Pool Stats 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns pool stats data for Sushiswap pools. 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="api\_key" type="string" required=true %} 26 | Whether the cake should be gluten-free or not. 27 | {% endapi-method-parameter %} 28 | {% endapi-method-query-parameters %} 29 | {% endapi-method-request %} 30 | 31 | {% api-method-response %} 32 | {% api-method-response-example httpCode=200 %} 33 | {% api-method-response-example-description %} 34 | Successful response from vault-stats endpoint 35 | {% endapi-method-response-example-description %} 36 | 37 | ``` 38 | [ 39 | { 40 | "address": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 41 | "decimals": 18, 42 | "value": "WBTC / ETH", 43 | "label": "WBTC / ETH", 44 | "symbol": "WBTC / ETH", 45 | "contractAddress": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 46 | "exchangeAddress": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 47 | "tokenAddress": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 48 | "tokens": [ 49 | { 50 | "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", 51 | "decimals": 8, 52 | "price": 50693, 53 | "reserve": 8741.42459664, 54 | "symbol": "WBTC", 55 | "hide": false, 56 | "hideFromExplore": false 57 | }, 58 | { 59 | "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", 60 | "decimals": 18, 61 | "price": 1662.01, 62 | "reserve": 265809.06835221, 63 | "symbol": "WETH", 64 | "hide": false, 65 | "hideFromExplore": false 66 | } 67 | ], 68 | "protocol": "sushiswap", 69 | "protocolSymbol": "SUSHI", 70 | "protocolDisplay": "SushiSwap", 71 | "liquidity": 884906366.769528, 72 | "volume": 39273930.86863661, 73 | "volumeChangePercentage": 0.009623654778511664, 74 | "volliq": 0.04438201864453917, 75 | "feeVolume": 117821.79260590982, 76 | "fee": 0.003, 77 | "dailyROI": 0.0001331460559336175, 78 | "weeklyROI": 0.0009320223915353224, 79 | "supply": 0.0202664809417539, 80 | "pricePerToken": 43663543232.43187, 81 | "price0": 50693, 82 | "price1": 1662.01, 83 | "isBlocked": false, 84 | "hideFromExplore": false, 85 | "yearlyROI": 0.04846516435983676 86 | }, 87 | ] 88 | ``` 89 | {% endapi-method-response-example %} 90 | 91 | {% api-method-response-example httpCode=400 %} 92 | {% api-method-response-example-description %} 93 | Error response from vault-stats endpoint 94 | {% endapi-method-response-example-description %} 95 | 96 | ``` 97 | { 98 | "statusCode": 400, 99 | "message": [ 100 | "A helpful error message" 101 | ], 102 | "error": "Bad Request" 103 | } 104 | ``` 105 | {% endapi-method-response-example %} 106 | {% endapi-method-response %} 107 | {% endapi-method-spec %} 108 | {% endapi-method %} 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /build/guides/yearn-user-balances.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get an accounts Yearn Vault Balances 3 | --- 4 | 5 | # Get Yearn User Balances 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../zapper-api.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The Yearn balances endpoint returns an account's balance data for all of Zapper's supported Yearn vaults. The returned data includes raw, USD, and underlying token balances of an account, in addition to contextual information about each vault for which the account has a balance. This endpoint is useful to query account balances for pools in Yearns ecosystem. 12 | 13 | {% api-method method="get" host="https://api.zapper.fi/v1/balances/yearn?api\_key=" path="api\_key" %} 14 | {% api-method-summary %} 15 | Get Curve Balances 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns balance data for Curve pools 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="addresses\[\]" type="string" required=false %} 26 | Array of addresses to query for balance 27 | {% endapi-method-parameter %} 28 | 29 | {% api-method-parameter name="api\_key" type="string" required=true %} 30 | Authentication token 31 | {% endapi-method-parameter %} 32 | {% endapi-method-query-parameters %} 33 | {% endapi-method-request %} 34 | 35 | {% api-method-response %} 36 | {% api-method-response-example httpCode=200 %} 37 | {% api-method-response-example-description %} 38 | 39 | {% endapi-method-response-example-description %} 40 | 41 | ``` 42 | { 43 | "0x3b2c...": [ 44 | { 45 | "address": "0xe1237aa7f535b0cc33fd973d66cbf830354d16c7", 46 | "decimals": 18, 47 | "tokenAddress": "0xe1237aa7f535b0cc33fd973d66cbf830354d16c7", 48 | "contractAddress": "0xe1237aa7f535b0cc33fd973d66cbf830354d16c7", 49 | "symbol": "WETH Vault", 50 | "label": "WETH Vault", 51 | "img": "WETH-icon.png", 52 | "protocolDisplay": "Yearn", 53 | "protocolSymbol": "YFI", 54 | "protocolImg": "YFI-icon.png", 55 | "protocol": "yearn", 56 | "balance": 4.940696916986185, 57 | "balanceRaw": "4940696916986184768", 58 | "balanceUSD": 9029.47776013852, 59 | "pricePerShare": 1.0139375178377805, 60 | "pricePerToken": 1827.5716790267077, 61 | "isVault": true, 62 | "isBlocked": false, 63 | "canDeposit": true, 64 | "version": "v1" 65 | }, 66 | ] 67 | } 68 | ``` 69 | {% endapi-method-response-example %} 70 | 71 | {% api-method-response-example httpCode=302 %} 72 | {% api-method-response-example-description %} 73 | 74 | {% endapi-method-response-example-description %} 75 | 76 | ``` 77 | { 78 | statusCode: 400, 79 | message: [ 80 | "A helpful error message" 81 | ], 82 | error: "Bad Request" 83 | } 84 | ``` 85 | {% endapi-method-response-example %} 86 | {% endapi-method-response %} 87 | {% endapi-method-spec %} 88 | {% endapi-method %} 89 | 90 | -------------------------------------------------------------------------------- /build/guides/yearn-vault-stats.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get Vault data for all of Zapper's supported Yearn Vaults 3 | --- 4 | 5 | # Get Yearn Vault Stats 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../zapper-api.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The yearn vault stats endpoint returns contextual data for all of Zapper's supported yVaults. The returned data includes information such as each yVault's address, liquidity, total supply, USD price, underlying tokens, and more. This endpoint is useful to query statistics about the vaults in yearn's ecosystem or to use the returned data \(like the address property\) as parameters in the Transactions API as shown [here](yearn-zap-in.md#zap-in) 12 | 13 | {% api-method method="get" host="https://api.zapper.fi/v1/vault-stats/yearn?api\_key=" path="api\_key" %} 14 | {% api-method-summary %} 15 | Get yearn Vault Stats 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns vault stats data for yearn Vaults. 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="api\_key" type="string" required=true %} 26 | Whether the cake should be gluten-free or not. 27 | {% endapi-method-parameter %} 28 | {% endapi-method-query-parameters %} 29 | {% endapi-method-request %} 30 | 31 | {% api-method-response %} 32 | {% api-method-response-example httpCode=200 %} 33 | {% api-method-response-example-description %} 34 | Successful response from vault-stats endpoint 35 | {% endapi-method-response-example-description %} 36 | 37 | ``` 38 | [ 39 | { 40 | "address": "0x5533ed0a3b83f70c3c4a1f69ef5546d3d4713e44", 41 | "contractAddress": "0x5533ed0a3b83f70c3c4a1f69ef5546d3d4713e44", 42 | "tokenAddress": "0x5533ed0a3b83f70c3c4a1f69ef5546d3d4713e44", 43 | "symbol": "crvSUSD Vault", 44 | "label": "crvSUSD Vault", 45 | "value": "crvSUSD Vault", 46 | "isAave": false, 47 | "isCurve": true, 48 | "pricePerToken": 1.048763587843297, 49 | "liquidity": 21678402.62753494, 50 | "supply": 20670437.912623316, 51 | "protocol": "yearn", 52 | "protocolDisplay": "Yearn", 53 | "protocolSymbol": "YFI", 54 | "decimals": 18, 55 | "isBlocked": false, 56 | "canDeposit": true, 57 | "pricePerShare": 1.0104455587208072, 58 | "version": "v1", 59 | "tokens": [ 60 | { 61 | "label": "sUSD Curve", 62 | "value": "sUSD", 63 | "protocol": "curve", 64 | "protocolDisplay": "Curve", 65 | "protocolSymbol": "CRV", 66 | "decimals": 18, 67 | "address": "0xFCBa3E75865d2d561BE8D220616520c171F12851", 68 | "tokenAddress": "0xc25a3a3b969415c80451098fa907ec722572917f", 69 | "exchangeAddress": "0xa5407eae9ba41422680e2e00537571bcc53efbfd", 70 | "contractAddress": "0xFCBa3E75865d2d561BE8D220616520c171F12851", 71 | "depositAddress": "0xFCBa3E75865d2d561BE8D220616520c171F12851", 72 | "liquidity": 174414609.5248811, 73 | "pricePerToken": 1.0379219135477216, 74 | "volume": 42375366.28463072, 75 | "feeVolume": 16950.14651385229, 76 | "fee": 0.0004, 77 | "volliq": 0.2429576650721204, 78 | "isBlocked": false, 79 | "isBtc": false, 80 | "isMetaPool": false, 81 | "tokens": [ 82 | { 83 | "symbol": "sUSD", 84 | "address": "0x57ab1ec28d129707052df4df418d58a2d46d5f51", 85 | "decimals": 18, 86 | "price": 1.01, 87 | "reserve": 28500032.395438664, 88 | "reserveUSD": 28785032.719393052 89 | }, 90 | { 91 | "symbol": "DAI", 92 | "address": "0x6b175474e89094c44da98b954eedeac495271d0f", 93 | "decimals": 18, 94 | "price": 1, 95 | "reserve": 47748788.94028079, 96 | "reserveUSD": 47748788.94028079 97 | }, 98 | { 99 | "symbol": "USDC", 100 | "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", 101 | "decimals": 6, 102 | "price": 0.999263, 103 | "reserve": 48172234.364747, 104 | "reserveUSD": 48136731.42802019 105 | }, 106 | { 107 | "symbol": "USDT", 108 | "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", 109 | "decimals": 6, 110 | "price": 1, 111 | "reserve": 49669301.824872, 112 | "reserveUSD": 49669301.824872 113 | } 114 | ], 115 | "supply": 168042130.384081, 116 | "dailyROI": 0.00009718306602884817, 117 | "weeklyROI": 0.0006802814622019371, 118 | "yearlyROI": 0.03537463603450073, 119 | "symbol": "sUSD Curve" 120 | } 121 | ] 122 | }, 123 | {Subsequent vaults...}, 124 | ] 125 | 126 | ``` 127 | {% endapi-method-response-example %} 128 | 129 | {% api-method-response-example httpCode=400 %} 130 | {% api-method-response-example-description %} 131 | Error response from vault-stats endpoint 132 | {% endapi-method-response-example-description %} 133 | 134 | ``` 135 | { 136 | "statusCode": 400, 137 | "message": [ 138 | "A helpful error message" 139 | ], 140 | "error": "Bad Request" 141 | } 142 | ``` 143 | {% endapi-method-response-example %} 144 | {% endapi-method-response %} 145 | {% endapi-method-spec %} 146 | {% endapi-method %} 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /build/our-partners.md: -------------------------------------------------------------------------------- 1 | # Ecosystem Partners 2 | 3 | {% embed url="https://www.sendwyre.com/" %} 4 | 5 | {% embed url="https://www.metacartel.org/" %} 6 | 7 | {% embed url="https://www.synthetix.io/" %} 8 | 9 | {% embed url="https://kyber.network/" %} 10 | 11 | {% embed url="https://MyCrypto.com" %} 12 | 13 | {% embed url="https://frontierwallet.com/" %} 14 | 15 | {% embed url="https://www.blocknative.com/" %} 16 | 17 | {% embed url="https://iearn.finance/" %} 18 | 19 | {% embed url="https://www.futureswap.com/" %} 20 | 21 | {% embed url="https://compound.finance/" %} 22 | 23 | {% embed url="https://makerdao.com/en/" %} 24 | 25 | {% embed url="https://fortmatic.com/" %} 26 | 27 | {% embed url="https://renproject.io/" %} 28 | 29 | {% embed url="https://defiscore.io/" %} 30 | 31 | {% embed url="https://dappradar.com/" %} 32 | 33 | {% embed url="https://defipulse.com/" %} 34 | 35 | {% embed url="https://uniswap.org/" %} 36 | 37 | {% embed url="https://aave.com/" %} 38 | 39 | {% embed url="https://etherscan.io/" %} 40 | 41 | {% embed url="https://www.bancor.network/" %} 42 | 43 | {% embed url="https://1inch.exchange/" %} 44 | 45 | {% embed url="https://dex.ag/" %} 46 | 47 | {% embed url="https://aave.com/" %} 48 | 49 | {% embed url="https://unlock-protocol.com/" %} 50 | 51 | {% embed url="https://www.molochdao.com/" %} 52 | 53 | {% embed url="https://www.argent.xyz/" %} 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /build/smart-contracts.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: >- 3 | Zaps = Smart Contracts combining multiple on-chain actions to make DeFi easy 4 | to use and accessible to all. 5 | --- 6 | 7 | # Smart Contracts 8 | 9 | ## Mainnet 10 | 11 | {% tabs %} 12 | {% tab title="Production" %} 13 | These contracts are currently deployed on various EVM Mainnets and are used by [Zapper.fi](https://zapper.fi/) and other DeFi projects. 14 | 15 | | Contract | Address | Version | Chain | 16 | | :--- | :--- | :--- | :--- | 17 | | Uniswap V2 Add | [0x5ACedBA6C402e2682D312a7b4982eda0Ccf2d2E3](https://etherscan.io/address/0x5ACedBA6C402e2682D312a7b4982eda0Ccf2d2E3) | 4.0 | Ethereum | 18 | | Uniswap V2 Remove | [0x69090d6968B12b79CD403Ee33E871284dC7E92F6](https://etherscan.io/address/0x69090d6968b12b79cd403ee33e871284dc7e92f6) | 3.0.1 | Ethereum | 19 | | Uniswap V2 Pool Pipe | [0xBdcd4Dcc79bA2C4088323ca94F443a05A23cA372](https://etherscan.io/address/0xBdcd4Dcc79bA2C4088323ca94F443a05A23cA372) | 1.1 | Ethereum | 20 | | Uniswap V1 Remove | [0x5e6531d99e9099cb3936c048daf6ba0b3f79b9e2](https://etherscan.io/address/0x5e6531d99e9099cb3936c048daf6ba0b3f79b9e2) | 2.0 | Ethereum | 21 | | Uniswap V2 to Balancer Pool Pipe | [0xA3149708cb9D9BD31CB5c8F5c107D94395B7bA64](https://etherscan.io/address/0xA3149708cb9D9BD31CB5c8F5c107D94395B7bA64) | 1.4 | Ethereum | 22 | | Balancer Add | [0x7F249DBD212158e1ac449f0A37CA956C8186ac80](https://etherscan.io/address/0x7F249DBD212158e1ac449f0A37CA956C8186ac80) | 3.0 | Ethereum | 23 | | Balancer Remove | [0x00d0f137b51692D0AC708bdE7b367a373865cFfe](https://etherscan.io/address/0x00d0f137b51692D0AC708bdE7b367a373865cFfe) | 2.2 | Ethereum | 24 | | Curve Add | [0x77eD360E62cA6f2D1582F00da8B0b8489cA1e2E2](https://etherscan.io/address/0x77ed360e62ca6f2d1582f00da8b0b8489ca1e2e2) | 3.1 | Ethereum | 25 | | Curve Remove | [0x47c964e8d93843ab0c185bdeab5cbf57b9ec613a](https://etherscan.io/address/0x47c964e8d93843ab0c185bdeab5cbf57b9ec613a) | 3.0.1 | Ethereum | 26 | | Curve to Curve Pool Pipe | [0xB54dCe7f4Bd17DFebe4CB9742AE2D7d2886134d8](https://etherscan.io/address/0xB54dCe7f4Bd17DFebe4CB9742AE2D7d2886134d8) | 1.0 | Ethereum | 27 | | Yearn yVault Add or Remove | [0xB0880df8420974ef1b040111e5e0e95f05F8fee1](https://etherscan.io/address/0xB0880df8420974ef1b040111e5e0e95f05F8fee1) | 1.5 | Ethereum | 28 | | Yearn yVault Add | [0x462991D18666c578F787e9eC0A74Cd18D2971E5F](https://etherscan.io/address/0x462991d18666c578f787e9ec0a74cd18d2971e5f) | 2.0.1 | Ethereum | 29 | | Sushiswap Add | [0xcff6eF0B9916682B37D80c19cFF8949bc1886bC2](https://etherscan.io/address/0xcff6eF0B9916682B37D80c19cFF8949bc1886bC2) | 3.0 | Ethereum | 30 | | Sushiswap Remove | [0x3351be9654188571a3e32388DA582947928111Ce](https://etherscan.io/address/0x3351be9654188571a3e32388da582947928111ce) | 2.0 | Ethereum | 31 | | Bancor Add | [0xa14EEefa753a166a5651bce7B84094f614Df0D05](https://etherscan.io/address/0xa14EEefa753a166a5651bce7B84094f614Df0D05) | 2.1 | Ethereum | 32 | | Harvest Add | [0xab297faf67D486c8d03fBcD8F026feD0D71254B9](https://etherscan.io/address/0xab297faf67D486c8d03fBcD8F026feD0D71254B9) | 1.0 | Ethereum | 33 | | PoolTogether Add | [0x2e61170a7dCab6438e403AA7A8A7143d39ED0A65](https://etherscan.io/address/0x2e61170a7dCab6438e403AA7A8A7143d39ED0A65) | 1.0 | Ethereum | 34 | | Ethereum to Polygon Bridge | [0x1f0d1927498FBD4f9E8558704Ce5B658929527Ec](https://etherscan.io/address/0x1f0d1927498fbd4f9e8558704ce5b658929527ec) | 1.2 | Ethereum | 35 | | Polygon to Ethereum Bridge | [0x5848E3A0eC02cEd206292ae6504E03c4aD97BF76](https://explorer-mainnet.maticvigil.com/address/0x5848E3A0eC02cEd206292ae6504E03c4aD97BF76/transactions) | 1.0 | Polygon\* | 36 | | QuickSwap Add | [0x5CCb8c39bF68612C7997Cbc498ae55908D32d223](https://explorer-mainnet.maticvigil.com/address/0x5CCb8c39bF68612C7997Cbc498ae55908D32d223/contracts) | 1.0 | Polygon\* | 37 | | PancakeSwap Add | [0xbA62b2E64A91623293a78B5244b3950fC0398deE](https://bscscan.com/address/0xbA62b2E64A91623293a78B5244b3950fC0398deE) | 2.0 | BSC\*\* | 38 | | PancakeSwap Remove | [0x343E3a490c9251dC0eaA81Da146ba6ABe6C78b2d](https://bscscan.com/address/0x343e3a490c9251dc0eaa81da146ba6abe6c78b2d) | 1.0 | BSC\*\* | 39 | | 1Inch Add | [0x5531b2eAA05D8b6fb855E15F1d21e6a3A3794B4d](https://etherscan.io/address/0x5531b2eAA05D8b6fb855E15F1d21e6a3A3794B4d#code) | 1.0 | Ethereum | 40 | | Pickle Add | [0xc695f73c1862e050059367B2E64489E66c525983](https://etherscan.io/address/0xc695f73c1862e050059367b2e64489e66c525983) | 1.0 | Ethereum | 41 | {% endtab %} 42 | 43 | {% tab title="Deprecated" %} 44 | Deprecated contracts are no longer in use by Zapper but are still available for use by the public as is. Contracts are deprecated due to improvements being made to the core logic, swap mechanics, or for gas efficiency purposes. You are encouraged to use the Zaps listed in Production instead of these. 45 | 46 | | Contract | Address | Version | Chain | 47 | | :--- | :--- | :--- | :--- | 48 | | Zapper Swap | [0xacDF47C844Eff0Ecb218D8945e28A9A484aF8D07](https://etherscan.io/address/0xacDF47C844Eff0Ecb218D8945e28A9A484aF8D07) | 1.3 | Ethereum | 49 | | Curve Add | [0x79c88866247a3626D45011662eFA093535554B34](https://etherscan.io/address/0x79c88866247a3626D45011662eFA093535554B34) | 2.0.1 | Ethereum | 50 | | Curve Remove | [0xA3061Cf6aC1423c6F40917AD49602cBA187181Dc](https://etherscan.io/address/0xA3061Cf6aC1423c6F40917AD49602cBA187181Dc) | 2.1 | Ethereum | 51 | | Uniswap V2 Add | [0xD3cF4e98e1e432B3d6Ae42AE406A78F2AC8293D0](https://etherscan.io/address/0xD3cF4e98e1e432B3d6Ae42AE406A78F2AC8293D0) | 3.0.1 | Ethereum | 52 | | Uniswap V2 Remove | [0x79B6C6F8634ea477ED725eC23b7b6Fcb41F00E58](https://etherscan.io/address/0x79B6C6F8634ea477ED725eC23b7b6Fcb41F00E58) | 2.1 | Ethereum | 53 | | Sushiswap Add | [0x91baf383abc0c332a69a73041c866f6761a90b3c](https://etherscan.io/address/0x91baf383abc0c332a69a73041c866f6761a90b3c) | 2.0.1 | Ethereum | 54 | | Sushiswap Remove | [0xa4E4BeAA9d27EabB6a5E010565A21D93a723c7e1](https://etherscan.io/address/0xa4E4BeAA9d27EabB6a5E010565A21D93a723c7e1) | 1.1 | Ethereum | 55 | | Uniswap V2 Remove | [0x05448acd708B78791d007Bc1e037EA6FE78283A6](https://etherscan.io/address/0x05448acd708B78791d007Bc1e037EA6FE78283A6) | 3.0 | Ethereum | 56 | | Uniswap V2 Remove | [0x79B6C6F8634ea477ED725eC23b7b6Fcb41F00E58](https://etherscan.io/address/0x79B6C6F8634ea477ED725eC23b7b6Fcb41F00E58) | 2.1 | Ethereum | 57 | | Curve Add | [0x75987EB3cB933E355474c5ffC4905ECB6061796b](https://etherscan.io/address/0x75987EB3cB933E355474c5ffC4905ECB6061796b) | 3.0 | Ethereum | 58 | | Yearn Vault Add | [0xb832Cc0E8Ed40Ae42edDC63D9d07EbAF022994E8](https://etherscan.io/address/0xb832Cc0E8Ed40Ae42edDC63D9d07EbAF022994E8) | 2.0 | Ethereum | 59 | | Pancakeswap Add | [0x775EE938186FddC13bD7C89D24820E1b0758F91D](https://bscscan.com/address/0x775ee938186fddc13bd7c89d24820e1b0758f91d#code) | 1.0 | BSC\*\* | 60 | {% endtab %} 61 | {% endtabs %} 62 | 63 | \* Polygon = Matic 64 | \*\* BSC = Binance Smart Chain 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /build/why-build-with-zapper.md: -------------------------------------------------------------------------------- 1 | # 🛠️Why build with Zapper? 2 | 3 | ### Benefits 4 | 5 | **› Connect and increase engagement** 6 | 7 | Connect to and leverage battle-tested brands your users are already using daily in DeFi 8 | 9 | **› Be where your users are** 10 | 11 | Embed integrations seamlessly into your dapps, emails or website 12 | 13 | **› Extend your dapp’s functionality** 14 | 15 | Rapidly increase the functionality of your dapp with each new Zap integration 16 | 17 | **› Learn from user behavior** 18 | 19 | Analyze behavior to understand & prioritize which strategies to integrate next 20 | 21 | ## [GET STARTED](https://discord.gg/PfaUkcP) 22 | 23 | -------------------------------------------------------------------------------- /build/zapper-api.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: API Reference 3 | --- 4 | 5 | # Zapper API 6 | 7 | ## Zapper API 8 | 9 | The Data and Transactions APIs are free for the community using a shared public use [API key](zapper-api.md#authentication). 10 | 11 | For any API related inquiries, please reach out to the team on [Twitter](https://twitter.com/zapper_fi) or [Discord](https://discordapp.com/invite/h6CGbuN). 12 | 13 | If your project consumes the Zapper API, a mention that your app is "**Powered by Zapper**" with a backlink to [https://zapper.fi](https://zapper.fi/dashboard) would be appreciated! 14 | 15 | ### Data API 16 | 17 | The Zapper Developer APIs provide the Ethereum community with accessible and consistent DeFi data for an ever increasing number of protocols. For a full list of supported protocols, see [https://zapper.fi/protocols](https://zapper.fi/protocols). Check out the [guides](guides/#data-api) section to see how to query account balances, pool stats, and more. 18 | 19 | ### Transactions API 20 | 21 | The Zapper Transactions API is the easiest way for builders to interact directly with a wide range of DeFi protocols through Zapper. Get an easy to consume transaction for approving, adding, removing, and rebalancing liquidity through any of our [zaps](smart-contracts.md). 22 | 23 | ![API returns transaction components](../.gitbook/assets/transaction-data.png) 24 | 25 | This API returns a transaction object which includes all of the contextual data needed to be consumed by [Web3](https://web3js.readthedocs.io/en/v1.2.0/web3-eth.html#sendtransaction), Ethers or other Smart Contracts. This enables anyone to assemble and execute a complex Zap including multi exchange hops and interacting with several DeFi protocols in a single atomic transaction. To learn more, check out the [guides](guides/) section. 26 | 27 | ## Authentication 28 | 29 | The Zapper API uses [API Keys](https://swagger.io/docs/specification/authentication/api-keys/) to authenticate requests. Zapper has made available for public use the following API key `api_key=96e0cc51-a62e-42ca-acee-910ea7d2a241` 30 | 31 | The API key must be provided as a query string by the client when making API calls. 32 | 33 | ## Swagger 34 | 35 | The Swagger UI contains an overview of the available endpoints. Be creative and feel free to reach out to us with suggestions or to show us what you've built. 36 | 37 | {% embed url="https://api.zapper.fi/api/static/index.html" %} 38 | 39 | ## 40 | 41 | -------------------------------------------------------------------------------- /defi-tutorials/README.md: -------------------------------------------------------------------------------- 1 | # ▶️DeFi Tutorials 2 | 3 | **Subscribe to the newsletter on** [**www.defitutorials.com**](https://defitutorials.com/)\*\*\*\* 4 | 5 | {% page-ref page="zap.md" %} 6 | 7 | {% page-ref page="how-does-zapper-save-gas.md" %} 8 | 9 | {% page-ref page="snap.md" %} 10 | 11 | {% page-ref page="gnosis.md" %} 12 | 13 | {% page-ref page="how-to-zap-directly-from-your-gnosis-safe.md" %} 14 | 15 | {% page-ref page="using-zaps-from-etherscan.md" %} 16 | 17 | {% page-ref page="../invest/pooling/" %} 18 | 19 | {% page-ref page="../invest/farming.md" %} 20 | 21 | {% page-ref page="../invest/multipooling.md" %} 22 | 23 | {% page-ref page="../invest/piping.md" %} 24 | 25 | {% page-ref page="../build/why-build-with-zapper.md" %} 26 | 27 | {% page-ref page="../build/smart-contracts.md" %} 28 | 29 | {% page-ref page="../build/ens-connectors.md" %} 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /defi-tutorials/gnosis.md: -------------------------------------------------------------------------------- 1 | # 🔏How to create a new Gnosis Safe Multisig 2 | 3 | ## 🔗Visit [https://gnosis-safe.io/app](https://gnosis-safe.io/app/#/welcome) 4 | 5 | ![](../.gitbook/assets/gnosis.png) 6 | 7 | ## 👉Click _Connect_ to sign in with your wallet. 8 | 9 | ![](../.gitbook/assets/gnosis-1.png) 10 | 11 | ## 👉Click _Create new Safe_ 12 | 13 | ![](../.gitbook/assets/gnosis-3.png) 14 | 15 | ## 🔤Name your Safe. 16 | 17 | ![](../.gitbook/assets/gnosis-4.png) 18 | 19 | ## 🗝️Name Owners and their Ethereum wallet addresses and set how many owners need to confirm in order to process transactions. 20 | 21 | Example: if you have 3 owners and you set this to 2, in order to initiate transactions at least 2 out of 3 wallets will need to confirm from their wallets. 22 | 23 | ![](../.gitbook/assets/gn5.png) 24 | 25 | ## 👉ClickReview all your info and click _Submit_ 26 | 27 | ![](../.gitbook/assets/sadfwef.png) 28 | 29 | ## 👉This will initiate a transaction which will create and deploy your Gnosis Safe - which is a smart contract in itself. Click _Confirm_ from your wallet. Keep in mind gas fees go to the miners in order to process your transaction on-chain. 30 | 31 | ![](../.gitbook/assets/sfegfrg%20%281%29.png) 32 | 33 | ## ✅Once your transaction has been processed, you should see "Your Safe was created successfully" 34 | 35 | ![](../.gitbook/assets/final-gn.png) 36 | 37 | -------------------------------------------------------------------------------- /defi-tutorials/how-does-zapper-save-gas.md: -------------------------------------------------------------------------------- 1 | # ⛽️How does Zapper save gas? 2 | 3 | {% embed url="https://twitter.com/NodarJ/status/1296869754540621826?s=20" %} 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /defi-tutorials/how-to-zap-directly-from-your-gnosis-safe.md: -------------------------------------------------------------------------------- 1 | # ⚡️🔏How to Zap directly from your Gnosis Safe 2 | 3 | **Total value stored in all Gnosis Safe contracts recently crossed $1 billion🚀** 4 | 5 | {% embed url="https://twitter.com/gnosisSafe/status/1297922743942307840?s=20" %} 6 | 7 | It’s become the go to tool for teams to secure company crypto assets by requiring multiple signatures to manage funds. [Here’s a quick video tutorial on how to set up a wallet for your team with Gnosis.](gnosis.md) 8 | 9 | Once signed in, their web app enables easy interactions with existing DeFi applications such as Aave, Balancer and Synthetix. [While Zapper is finalizing a direct integration within this ‘APPS’ section](https://github.com/Zapper-fi/GECO/blob/master/Proposals/Zapper.md), we wanted to share a tutorial on how you could interact with Zap contracts directly from your Gnosis Safe via their custom transaction builder. 10 | 11 | ![](../.gitbook/assets/image%20%2816%29.png) 12 | 13 | **At first, you need to decide which opportunity you would like to ‘Zap’ into and which asset you will be depositing with.** 14 | 15 | You can find a list of available opportunities on [zapper.fi/invest](https://zapper.fi/invest) and a list of corresponding Zap contracts on [docs.zapper.fi/build/smart-contracts.](https://docs.zapper.fi/build/smart-contracts) Each generalized DeFi action has a dedicated Zap contract. For example, adding liquidity to any liquidity pool on Uniswap V2 using a single asset could be executed via a general Unipool Zap by calling the _ZapIn_ function with pre-filled parameters to specify which pool you are joining, with what asset, and where the liquidity pool token proceeds should be sent \(with this last one you could actually redirect the Zap proceeds to be sent to a third party if you want to\). 16 | 17 | If you are using ETH as your deposit - you are able to call the contract function directly and make your deposit but if you are using ERC20 tokens \(DAI, LINK, SNX, YFI, etc.\), you will first need to approve the chosen Zap contract to use them. 18 | 19 | **ADDING LIQUIDITY to the $YFI/$ETH POOL on UNISWAP V2 with $DAI:** 20 | 21 | 1. Look up $DAI token contract on Etherscan: 0x6b175474e89094c44da98b954eedeac495271d0f 22 | 2. Paste in DAI token contract address into Multisend transaction builder on Gnosis 23 | 3. Select Approve function. 24 | 4. Look up Zap contract for adding liquidity to uniswap V2 pools address: 0x0286Ab4C526C0F28EC31dBb08755C999f441A58F 25 | 5. Paste in Zap contract address under _usr\(address\)_. 26 | 6. Enter how many DAI tokens you would like to approve the Zap contract for \(this means you will be able to Zap in up to this amount in DAI. Keep in mind its in wad so for 100 DAI you would enter _100000000000000000000_. 27 | 7. Click _send Transaction_. 28 | 8. Now paste the Zap contract on top. 29 | 9. Select _ZapIn_ function. 30 | 1. _\_toWhomToIssue \(address\):_ Enter wallet address where you want to send proceeds to \(usually this is your address\) 31 | 2. _\_FromTokenContractAddress \(address\)_: Enter DAI contract address 32 | 3. _\_ToUnipoolToken0 \(address\)_: Enter YFI token contract address 33 | 4. _\_ToUnipoolToken1 \(address\)_: Enter WETH token contract address 34 | 5. _\_amount \(uint256\)_: Enter how many DAI you want to deposit 35 | 6. _\_minPoolTokens \(uint256\)_: Enter min \# of pool tokens you wish to receive otherwise transaction reverts in order to avoid slippage. 36 | 37 | \*\*\*\* 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /defi-tutorials/snap.md: -------------------------------------------------------------------------------- 1 | # 📈How to keep track of your deposits in DeFi 2 | 3 | {% embed url="https://youtu.be/TTzgBuv8c7s" %} 4 | 5 | -------------------------------------------------------------------------------- /defi-tutorials/using-zaps-from-etherscan.md: -------------------------------------------------------------------------------- 1 | # 🔷 Using Zaps from Etherscan 2 | 3 | ## Enter any Uniswap pool using just ETH: 4 | 5 | ### 1. Visit [https://etherscan.io/address/0x0286Ab4C526C0F28EC31dBb08755C999f441A58F\#writeContract](https://etherscan.io/address/0x0286Ab4C526C0F28EC31dBb08755C999f441A58F#writeContract) 6 | 7 | ### 2. Click "Connect to Web3" 8 | 9 | ![](../.gitbook/assets/image%20%2819%29.png) 10 | 11 | ### 3. Connect your wallet 12 | 13 | ![](../.gitbook/assets/image%20%2817%29.png) 14 | 15 | ### 4. Fill out _ZapIn_ function parameters 16 | 17 | ![](../.gitbook/assets/zap-in-with-eth.png) 18 | 19 | ### 5. Once ready, click Write and confirm the transaction from your wallet. If successful you should see something like this: 20 | 21 | ![](../.gitbook/assets/image%20%2823%29.png) 22 | 23 | ## Enter any Uniswap pool using any ERC20 token: 24 | 25 | ### 1. The process for joining pools with ERC20 tokens is very similar to ETH, however you will first need to approve your ERC20s for Zapping. For example, if you are depositing with USDT-visit [https://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec7\#writeContract](https://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec7#writeContract) Connect your wallet and fill out _approve_ function parameters 26 | 27 | ![](../.gitbook/assets/approve.png) 28 | 29 | ### 2. Now go back to [https://etherscan.io/address/0x0286Ab4C526C0F28EC31dBb08755C999f441A58F\#writeContract](https://etherscan.io/address/0x0286Ab4C526C0F28EC31dBb08755C999f441A58F#writeContract) and fill out ZapIn function parameters, this time your _\_FromTokenContractAddress_ will be the USDT token contract address. If successful you should see something like this: 30 | 31 | ![](../.gitbook/assets/image%20%2818%29.png) 32 | 33 | -------------------------------------------------------------------------------- /defi-tutorials/zap.md: -------------------------------------------------------------------------------- 1 | # ⚡️How to Zap into DeFi 2 | 3 | {% embed url="https://www.youtube.com/watch?v=VtXB-NJMjMc&feature=emb\_title" %} 4 | 5 | -------------------------------------------------------------------------------- /features.md: -------------------------------------------------------------------------------- 1 | # Features 2 | 3 | ## 📊[**Enter wallet address & get an instant snapshot of all your DeFi holdings**](https://www.zapper.fi/) 4 | 5 | ![](.gitbook/assets/sa.png) 6 | 7 | ## 💸[**Discover and access new farming opportunities in DeFi with lower gas costs**](invest/pooling/) 8 | 9 | {% embed url="https://youtu.be/VtXB-NJMjMc" caption="" %} 10 | 11 | ## ⛓️[**Integration with 19 DeFi platforms**](https://www.zapper.fi/supported) 12 | 13 | ![](.gitbook/assets/chrome_nzuutqqmvs.png) 14 | 15 | ![If you are a builder interested in getting early access, reach out to us on Discord!](.gitbook/assets/7cjaymdmqn%20%281%29.gif) 16 | 17 | ## 💳[**Supported Wallets**](https://www.zapper.fi/) 18 | 19 | ![](.gitbook/assets/screen-shot-2021-03-05-at-4.47.10-pm.png) 20 | 21 | ## 👉 [**Request new features here**](https://features.zapper.fi/) 22 | 23 | -------------------------------------------------------------------------------- /invest/bridge.md: -------------------------------------------------------------------------------- 1 | # Bridge 2 | 3 | {% embed url="https://www.youtube.com/watch?v=VSSaQTMZfIM" caption="Defi Class on how to use the Zapper Bridge" %} 4 | 5 | ## What is the Purpose of a Bridge? 6 | 7 | A bridge is an easy way of porting assets from Ethereum to layer 2s and sidechains. By being able to port their assets over, you gain access to lower fees when interacting with different defi protocols. Zapper currently only supports a one way bridge, but there are plans to make it a two way bridge in the near future. 8 | 9 | ![](../.gitbook/assets/one-way-bridge.png) 10 | 11 | **Currently Supporting:** 12 | 13 | * **Polygon** 14 | * **Binance Smart Chain** 15 | * **Optimism** - Coming Soon 16 | * **xdai** - Coming Soon 17 | 18 | ### Connecting to a Network - Polygon \(Matic\) 19 | 20 | You will need to first set up a custom RPC to connect your wallet to the Matic Mainnet. Then click on the network options in Metamask on the top and select Custom RPC in the dropdown. 21 | 22 | ![Custom RPC Option](../.gitbook/assets/mm-custom.png) 23 | 24 | Then enter in the information below to create a custom RPC for Polygon \(Matic\). 25 | 26 | **Network Name:** Matic Mainnet 27 | 28 | **New RPC URL:** [https://rpc-mainnet.matic.network](https://rpc-mainnet.matic.network/) 29 | 30 | **Chain ID:** 137 31 | 32 | **Symbol:** MATIC 33 | 34 | **Block Explorer URL**: [https://explorer.matic.network/](https://explorer.matic.network/) 35 | 36 | 37 | 38 | ## Chainlist 39 | 40 | A list of different chain information can be found [here](https://chainlist.org/). 41 | 42 | -------------------------------------------------------------------------------- /invest/dashboard.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: An overview of your DeFi assets and liabilities 3 | --- 4 | 5 | # Dashboard 6 | 7 | ## **Supported Platforms** 8 | 9 | At Zapper, the team is always working on adding on new protocols. Check out our updated list of [supported platforms](https://zapper.fi/protocols) to see the latest additions. If you would like to suggest an addition, or you are building a protocol and would like to see it on Zapper, you can make [requests here](https://features.zapper.fi/). 10 | 11 | **Enter an address or connect a wallet to see your own dashboard at** [**Zapper**](https://zapper.fi)\*\*\*\* 12 | 13 | ![Account Dashboard](../.gitbook/assets/image%20%2815%29.png) 14 | 15 | {% hint style="info" %} 16 | The dashboard updates dynamically in real time reflecting current market conditions. Check out the [live demo](https://zapper.fi/dashboard?address=0x43a5c1331375f1f34bd774ecaee51501e9ca2db5) 17 | {% endhint %} 18 | 19 | ## Supported Wallets 20 | 21 | Zapper supports a wide range of wallets to enable anyone to access DeFi. If your favorite wallet is not listed here, feel free to [make a request](https://features.zapper.fi/feature-requests). 22 | 23 | ![Supported Wallets](../.gitbook/assets/image%20%2829%29.png) 24 | 25 | -------------------------------------------------------------------------------- /invest/exchange.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Zapper DEX Aggregator 3 | --- 4 | 5 | # Exchange 6 | 7 | ## The best swaps in DeFi. 8 | 9 | Zapper is a [decentralized exchange](https://zapper.fi/exchange) that does not require you to deposit tokens like centralized exchanges \(e.g. Coinbase\). Signups are not required to use the exchange and all trades are executed trustlessly in a peer-to-peer manner. 10 | 11 | In order to source and execute the best available swaps in DeFi, the exchange sources deep liquidity among all of the top exchanges at once, intelligently routing and executing swaps for any of the hundreds of tokens supported by Zapper. 12 | 13 | ### [Zapper Exchange](https://zapper.fi/exchange) 14 | 15 | * Search over 18 exchanges at once, selecting the best swap to minimize slippage and gas fees. 16 | * Intelligently route your swap, splitting the input among multiple exchanges and tapping into PMMs if necessary in order to optimize the trade. 17 | 18 | 19 | 20 | ![](../.gitbook/assets/image%20%2830%29.png) 21 | 22 | ## Video Walkthrough 23 | 24 | {% embed url="https://youtu.be/Jl6uLLO62j8?t=1205" %} 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /invest/farming.md: -------------------------------------------------------------------------------- 1 | # Farm 2 | 3 | ## **What does 'Yield Farming' mean?** 4 | 5 | **Utilizing your assets to generate governance tokens.** 6 | 7 | {% embed url="https://youtu.be/SUoaaqQCs6g" caption="How to get Started Yield Farming" %} 8 | 9 | ## How does Farming work? 10 | 11 | Let's say that there is a new token called Bleep Token \(BLP\) and they are hoping to gain liquidity on different decentralized exchanges. Ideally, as a new token it is important to have liquid markets because it allows for larger trades without slippage. 12 | 13 | ![More liquidity makes it easier to trade a token](../.gitbook/assets/farm-ex1.png) 14 | 15 | In this example, a way for the Bleep Token \(BLP\) creators to get liquidity on Uniswap could be incentivize it through a rewards program where anyone that locks up ETH/BLP Uniswap Liquidity provider tokens in a rewards contract will reward Bleep Token \(BLP\) over time until they remove their liquidity provider tokens. 16 | 17 | ![Locking up liquidity provider tokens earns governance token rewards](../.gitbook/assets/farm-ex2-1-.png) 18 | 19 | ## Farming on Zapper 20 | 21 | You can add assets to different liquidity pools under the pool tab. The example below shows how you can invest into the WBTC/ETH pool on Sushiswap. 22 | 23 | ![Pool Tab](../.gitbook/assets/pools.png) 24 | 25 | Once you has invested into a pool, you can then take your liquidity provider tokens and lock them into a rewards contract. In this example, the SUSHI liquidity provider tokens can be locked into the reward contracts to earn SUSHI as a reward for providing liquidity to Sushiswap. 26 | 27 | ![Farm Tab](../.gitbook/assets/farms.png) 28 | 29 | -------------------------------------------------------------------------------- /invest/multipooling.md: -------------------------------------------------------------------------------- 1 | # 🎛️Multipooling 2 | 3 | ![](../.gitbook/assets/multipooling.png) 4 | 5 | ## What does "Multipooling" mean? 6 | 7 | > **Diversifying liquidity provisioning across multiple liquidity pools.** 8 | 9 | {% embed url="https://www.youtube.com/watch?v=z3EDddLI0Ws&t=1s" %} 10 | 11 | ## How does it work? 12 | 13 | **1. Visit '**[**Invest**](https://www.zapper.fi/#/invest)**' tab and pick one of the pools you would like to start with. \(NOTE: Curve + Balancer pooling options are being tested.\)** 14 | 15 | ![](../.gitbook/assets/multipooling-uni.png) 16 | 17 | **2. Click '+' to add on more pools and select your allocation %s by moving the slider.** 18 | 19 | ![](../.gitbook/assets/7cjaymdmqn.gif) 20 | 21 | **3. Click 'Confirm' and depending on your wallet provider, you will need to verify transaction details before sending. Once you submit your transaction, you will be able to follow progress on Etherscan. Here's a live Multipooling test transaction deploying 1 ETH across sETH, DAI, MKR, REP, LINK, and KNC Uniswap pools:** [**https://etherscan.io/tx/0x8fc108c97fd76dae4cf81d6baf76189f04ff484ce077bae12f867b6193531f0d**](https://etherscan.io/tx/0x8fc108c97fd76dae4cf81d6baf76189f04ff484ce077bae12f867b6193531f0d)\*\*\*\* 22 | 23 | ![](../.gitbook/assets/chrome_ez72xvkucr.png) 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /invest/piping.md: -------------------------------------------------------------------------------- 1 | # 🚰Piping 2 | 3 | ![](../.gitbook/assets/https___bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com_public_images_b3cdafad-d379-.jfif) 4 | 5 | {% tabs %} 6 | {% tab title="Overview" %} 7 | Pool pipes seamlessly **re-balance** liquidity between pools. This is the ultimate liquidity mining tool for DeFi farmers. 8 | 9 | ![](../.gitbook/assets/group-709.png) 10 | 11 | _Pipes were originally introduced as part of our ETH Global Hackathon submission:_ 12 | 13 | {% embed url="https://twitter.com/zapper\_fi/status/1264882363252838403?s=20" %} 14 | {% endtab %} 15 | 16 | {% tab title="How it works" %} 17 | **How does it work?** 18 | 19 | Let’s assume you’re providing liquidity in the sETH pool on Uniswap earning trading fees + SNX rewards. 20 | 21 | You noticed that Synthetix just started distributing SNX rewards to Curve sUSD liquidity providers as well. 22 | 23 | To move some of your liquidity from Uniswap sETH Pool into Curve’s sUSD Pool, you would need to perform at least 4 on chain transactions: 24 | 25 | 1. **Remove liquidity from sETH pool on Uniswap** 26 | 2. **Use ETH portion to buy DAI** 27 | 3. **Use sETH to buy USDC** 28 | 4. **Add DAI + USDC on Curve** 29 | 30 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F9f196300-3194-46f9-8d5e-e514482296b3_1600x1174.png) 31 | 32 | **Uniswap V1 <> Curve Pipe cuts this down to one!** 33 | 34 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F823efe8b-7944-44e1-b0b7-f86e4a99d30c_1006x638.png) 35 | 36 | {% embed url="https://www.youtube.com/watch?v=2iGoTyR9kAI" %} 37 | {% endtab %} 38 | 39 | {% tab title="Tutorial" %} 40 | ### **Walk-through tutorial:** 41 | 42 | > **STEP 1: Visit Zapper.fi & connect your wallet.** 43 | 44 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe4b4288a-be02-4241-bd47-1d1ba1c64c6a_961x460.png) 45 | 46 | > **STEP 2: View your liquidity pool balances & click ‘Rebalance’** 47 | 48 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F06bffb69-cdda-43e4-a85e-3db9f679ea34_1797x867.png) 49 | 50 | > **STEP 3: Choose which platform and which pool within that platform you would like to move some or all of your current pool’s liquidity into.** 51 | 52 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F323eb0af-81be-42f1-b5f3-5e390d34cffd_1178x849.gif) 53 | 54 | > **STEP 4: Click confirm once ready to initiate the transaction.** 55 | > 56 | > **Note: if this is your very first time interacting with pool pipes you will need to confirm an approval transaction at first so you will see 2 requests to confirm. Here’s a sample sETH->sUSD pool piping transaction:** [**https://etherscan.io/tx/0xf3029af4efae7a82aff195f1f4a3961f0b2fb5c24af8806cb0bc31a80a54abbc**](https://etherscan.io/tx/0xf3029af4efae7a82aff195f1f4a3961f0b2fb5c24af8806cb0bc31a80a54abbc)\*\*\*\* 57 | 58 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7dac56b-53d0-4d1e-a07d-1f434ff93a68_1557x633.png) 59 | {% endtab %} 60 | 61 | {% tab title="Video" %} 62 | {% embed url="https://www.youtube.com/watch?v=2iGoTyR9kAI" %} 63 | {% endtab %} 64 | 65 | {% tab title="Available Pipes" %} 66 | ![](../.gitbook/assets/curve-curve-pool-pipe.png) 67 | 68 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4a6785e-da0d-4fe2-b2a8-eee19808ad68_1902x2732.png) 69 | 70 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F184318bb-a4cd-497f-af22-6a82e86411f6_1902x1680.png) 71 | 72 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fff76026b-24e8-456f-82bb-8dcfb0d7b886_1902x1564.png) 73 | 74 | ![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0d7d0a21-2510-4659-a3a4-159ac190cbd9_1902x1564.png) 75 | 76 | {% hint style="info" %} 77 | While some of these may seem similar, each pipe contains optimizations to help you re-balance your assets with the least slippage. 78 | {% endhint %} 79 | {% endtab %} 80 | 81 | {% tab title="When to Pipe?" %} 82 | ### **When to ‘pipe’ aka rebalance?** 83 | 84 | Rebalance trigger parameters will differ based on your investment goals and risk profile but in general could be based one of these: 85 | 86 | * **Shifts in liquidity provisioning incentives.** 87 | * We saw this example with SNX shifting some incentives from sETH pool on Uniswap to sUSD pool on Curve. 88 | * **Shifts in trading activity within liquidity pools.** 89 | * As other pools start catching traction, liquidity providers could capture extra yield moving some assets to those pools. 90 | * _**Example**_: let’s say you are currently providing liquidity in the DAI/ETH pool on Uniswap V1 which currently averages ~$750K in daily exchange volume with ~$5.5M total liquidity supplied. As you might already know, fees generated from exchanges are proportionally split between all the liquidity providers of that pool. So what you are really looking for are pools with the highest volume/liquidity ratio to generate the most fees per $ supplied. Doing a quick sort by Vol/Liq on Zapper’s Explore Opportunities table, we can see how USDC/ETH pool is a great alternative as the volume is higher while total liquidity supplied is roughly the same. Also, this pool pair retains your previous pool’s asset exposures \(ETH+STABLECOIN\). Keep in mind, some trading activity spikes might be temporary so it’s important to analyze longer time frames to get better average estimates. 91 | * **General market shifts.** 92 | * As prices of underlying assets change, liquidity providers could diversify by reallocating liquidity between pegged and stable pools. 93 | * _**Example:**_ let’s say you are currently providing liquidity in the WETH/ETH pool on Uniswap \(aka ETH pegged pool\) and ETH price just doubled in the last 24 hours. You might anticipate some pull-back so you want to sell some of your ETH. But instead of simply selling, you could rebalance some of your liquidity straight into the highest yield generating stable pool on Curve. Now while you are waiting to ‘buy the dip’, your stablecoins are generating fees. To buy back in simply rebalance back into the WETH/ETH pool. 94 | * **Pool yield optimizations.** 95 | * As any yield hacker knows, opportunities in DeFi need to be capitalized ASAP. With pool piping, it’s never been easier to move liquidity around the DeFi ecosystem. Each pool pipe is a general smart contracts so once a pipe is deployed between two underlying platforms, anyone is able to instantly move liquidity between ANY pools within those platforms. Builders could deploy their own auto-rebalancing logic which uses pool pipes to shift liquidity based on set logic. 96 | {% endtab %} 97 | {% endtabs %} 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | ### ⚡️⚡️⚡️[**Get Started on Zapper.Fi**](http://zapper.fi/)⚡️⚡️⚡️ 106 | 107 | -------------------------------------------------------------------------------- /invest/pooling/README.md: -------------------------------------------------------------------------------- 1 | # Pool 2 | 3 | {% embed url="https://youtu.be/kbGhu1dxRhM" caption="How to Become a Liquidity Provider" %} 4 | 5 | ## What does "Pooling" mean 6 | 7 | > **Providing liquidity to** [_**constant function market makers**_](https://medium.com/bollinger-investment-group/constant-function-market-makers-defis-zero-to-one-innovation-968f77022159) _**& earning proportional exchange fees in return.**_ 8 | > 9 | > ### Traditional Finance: 10 | > 11 | > * Most exchanges _**maintain an order book**_ and facilitate matches between buyers and sellers. 12 | > * For each successful match, traders are charged _**exchange fees**_ which go directly to exchange operators. 13 | > 14 | > ### The DeFi Difference: 15 | > 16 | > * _**Smart contracts hold liquidity**_ reserves of various tokens, and trades are executed directly against these reserves. 17 | > * _**Prices are set automatically**_ using the constant product market maker mechanism, which keeps overall reserves in relative equilibrium. 18 | > * Reserves are pooled between a network of liquidity providers who supply the system with tokens and receive a _**proportional share of transaction fees**_ accrued. 19 | > * **IMPORTANT NOTE:** With fluctuating prices, liquidity providers may incur [**“impermanent loss”**](https://medium.com/@pintail/understanding-uniswap-returns-cc593f3499ef)**.** 20 | 21 | ## Adding Liquidity 22 | 23 | In the example below a user is supplying ETH and DAI to a Uniswap pool. After adding their assets, they receive Uniswap liquidity provider tokens which represent a share of the underlying assets in the smart contract. When supplying liquidity to Uniswap, the assets need to be provided in 50/50 proportions. For example, if adding $1000 in liquidity to the ETH-DAI pool, $500 worth of DAI and $500 worth of ETH must be added. 24 | 25 | ![Adding liquidity to the Uniswap ETH-DAI pool](../../.gitbook/assets/adding-liquidity.png) 26 | 27 | ## Zapper allows for access to the best pooling opportunities with a single click 28 | 29 | Zapper allows you to add liquidity in a single transaction. For example, if you only has ETH, but would like to to supply to the ETH-DAI Uniswap pair with Zapper you don't have to worry about manually converting half the ETH into DAI and then submit another transaction to add the liquidity. 30 | 31 | ![Part 1: Zapper contract swaps half of supplied for the needed asset](../../.gitbook/assets/zap1.png) 32 | 33 | Instead the Zapper contracts will handle this under the hood and will swap to exactly half the amount of ETH into DAI and will then add both assets to the Uniswap pool. Lastly, the contract will pass the liquidity provider tokens back to your address at the end of the transaction, both steps done in one transactions. 34 | 35 | ![Part 2: Both assets are supplied and the LP tokens are forwarded to the user's address](../../.gitbook/assets/zap2.png) 36 | 37 | ## Impermanent Loss TLDR 38 | 39 | Impermanent loss sounds like a scary term, but can be broken down into a simple balance between the amount of fees collected by a pool vs the amount of price shift between the supplied assets. Pairs that earn large amounts of fees tend to be the ones that have the most price divergence between the underlying assets. 40 | 41 | ![Uniswap LP Tokens are like a 50/50 weighted index](../../.gitbook/assets/50-50.png) 42 | 43 | In simple terms, when supplying liquidity it is easiest to think that when entering a pool that the liquidity provider tokens are a weighted index of the pool you are in. So when you zaps in your ETH into the ETH-DAI Uniswap pool they now hold an LP token that is somewhat like a 50/50 weighted index between ETH and DAI. This pool tends to earn lots of fees due to people frequently trading between the assets. However, as a liquidity provider, you no longer has full price exposure to ETH. 44 | 45 | ## Explore Different Pooling Opportunities 46 | 47 | {% page-ref page="uniswap.md" %} 48 | 49 | {% page-ref page="curve.md" %} 50 | 51 | {% page-ref page="balancer.md" %} 52 | 53 | -------------------------------------------------------------------------------- /invest/pooling/balancer.md: -------------------------------------------------------------------------------- 1 | # Balancer 2 | 3 | ![](../../.gitbook/assets/group-277.png) 4 | 5 | {% tabs %} 6 | {% tab title="Overview" %} 7 | {% hint style="info" %} 8 | ### A constant mean market maker is a generalization of a constant product market maker, allowing for more than two assets and weights outside of 50/50. 9 | {% endhint %} 10 | 11 | ![](../../.gitbook/assets/image.png) 12 | 13 | _where **R** is the **reserves** of each asset, **W** is the **weights** of each asset, and **k** is the **constant**. In other words, in the absence of fees, constant mean markets ensure that the **weighted geometric mean** of the reserves remains constant._ 14 | 15 | | **Balancer Protocol** | system of smart contracts for automated token exchange on Ethereum. | 16 | | :--- | :--- | 17 | | **Balancer Exchange** | opensource front-end interface for traders and liquidity providers to easily interact with Balancer smart contracts. | 18 | | **Balancer Pool** | Exchange contract containing ERC20 pairs. | 19 | | **Liquidity Providers** | can be anyone who is able to supply equal values of WETH or any ERC-20 token included in a Balancer exchange contract. | 20 | | **BPool** | ERC20 tokens which are minted by LPs from the exchange contract and can be used to withdraw their proportion of the liquidity at any time. | 21 | | **Traders** | exchange one asset for another asset. | 22 | | **Arbitrageurs** | maintain the price of assets within that portfolio in accordance with the market price in exchange for a profit. | 23 | {% endtab %} 24 | 25 | {% tab title="Balancer vs. Uniswap" %} 26 | {% embed url="https://docs.google.com/spreadsheets/d/1uDHwj57EsCBdKuPkE6dzr3ENjNDl2eOaxiS6DpJUd4I/edit?usp=sharing" caption="Comparison by Andrew Kang" %} 27 | {% endtab %} 28 | 29 | {% tab title="Adding liquidity" %} 30 | 1. **Connect with your wallet.** 31 | 2. **Choose which Balancer pool you would like to join.** 32 | 3. **Enter how much liquidity you would like to add.** 33 | 4. **Confirm the transaction & you will receive Balancer Pool Tokens which are ERC20 tokens that track your liquidity provided to the protocol.** 34 | 35 | ![](../../.gitbook/assets/cui3qnxovn.gif) 36 | 37 | {% hint style="warning" %} 38 | Note: slippage will increase with larger deposits because your input is being proportionally exchanged to obtain underlying assets required to join the pool with. In order to prevent unnecessary losses due to this price impact, _**currently the slippage limit is set to 5%. This means that if your exchange transaction experiences greater than 5% difference between the market and estimated price due to trade size, the transaction will revert.**_ 39 | {% endhint %} 40 | {% endtab %} 41 | 42 | {% tab title="Incentives" %} 43 | ## Add liquidity to [any Balancer pool](https://www.zapper.fi/invest) to receive $BAL rewards. 44 | 45 | On Monday, June 1st at 00:00 UTC \(i.e. at midnight from Sunday to Monday\), Balancer Labs will start considering liquidity held on Balancer protocol for the distribution of governance tokens. 46 | 47 | _**How to get involved.**_ ****Simply [**add liquidity to ANY liquidity pool on Balancer**](https://www.zapper.fi/invest) and you will automatically start accruing BAL tokens to your wallet. Not all pools receive equal BAL rewards, [**you can see how these are allocated here**.](http://www.predictions.exchange/uniswap_markets/) 48 | 49 | ## Add liquidity to [JRT based Balancer pools](https://www.zapper.fi/invest) to receive $BAL + $JRT rewards. 50 | 51 | ![Type in 'JRT' to filter out available pools on the invest tab](../../.gitbook/assets/chrome_ydbqwowneb.png) 52 | 53 | {% embed url="https://twitter.com/Jarvis\_Network/status/1275509060121645056?s=20" %} 54 | 55 | ## Add liquidity to _80% AUC - 20% ETH_ or _80% AUC - 20% USDC_ Balancer pools to start earning not only $BAL but also $AUC**.** 56 | 57 | * This incentive will run for 10 weeks, starting July 7. 58 | * Once you provide liquidity on Balancer, you’ll automatically start accumulating AUC rewards. 59 | * Each day a snapshot is taken to capture the liquidity contribution of each participant and rewards will be allocated proportionately to liquidity contribution. This is in addition to any BAL rewards or fees generated. 60 | * Rewards will be sent out on a weekly basis to all wallets with at least 300 AUC to be received. 61 | * After July 7, you will be able to track your rewards by accessing this same website. 62 | 63 | Learn more: [https://auctus.org/liquidity-mining/](https://auctus.org/liquidity-mining/) 64 | 65 | ## **\[DISCONTINUED\] Earn BAL + SNX tokens on top of pool returns by providing liquidity to the SNX/USDC pool.** 66 | 67 | {% embed url="https://www.youtube.com/watch?v=wyXuwiYJRzk" %} 68 | {% endtab %} 69 | {% endtabs %} 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /invest/pooling/curve.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Add liquidity to Curve pools & start generating fees on stable-coins. 3 | --- 4 | 5 | # Curve 6 | 7 | ![](../../.gitbook/assets/group-280.png) 8 | 9 | {% tabs %} 10 | {% tab title="Overview" %} 11 | {% hint style="info" %} 12 | ### Uses a hybrid of a constant sum and constant product, and arrives at quite a complex function below: 13 | {% endhint %} 14 | 15 | ![](../../.gitbook/assets/image%20%281%29.png) 16 | 17 | Where **x** is the reserves for each asset, **n** is the number of assets, **D** is an _invariant_ that represents the value in the reserve, and **A** is the “amplification coefficient”, which is a _tunable constant_ that provides an effect similar to leverage and influences the range of asset prices that will be profitable for liquidity providers \(i.e. the higher the asset volatility, the higher **A** should be\). 18 | 19 | This function acts as a **constant sum** when the portfolio is balanced and shifts towards a **constant product** as the portfolio becomes more imbalanced. In effect, the function looks like a “zoomed-in hyperbola”. 20 | 21 | ![Source: https://medium.com/bollinger-investment-group/constant-function-market-makers-defis-zero-to-one-innovation-968f77022159](../../.gitbook/assets/image%20%283%29.png) 22 | 23 | ## Who's this for? 24 | 25 | {% hint style="warning" %} 26 | Risk-averse: prefer stable and predictable income. 27 | {% endhint %} 28 | 29 | {% hint style="danger" %} 30 | Generally bearish on crypto markets for the time being. 31 | {% endhint %} 32 | {% endtab %} 33 | 34 | {% tab title="Add Liquidity" %} 35 | ![sUSD Curve Pooling Illustration](../../.gitbook/assets/ezgif.com-gif-maker-1.gif) 36 | 37 | 1. _**Connect**_ your digital wallet. 38 | 39 | _No wallet?_ [_**Get one.**_](https://metamask.io/)_\*\*\*\*_ 40 | 41 | 2. Navigate to the [**Invest**](https://www.zapper.fi/#/invest) tab. 42 | 3. Type in _**Curve**_ in the filter & click _**Add liquidity**_ next to the pool you would like to join. 43 | 4. ****Enter how much liquidity you would like to add in _**ETH or ERC20s** \(fiat coming soon\). Token balances show up in the drop-down if you have them available. ****_ 44 | 5. Confirm the transaction & you will receive Curve Pool Tokens \(CRV\) which are ERC20 tokens that track your liquidity provided to the protocol. 45 | 46 | {% embed url="https://twitter.com/DeFi\_Dad/status/1275577623473618944?s=20" %} 47 | 48 | {% hint style="info" %} 49 | **Note:** Curve pooling options will be included in [**Multipooling** ]()soon. For now, you are able to submit 2 separate transactions if you would like to add liquidity to both Curve and Uniswap pool. 50 | {% endhint %} 51 | {% endtab %} 52 | 53 | {% tab title="Remove Liquidity" %} 54 | ![](../../.gitbook/assets/5eloy7hedn.gif) 55 | 56 | 1. **As usual start by selecting which pool you want to exit.** 57 | 2. **For output you are able to select ETH, sUSD, DAI, USDC, TUSD, USDT, or BUSD.** 58 | 3. **Confirm your transaction.** 59 | {% endtab %} 60 | 61 | {% tab title="Incentives" %} 62 | ## Add liquidity to [sUSD pool on Curve ](https://www.zapper.fi/invest)+ stake your pool tokens to receive $BAL + $SNX + future $CRV rewards. 63 | 64 | ![1. Type in 'sUSD' to filter Curve sUSD pool.](../../.gitbook/assets/chrome_2psnreh6sm.png) 65 | 66 | ![2. Enter how much liquidity you would like to add.](../../.gitbook/assets/chrome_cv6vcbcdmd.png) 67 | 68 | ![3. Once you have sUSD Curve pool tokens, click stake. ](../../.gitbook/assets/chrome_sie91vu8re.png) 69 | 70 | ![4. Simply click confirm & your pool tokens will start accruing rewards.](../../.gitbook/assets/chrome_rfuoy9hwuk.png) 71 | 72 | ![5. View your current staked assets. Claim rewards / unstake anytime.](../../.gitbook/assets/chrome_f25fz7cdxi.png) 73 | 74 | ![](../../.gitbook/assets/chrome_itroncqp9s.png) 75 | 76 | ## Add liquidity to [sBTC pool on Curve ](https://www.zapper.fi/invest)+ stake your pool tokens to receive $BAL + $SNX + $REN + future $CRV rewards. 77 | 78 | {% embed url="https://www.youtube.com/watch?v=zAh0f2pDMSU&t=3s" %} 79 | 80 | ## Add liquidity to [YCurve pool ](https://www.zapper.fi/invest)+ stake your pool tokens to receive $YFI + future $CRV rewards. 81 | 82 | {% embed url="https://www.youtube.com/watch?v=IPcVXjL6ldo&t=112s" %} 83 | {% endtab %} 84 | {% endtabs %} 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /invest/pooling/futureswap-coming-soon.md: -------------------------------------------------------------------------------- 1 | # FutureSwap 2 | 3 | _Coming soon..._ 4 | 5 | -------------------------------------------------------------------------------- /invest/pooling/uniswap.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Add liquidity to pools on Uniswap & start generating fees. 3 | --- 4 | 5 | # Uniswap 6 | 7 | ![](../../.gitbook/assets/group-281.png) 8 | 9 | {% tabs %} 10 | {% tab title="Overview" %} 11 | | **Uniswap Protocol** | system of smart contracts for automated token exchange on Ethereum. | 12 | | :--- | :--- | 13 | | **Uniswap Exchange** | opensource front-end interface for traders and liquidity providers to easily interact with Uniswap’s smart contracts. | 14 | | **Pool** | ETH-ERC20 exchange contract. | 15 | | **Liquidity Providers** | can be anyone who is able to supply equal values of ETH and an ERC-20 token to a Uniswap exchange contract. | 16 | | **UNI-V1** | ERC20 tokens which are minted by LPs from Uniswap V1 exchange contract and can be used to withdraw their proportion of the liquidity at any time. | 17 | | **Traders** | exchange one asset for another asset. | 18 | | **Arbitrageurs** | maintain the price of assets within that portfolio in accordance with the market price in exchange for a profit. | 19 | | **Exchange fee** | 0.30% is added on to each trade and is proportionally split between UNI-V1 token holders AKA Liquidity Providers. | 20 | | **Market Function** | Constant Product _**x∗y=k**_ | 21 | {% endtab %} 22 | 23 | {% tab title="Who\'s this for?" %} 24 | > ### Liquidity provisioning within active pools is proving to be a great alternative to hedge your assets as exchange fees generated seem to be outpacing any impermanent losses incurred. Past few weeks we’ve witnessed some of the most volatile times in crypto history. Extreme volatility resulted in increased volume, especially around stable tokens such as DAI and USDC as many rushed to exit their crypto positions. For example, on March 13th alone, DAI<>ETH LPs proportionally earned ~$75,000 for processing ~$25M worth of swaps! 25 | 26 | {% hint style="danger" %} 27 | _Before entering a Uniswap Pool make sure you understand the concept of impermanent loss which_ [_was covered here_](https://bankless.substack.com/p/how-to-make-money-on-uniswap) _or_ [_here_](https://medium.com/@pintail/uniswap-a-good-deal-for-liquidity-providers-104c0b6816f2) _so you’ve have clear expectations on gain and loss potential._ 28 | {% endhint %} 29 | 30 | #### **Choosing a pool** 31 | 32 | Broadly speaking, there are three types of pools to consider within Uniswap: 33 | 34 | **Pegged Pools** 35 | 36 | * Low risk/ low reward. 37 | * Some have extra incentives: e.g. ETH-sETH. 38 | * These pools are for tokens pegged to ETH, meaning you maintain full exposure to ETH while collecting trading fees AND accruing SNX rewards from Synthetix if you stake your LP. We've been experimenting with [zUNI ](https://defitutorials.substack.com/p/zuni-programmable-pooling-incentives)tokens which "Chai-fi" your LP staking experience while automatically re-staking accrued rewards. Keep in mind zUNIs haven not been deployed on the mainnet yet, we want to make sure these are thoroughly tested. 39 | 40 | **Stable Pools** 41 | 42 | * High risk/ high reward. 43 | * e.g. ETH-DAI. 44 | * These pools are historically popular with traders and often generate a good deal in fees. There is risk of missing out on ETH returns should its price break significantly upwards \(or downwards\). But if the fees are high enough, they typically beat this opportunity cost. 45 | 46 | **Token Pools** 47 | 48 | * For existing token holders of underlying ERC20 tokens OR active liquidity providers looking for extra yield/diversifying assets. 49 | * e.g. ETH-MKR. 50 | * If you’re already exposed to tokens, there is little harm in supplying liquidity to established pools. Still make sure to do thorough research before making the decision. 51 | 52 | If you’re just starting out as a liquidity provider, try sticking with established pools that have deep liquidity, high trading volume and lots of other liquidity providers. 53 | 54 | Avoid low liquidity pools. There is no reasonable expectation of profit starting a new pool or contributing to low liquidity pools as an individual. 55 | 56 | Also use caution interacting with pools whose tokens are highly specialized. For example, deflationary token supply mechanisms may severely impact returns. 57 | {% endtab %} 58 | 59 | {% tab title="Calculating ROI" %} 60 | | DAI Pool Analysis Example | Block _**\[Time\]**_ | 61 | | :--- | :--- | 62 | | `Start` | \*\*\*\*[**\#8,957,433** _****_](https://etherscan.io/tx/0x32d2b60e4b627d5b4d5e9c7369590b53f4512c8c0fccc4401b03c38df4ff4424)_\[Nov-18-2019 04:15:18 PM +UTC\]_ | 63 | | `End` | _\*\*\*\*_[_**\#9,692,210**_](https://etherscan.io/block/9692210) _****\[_Mar-17-2020 11:58:52 PM +UTC_\]_ | 64 | 65 | ![](../../.gitbook/assets/3cusvt4nxs.gif) 66 | 67 | #### 📊 ****ROI SUMMARY SINCE POOL INCEPTION - MAR 17: 68 | 69 | {% hint style="danger" %} 70 | HOLDING 100% ETH:🔻**35.97%** 71 | {% endhint %} 72 | 73 | {% hint style="warning" %} 74 | HOLDING 50/50 ETH/DAI:🔻**17.98%** 75 | {% endhint %} 76 | 77 | {% hint style="success" %} 78 | DAI LP:🔻**10.07%** 🔥 79 | {% endhint %} 80 | 81 | ### NOTE: These are total pool returns, not individual liquidity providers. Returns for individual LPs will vary highly depending on their proportional share throughout the pooling period. 82 | 83 | ### Why? Because if you have 1/10 of all liquidity in the pool, you will generate 10% of all trading fees \(.30 % paid by traders\) but let's say someone adds double the liquidity -> now proportionally you have 1/20. Given the same volume, you will generate less fees since you will only be receiving 5% of all trading fees. 84 | 85 | {% hint style="success" %} 86 | **You make the highest returns when there’s high trading volume and low price change between the pair. Or when price is volatile but goes back to the ratio you started with.** 87 | {% endhint %} 88 | 89 | {% hint style="danger" %} 90 | **You make the least returns when there’s low trading volume and high price change.** 91 | {% endhint %} 92 | 93 | {% hint style="info" %} 94 | **LP Net Gains =** 95 | 96 | **ETH + ERC20 proportions @withdrawal** 97 | 98 | _**minus**_ 99 | 100 | **ETH + ERC20 proportions @entry** 101 | 102 | \*This result would be the difference between the trading fees and the impermanent loss when you withdraw. 103 | {% endhint %} 104 | 105 | **Additional Resources:** 106 | 107 | * This report is based on a cadCAD model of Uniswap by [Markus Buhatem Koch](https://community.cadcad.org/t/modeling-uniswap-in-cadcad/35) 108 | {% endtab %} 109 | 110 | {% tab title="" %} 111 | 112 | {% endtab %} 113 | 114 | {% tab title="Add liquidity" %} 115 | {% embed url="https://www.youtube.com/watch?v=hUegWuLhWA8" %} 116 | 117 | ### **A. Adding liquidity with 2 assets.** 118 | 119 | * **In order to mint pool tokens, you are required to deposit an equivalent value of ETH and ERC20 tokens.** 120 | * **So providing liquidity on an ETH/DAI pair could require you to trade half your ETH exposure for DAI in order to participate.** 121 | 122 | ![](../../.gitbook/assets/unipool.png) 123 | 124 | ### **B. Adding liquidity with 1 asset AKA 'Unipooling'.** 125 | 126 | * **Zapper enables liquidity provisioning with** _**a single asset \(ETH or ERC20 tokens\)**_**.** 127 | * **Ideal for those who don't have required underlying ERC20 tokens.** 128 | * **Save 3 or more on-chain transactions to mint Uniswap pool tokens.** 129 | 130 | {% hint style="warning" %} 131 | Note: slippage will increase with larger deposits because your input is being proportionally exchanged to obtain underlying assets required to join the pool with. In order to prevent unnecessary losses due to this price impact, _**currently the slippage limit is set to 5%. This means that if your exchange transaction experiences greater than 5% difference between the market and estimated price due to trade size, the transaction will revert.**_ 132 | {% endhint %} 133 | 134 | **Walk-through:** 135 | 136 | 1. _**Connect**_ your digital wallet. _No wallet?_ [_**Get one.**_](https://metamask.io/)_\*\*\*\*_ 137 | 2. Navigate to the [**Invest**](https://www.zapper.fi/#/invest) tab. 138 | 3. Type in _**Uniswap**_ in the filter & click _**Add liquidity**_ next to the pool you would like to join. 139 | 4. Enter how much liquidity you would like to add in _**ETH or ERC20s** \(fiat coming soon\). Token balances show up in the drop-down if you have them available. ****_ 140 | 5. Confirm the transaction & you will receive Uniswap V1 or V2 tokens which are ERC20 tokens that track your liquidity provided to the protocol. 141 | {% endtab %} 142 | 143 | {% tab title="Remove Liquidity" %} 144 | {% embed url="https://youtu.be/xvUbqC6UTqc" %} 145 | {% endtab %} 146 | 147 | {% tab title="Incentives" %} 148 | ## Add liquidity to [ETH/AMPL pool](https://www.zapper.fi/invest) + stake your pool tokens in the '[Geyser](https://www.ampleforth.org/dapps/#)' to receive extra AMPL rewards. 149 | 150 | ![](../../.gitbook/assets/chrome_ekaqiolptp.png) 151 | 152 | ## \[DISCONTINUED\] sETH Uniswap Pool provides extra incentives to those who further stake their LPs in Synthetix unipool contract which accrues proportional SNX rewards as a bonus from the project team itself. 153 | {% endtab %} 154 | {% endtabs %} 155 | 156 | -------------------------------------------------------------------------------- /invest/pooling/yearn-vaults.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: yearn.finance/vaults 3 | --- 4 | 5 | # Yearn Vaults 6 | 7 | ## ⚡️Easily enter any available Yearn Vault from [Zapper.fi](https://zapper.fi) ⚡️ 8 | 9 | {% embed url="https://www.youtube.com/watch?v=jzlo5sl\_wA4" caption="" %} 10 | 11 | #### View more info [https://www.learnyearn.finance/vaults/yapper](https://www.learnyearn.finance/vaults/yapper) 12 | 13 | {% tabs %} 14 | {% tab title="Stable" %} 15 | ![](../../.gitbook/assets/stable-vaults.png) 16 | {% endtab %} 17 | 18 | {% tab title="yCRV LP" %} 19 | ![](../../.gitbook/assets/ycrv-vault.png) 20 | {% endtab %} 21 | 22 | {% tab title="$YFI" %} 23 | ![](../../.gitbook/assets/yfi-vault%20%281%29.png) 24 | {% endtab %} 25 | 26 | {% tab title="$LINK \(Delegated\)" %} 27 | ![](../../.gitbook/assets/link-vault%20%283%29%20%282%29%20%282%29%20%281%29%20%282%29.png) 28 | {% endtab %} 29 | {% endtabs %} 30 | 31 | -------------------------------------------------------------------------------- /zapper-api/api-getting-started.md: -------------------------------------------------------------------------------- 1 | # Getting Started 2 | 3 | ![](../.gitbook/assets/zapper_api_logo.png) 4 | 5 | 6 | 7 | The Zapper API provides some of the most robust DeFi related data, everything from liquidity and prices on different AMMs to complex DeFi protocol balances all in one convenient place. In addition, the API also supports bridging between different networks as well as formatted Zap transaction endpoints. 8 | 9 | {% hint style="info" %} 10 | We ask that builders using the API include our **"Powered by Zapper"** logo with a backlink to [https://zapper.fi](https://zapper.fi) in their project. **"Powered by Zapper"** brand asset can be downloaded [here](../additional-resources/brand-assets.md). 11 | {% endhint %} 12 | 13 | ### Data Endpoints 14 | 15 | The Zapper Developer APIs provides the Ethereum community with accessible and consistent DeFi data for an ever increasing number of protocols. For a full list of supported protocols, see [**here**](https://zapper.fi/protocols). Check out the [guides](api-guides/#data-api) section to see how to query account balances, pool stats, and more. 16 | 17 | ![](../.gitbook/assets/data_api.png) 18 | 19 | ### Transactions Endpoints 20 | 21 | The Zapper API Transaction endpoints makes it easy for builders to interact directly with a wide range of DeFi protocols. Get an easy to consume transaction for approving, adding, removing, and rebalancing liquidity through any of our [zap contracts](../zapper-smart-contracts/smart-contracts.md). Making it a breeze to submit a DeFi related transaction. 22 | 23 | ![API returns transaction components](../.gitbook/assets/transaction-data.png) 24 | 25 | This API returns a transaction object which includes all of the contextual data needed to be consumed by [Web3](https://web3js.readthedocs.io/en/v1.2.0/web3-eth.html#sendtransaction), Ethers or other Smart Contracts. This enables anyone to assemble and execute a complex Zap including multi exchange hops and interacting with several DeFi protocols in a single atomic transaction. To learn more, check out the [guides](api-guides/) section. 26 | 27 | ## API Support 28 | 29 | {% hint style="info" %} 30 | For any API related inquiries, please reach out in the **`build-on-zapper`** channel in our [Discord](https://discord.com/invite/5C4wxPr). 31 | {% endhint %} 32 | 33 | -------------------------------------------------------------------------------- /zapper-api/api-guides/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: This section contains helpful guides for interacting with Zapper API 3 | --- 4 | 5 | # API Guides 6 | 7 | ## Transaction Endpoints 8 | 9 | Assembling a Zap transaction is simple to do with the Transaction endpoints. Provide basic details like the token to sell, pool or vault to interact with, and token quantities to send and the API will assemble and return an easy to consume Zap transaction for you to use in apps or smart contracts. 10 | 11 | The same patterns shown in these guides can be applied to all of the [zaps](../../zapper-smart-contracts/smart-contracts.md) offered by Zapper 12 | 13 | * The [Yearn Zap In guide](zap-in.md) demonstrates how to create an easy to consume transaction object for interacting with Zaps with web3 or in your smart contracts directly. 14 | * The [Sushiswap Zap Out guide](zap-out.md) goes over how to create and consume a transaction object to enable one click Zap Outs from Sushiswap into ETH or any arbitrary token 15 | 16 | ![](../../.gitbook/assets/transaction-data.png) 17 | 18 | ## Data Endpoints 19 | 20 | ### Pool/Vault Stats and Account Balances 21 | 22 | The same patterns shown here can be used for any of Zapper's [supported platforms](https://zapper.fi/protocols). 23 | 24 | * The Yearn [Vault Stats guide](vault-stats.md) shows you how to pull data from the Zapper Data Endpoints. Vault stats includes platforms whose deposits are used for automated farming strategies \(e.g. Yearn, Harvest, Pickle, etc.\) 25 | * The [Sushiswap Pool Stats guide ](pool-stats.md)shows you how to get pool data from the Zapper Data API. Pool stats includes platforms whose deposits are pooled as liquidity for exchanges \(e.g. Sushiswap, Uniswap, Balancer, etc.\) 26 | * Fetching user balances for Zapper's supported platforms is also possible. Check out the [Protocol Balances guide](curve-balances.md) for examples. 27 | 28 | ### Tokens, Gas Prices, Misc 29 | 30 | * The [Token Balances API](token-balances.md) returns a list of tokens for which the account has a balance. 31 | * The [Prices API]() returns an easy to consume list of Zapper's supported tokens and their USD prices. 32 | * The [Gas Price API](gas-price.md) returns Zapper's current gas prices. 33 | 34 | ## API Support 35 | 36 | {% hint style="info" %} 37 | For any API related inquiries, please reach out in the **`build-on-zapper`** channel in our [Discord](https://discord.com/invite/5C4wxPr). 38 | {% endhint %} 39 | 40 | -------------------------------------------------------------------------------- /zapper-api/api-guides/curve-balances.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get an account's Curve balances 3 | --- 4 | 5 | # Protocol Balances 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API Overview ](../api-getting-started.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | {% hint style="info" %} 12 | You can directly test out the protocol balances endpoint [**here**](https://api.zapper.fi/api/static/index.html#/default/BalanceController_getProtocolBalances). 13 | {% endhint %} 14 | 15 | ### Curve Balances 16 | 17 | The Curve balances endpoint returns an account's balance data for all of Zapper's supported Curve pools. The returned data includes raw, USD, and underlying token balances of an account, in addition to contextual information about each pool for which the account has a balance. This endpoint is useful to query account balances for pools in Curve's ecosystem. 18 | 19 | {% api-method method="get" host="https://api.zapper.fi" path="/v1/protocols/curve/balances" %} 20 | {% api-method-summary %} 21 | Get Curve Balances 22 | {% endapi-method-summary %} 23 | 24 | {% api-method-description %} 25 | Returns balance data for Curve pools 26 | {% endapi-method-description %} 27 | 28 | {% api-method-spec %} 29 | {% api-method-request %} 30 | {% api-method-path-parameters %} 31 | {% api-method-parameter name="protocol" type="string" required=true %} 32 | The specific protocol to get balances for. In this case **Curve** 33 | {% endapi-method-parameter %} 34 | {% endapi-method-path-parameters %} 35 | 36 | {% api-method-query-parameters %} 37 | {% api-method-parameter name="addresses\[\]" type="string" required=true %} 38 | Array of addresses to query for balance 39 | {% endapi-method-parameter %} 40 | 41 | {% api-method-parameter name="api\_key" type="string" required=true %} 42 | Authentication token 43 | {% endapi-method-parameter %} 44 | {% endapi-method-query-parameters %} 45 | {% endapi-method-request %} 46 | 47 | {% api-method-response %} 48 | {% api-method-response-example httpCode=200 %} 49 | {% api-method-response-example-description %} 50 | Successful response from vault-stats endpoint 51 | {% endapi-method-response-example-description %} 52 | 53 | ``` 54 | { 55 | "0xb1a...": { 56 | "products": [ 57 | { 58 | "label": "Curve", 59 | "assets": [ 60 | { 61 | "type": "pool", 62 | "category": "pool", 63 | "address": "0x3b3ac5386837dc563660fb6a0937dfaa5924333b", 64 | "decimals": 18, 65 | "label": "BUSD", 66 | "symbol": "BUSD", 67 | "share": 2.733268612429166e-7, 68 | "supply": 58686684.43771173, 69 | "tokens": [ 70 | { 71 | "decimals": 18, 72 | "address": "0x6b175474e89094c44da98b954eedeac495271d0f", 73 | "symbol": "DAI", 74 | "balance": 3.525232950015166, 75 | "balanceUSD": 3.4663439335851627, 76 | "reserve": 12897499.11144719, 77 | "price": 0.983295 78 | }, 79 | { 80 | "decimals": 6, 81 | "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", 82 | "symbol": "USDC", 83 | "balance": 4.698445147973828, 84 | "balanceUSD": 4.667660935364304, 85 | "reserve": 17189840.495765, 86 | "price": 0.993448 87 | }, 88 | { 89 | "decimals": 6, 90 | "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", 91 | "symbol": "USDT", 92 | "balance": 3.6609429114733385, 93 | "balanceUSD": 3.6235244139751694, 94 | "reserve": 13394010.727031, 95 | "price": 0.989779 96 | }, 97 | { 98 | "decimals": 18, 99 | "address": "0x4fabb145d64652a948d72533023f6e7a623c7c53", 100 | "symbol": "BUSD", 101 | "balance": 4.784708349311653, 102 | "balanceUSD": 4.751459410992286, 103 | "reserve": 17505445.046834566, 104 | "price": 0.993051 105 | } 106 | ], 107 | "protocol": "curve", 108 | "protocolSymbol": "Curve", 109 | "protocolDisplay": "Curve", 110 | "price": 1.1000502438824038, 111 | "balance": 16.040647254113267, 112 | "balanceRaw": "16040647254113267158", 113 | "balanceUSD": 16.508988693916923 114 | }, 115 | { 116 | "type": "pool", 117 | "category": "pool", 118 | "address": "0x02d341ccb60faaf662bc0554d13778015d1b285c", 119 | "decimals": 18, 120 | "label": "sAAVE", 121 | "symbol": "sAAVE", 122 | "share": 0.000008643510065527967, 123 | "supply": 21250428.326960705, 124 | "tokens": [ 125 | { 126 | "decimals": 18, 127 | "address": "0x6b175474e89094c44da98b954eedeac495271d0f", 128 | "symbol": "DAI", 129 | "balance": 145.6124501753291, 130 | "balanceUSD": 143.17999419515021, 131 | "reserve": 16846448.846755028, 132 | "price": 0.983295 133 | }, 134 | { 135 | "decimals": 18, 136 | "address": "0x57ab1ec28d129707052df4df418d58a2d46d5f51", 137 | "symbol": "sUSD", 138 | "balance": 44.013938567751055, 139 | "balanceUSD": 44.454077953428566, 140 | "reserve": 5092137.133418445, 141 | "price": 1.01 142 | } 143 | ], 144 | "protocol": "curve", 145 | "protocolSymbol": "Curve", 146 | "protocolDisplay": "Curve", 147 | "price": 1.026851565402617, 148 | "balance": 183.67829114086547, 149 | "balanceRaw": "183678291140865471191", 150 | "balanceUSD": 187.63407214857878 151 | }, 152 | { 153 | "type": "pool", 154 | "category": "pool", 155 | "address": "0xd2967f45c4f384deea880f807be904762a3dea07", 156 | "decimals": 18, 157 | "label": "GUSD", 158 | "symbol": "GUSD", 159 | "share": 0.0000074471106833135844, 160 | "supply": 87634608.23650196, 161 | "tokens": [ 162 | { 163 | "decimals": 2, 164 | "address": "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd", 165 | "symbol": "GUSD", 166 | "balance": 321.8520051985404, 167 | "balanceUSD": 311.16651862594887, 168 | "reserve": 43218372.72, 169 | "price": 0.9668 170 | }, 171 | { 172 | "decimals": 18, 173 | "address": "0x6c3f90f043a72fa612cbac8115ee7e52bde6e490", 174 | "symbol": "3CRV", 175 | "balance": 335.94138837888687, 176 | "balanceUSD": 337.64913571022237, 177 | "reserve": 45110298.83463611, 178 | "price": 1.0050834681001242 179 | } 180 | ], 181 | "protocol": "curve", 182 | "protocolSymbol": "Curve", 183 | "protocolDisplay": "Curve", 184 | "price": 1.0020787702024336, 185 | "balance": 652.6246272260544, 186 | "balanceRaw": "652624627226054336269", 187 | "balanceUSD": 648.8156543361713 188 | } 189 | ], 190 | "meta": [] 191 | } 192 | ], 193 | "meta": [ 194 | { 195 | "label": "Total", 196 | "value": 852.958715178667, 197 | "type": "dollar" 198 | }, 199 | { 200 | "label": "Assets", 201 | "value": 852.958715178667, 202 | "type": "dollar" 203 | }, 204 | { 205 | "label": "Debt", 206 | "value": 0, 207 | "type": "dollar" 208 | } 209 | ] 210 | } 211 | } 212 | ``` 213 | {% endapi-method-response-example %} 214 | 215 | {% api-method-response-example httpCode=400 %} 216 | {% api-method-response-example-description %} 217 | Error response from vault-stats endpoint 218 | {% endapi-method-response-example-description %} 219 | 220 | ``` 221 | { 222 | "statusCode": 400, 223 | "message": [ 224 | "A helpful error message" 225 | ], 226 | "error": "Bad Request" 227 | } 228 | 229 | ``` 230 | {% endapi-method-response-example %} 231 | {% endapi-method-response %} 232 | {% endapi-method-spec %} 233 | {% endapi-method %} 234 | 235 | -------------------------------------------------------------------------------- /zapper-api/api-guides/gas-price.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get Zapper's current gas prices 3 | --- 4 | 5 | # Gas Price 6 | 7 | ## Overview 8 | 9 | The prices endpoint returns Zapper's current Ethereum, BSC, and Polygon/Matic network gas prices 10 | 11 | {% api-method method="get" host="http://api.zapper.fi/" path="v1/gas-price" %} 12 | {% api-method-summary %} 13 | Get Gas Prices 14 | {% endapi-method-summary %} 15 | 16 | {% api-method-description %} 17 | Returns the standard, fast, and instant gas price in GWEI. 18 | 19 | To convert to WEI multiply response values by 10 \*\* 9 20 | 21 | `network` can be one of `ethereum`,`binance-smart-chain`, `polygon`. Returns `ethereum` network gas prices if left blank. 22 | {% endapi-method-description %} 23 | 24 | {% api-method-spec %} 25 | {% api-method-request %} 26 | {% api-method-query-parameters %} 27 | {% api-method-parameter name="eip1559" type="boolean" required=true %} 28 | Retrieve post London gas price details 29 | {% endapi-method-parameter %} 30 | 31 | {% api-method-parameter name="api\_key" type="string" required=true %} 32 | Authorization token 33 | {% endapi-method-parameter %} 34 | 35 | {% api-method-parameter name="network" type="string" required=false %} 36 | Network to get gas prices for 37 | {% endapi-method-parameter %} 38 | {% endapi-method-query-parameters %} 39 | {% endapi-method-request %} 40 | 41 | {% api-method-response %} 42 | {% api-method-response-example httpCode=200 %} 43 | {% api-method-response-example-description %} 44 | Gas prices successfully retrieved. 45 | {% endapi-method-response-example-description %} 46 | 47 | ``` 48 | // Pre-London 49 | { 50 | "standard": 75, 51 | "fast": 84.000001459, 52 | "instant": 90 53 | } 54 | // Post-London 55 | { 56 | "standard": { 57 | "baseFeePerGas": 42, 58 | "maxPriorityFeePerGas": 2, 59 | "maxFeePerGas": 83 60 | }, 61 | "fast": { 62 | "baseFeePerGas": 42, 63 | "maxPriorityFeePerGas": 2, 64 | "maxFeePerGas": 83 65 | }, 66 | "instant": { 67 | "baseFeePerGas": 42, 68 | "maxPriorityFeePerGas": 2, 69 | "maxFeePerGas": 83 70 | } 71 | } 72 | ``` 73 | {% endapi-method-response-example %} 74 | 75 | {% api-method-response-example httpCode=404 %} 76 | {% api-method-response-example-description %} 77 | Error response from gas-price endpoint 78 | {% endapi-method-response-example-description %} 79 | 80 | ``` 81 | { 82 | "statusCode": 400, 83 | "message": [ 84 | "A helpful error message" 85 | ], 86 | "error": "Bad Request" 87 | } 88 | ``` 89 | {% endapi-method-response-example %} 90 | {% endapi-method-response %} 91 | {% endapi-method-spec %} 92 | {% endapi-method %} 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /zapper-api/api-guides/pool-stats.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get Pool data for all of Zapper's supported Sushiswap Pools 3 | --- 4 | 5 | # Pool Stats 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../api-getting-started.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The Sushiswap pool stats endpoint returns contextual data for all of Zapper's supported Sushiswap pools. The returned data includes information such as each pool's address, liquidity, total supply, USD price, underlying tokens, and more. This endpoint is useful to query statistics about the pools in Sushiswap's ecosystem or to use the returned data \(like the address property\) as parameters in the Transactions API as shown [here](zap-in.md#zap-in). 12 | 13 | {% api-method method="get" host="https://api.zapper.fi/" path="v1/pool-stats/sushiswap" %} 14 | {% api-method-summary %} 15 | Get Sushiswap Pool Stats 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns pool stats data for Sushiswap pools. 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="api\_key" type="string" required=true %} 26 | Whether the cake should be gluten-free or not. 27 | {% endapi-method-parameter %} 28 | {% endapi-method-query-parameters %} 29 | {% endapi-method-request %} 30 | 31 | {% api-method-response %} 32 | {% api-method-response-example httpCode=200 %} 33 | {% api-method-response-example-description %} 34 | Successful response from vault-stats endpoint 35 | {% endapi-method-response-example-description %} 36 | 37 | ``` 38 | [ 39 | { 40 | "address": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 41 | "decimals": 18, 42 | "value": "WBTC / ETH", 43 | "label": "WBTC / ETH", 44 | "symbol": "WBTC / ETH", 45 | "contractAddress": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 46 | "exchangeAddress": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 47 | "tokenAddress": "0xceff51756c56ceffca006cd410b03ffc46dd3a58", 48 | "tokens": [ 49 | { 50 | "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", 51 | "decimals": 8, 52 | "price": 50693, 53 | "reserve": 8741.42459664, 54 | "symbol": "WBTC", 55 | "hide": false, 56 | "hideFromExplore": false 57 | }, 58 | { 59 | "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", 60 | "decimals": 18, 61 | "price": 1662.01, 62 | "reserve": 265809.06835221, 63 | "symbol": "WETH", 64 | "hide": false, 65 | "hideFromExplore": false 66 | } 67 | ], 68 | "protocol": "sushiswap", 69 | "protocolSymbol": "SUSHI", 70 | "protocolDisplay": "SushiSwap", 71 | "liquidity": 884906366.769528, 72 | "volume": 39273930.86863661, 73 | "volumeChangePercentage": 0.009623654778511664, 74 | "volliq": 0.04438201864453917, 75 | "feeVolume": 117821.79260590982, 76 | "fee": 0.003, 77 | "dailyROI": 0.0001331460559336175, 78 | "weeklyROI": 0.0009320223915353224, 79 | "supply": 0.0202664809417539, 80 | "pricePerToken": 43663543232.43187, 81 | "price0": 50693, 82 | "price1": 1662.01, 83 | "isBlocked": false, 84 | "hideFromExplore": false, 85 | "yearlyROI": 0.04846516435983676 86 | }, 87 | ] 88 | ``` 89 | {% endapi-method-response-example %} 90 | 91 | {% api-method-response-example httpCode=400 %} 92 | {% api-method-response-example-description %} 93 | Error response from vault-stats endpoint 94 | {% endapi-method-response-example-description %} 95 | 96 | ``` 97 | { 98 | "statusCode": 400, 99 | "message": [ 100 | "A helpful error message" 101 | ], 102 | "error": "Bad Request" 103 | } 104 | ``` 105 | {% endapi-method-response-example %} 106 | {% endapi-method-response %} 107 | {% endapi-method-spec %} 108 | {% endapi-method %} 109 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /zapper-api/api-guides/vault-stats.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Get Vault data for all of Zapper's supported Yearn Vaults 3 | --- 4 | 5 | # Vault Stats 6 | 7 | ## Overview 8 | 9 | Ensure you have read the [Zapper API ](../api-getting-started.md)section for a brief overview of the API types and to acquire an API key. This guide uses the Zapper Data API. 10 | 11 | The yearn vault stats endpoint returns contextual data for all of Zapper's supported yVaults. The returned data includes information such as each yVault's address, liquidity, total supply, USD price, underlying tokens, and more. This endpoint is useful to query statistics about the vaults in yearn's ecosystem or to use the returned data \(like the address property\) as parameters in the Transactions API as shown [here](zap-in.md#zap-in) 12 | 13 | {% api-method method="get" host="https://api.zapper.fi" path="/v1/vault-stats/yearn" %} 14 | {% api-method-summary %} 15 | Get yearn Vault Stats 16 | {% endapi-method-summary %} 17 | 18 | {% api-method-description %} 19 | Returns vault stats data for yearn Vaults. 20 | {% endapi-method-description %} 21 | 22 | {% api-method-spec %} 23 | {% api-method-request %} 24 | {% api-method-query-parameters %} 25 | {% api-method-parameter name="api\_key" type="string" required=true %} 26 | Whether the cake should be gluten-free or not. 27 | {% endapi-method-parameter %} 28 | {% endapi-method-query-parameters %} 29 | {% endapi-method-request %} 30 | 31 | {% api-method-response %} 32 | {% api-method-response-example httpCode=200 %} 33 | {% api-method-response-example-description %} 34 | Successful response from vault-stats endpoint 35 | {% endapi-method-response-example-description %} 36 | 37 | ``` 38 | [ 39 | { 40 | "address": "0x5533ed0a3b83f70c3c4a1f69ef5546d3d4713e44", 41 | "contractAddress": "0x5533ed0a3b83f70c3c4a1f69ef5546d3d4713e44", 42 | "tokenAddress": "0x5533ed0a3b83f70c3c4a1f69ef5546d3d4713e44", 43 | "symbol": "crvSUSD Vault", 44 | "label": "crvSUSD Vault", 45 | "value": "crvSUSD Vault", 46 | "isAave": false, 47 | "isCurve": true, 48 | "pricePerToken": 1.048763587843297, 49 | "liquidity": 21678402.62753494, 50 | "supply": 20670437.912623316, 51 | "protocol": "yearn", 52 | "protocolDisplay": "Yearn", 53 | "protocolSymbol": "YFI", 54 | "decimals": 18, 55 | "isBlocked": false, 56 | "canDeposit": true, 57 | "pricePerShare": 1.0104455587208072, 58 | "version": "v1", 59 | "tokens": [ 60 | { 61 | "label": "sUSD Curve", 62 | "value": "sUSD", 63 | "protocol": "curve", 64 | "protocolDisplay": "Curve", 65 | "protocolSymbol": "CRV", 66 | "decimals": 18, 67 | "address": "0xFCBa3E75865d2d561BE8D220616520c171F12851", 68 | "tokenAddress": "0xc25a3a3b969415c80451098fa907ec722572917f", 69 | "exchangeAddress": "0xa5407eae9ba41422680e2e00537571bcc53efbfd", 70 | "contractAddress": "0xFCBa3E75865d2d561BE8D220616520c171F12851", 71 | "depositAddress": "0xFCBa3E75865d2d561BE8D220616520c171F12851", 72 | "liquidity": 174414609.5248811, 73 | "pricePerToken": 1.0379219135477216, 74 | "volume": 42375366.28463072, 75 | "feeVolume": 16950.14651385229, 76 | "fee": 0.0004, 77 | "volliq": 0.2429576650721204, 78 | "isBlocked": false, 79 | "isBtc": false, 80 | "isMetaPool": false, 81 | "tokens": [ 82 | { 83 | "symbol": "sUSD", 84 | "address": "0x57ab1ec28d129707052df4df418d58a2d46d5f51", 85 | "decimals": 18, 86 | "price": 1.01, 87 | "reserve": 28500032.395438664, 88 | "reserveUSD": 28785032.719393052 89 | }, 90 | { 91 | "symbol": "DAI", 92 | "address": "0x6b175474e89094c44da98b954eedeac495271d0f", 93 | "decimals": 18, 94 | "price": 1, 95 | "reserve": 47748788.94028079, 96 | "reserveUSD": 47748788.94028079 97 | }, 98 | { 99 | "symbol": "USDC", 100 | "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", 101 | "decimals": 6, 102 | "price": 0.999263, 103 | "reserve": 48172234.364747, 104 | "reserveUSD": 48136731.42802019 105 | }, 106 | { 107 | "symbol": "USDT", 108 | "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", 109 | "decimals": 6, 110 | "price": 1, 111 | "reserve": 49669301.824872, 112 | "reserveUSD": 49669301.824872 113 | } 114 | ], 115 | "supply": 168042130.384081, 116 | "dailyROI": 0.00009718306602884817, 117 | "weeklyROI": 0.0006802814622019371, 118 | "yearlyROI": 0.03537463603450073, 119 | "symbol": "sUSD Curve" 120 | } 121 | ] 122 | }, 123 | {Subsequent vaults...}, 124 | ] 125 | 126 | ``` 127 | {% endapi-method-response-example %} 128 | 129 | {% api-method-response-example httpCode=400 %} 130 | {% api-method-response-example-description %} 131 | Error response from vault-stats endpoint 132 | {% endapi-method-response-example-description %} 133 | 134 | ``` 135 | { 136 | "statusCode": 400, 137 | "message": [ 138 | "A helpful error message" 139 | ], 140 | "error": "Bad Request" 141 | } 142 | ``` 143 | {% endapi-method-response-example %} 144 | {% endapi-method-response %} 145 | {% endapi-method-spec %} 146 | {% endapi-method %} 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /zapper-api/endpoints.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: A list of all the public Zapper API endpoints 3 | --- 4 | 5 | # Endpoints 6 | 7 | ## Public API Key 8 | 9 | The Zapper API uses [API Keys](https://swagger.io/docs/specification/authentication/api-keys/) to authenticate requests. Zapper has made available for public use the following API key **`api_key=96e0cc51-a62e-42ca-acee-910ea7d2a241`** 10 | 11 | {% hint style="info" %} 12 | We ask that builders using the API include our **"Powered by Zapper"** logo with a backlink to [https://zapper.fi](https://zapper.fi) in their project. **"Powered by Zapper"** brand asset can be downloaded [here](../additional-resources/brand-assets.md). 13 | {% endhint %} 14 | 15 | ## Zapper Endpoints 16 | 17 | The Swagger UI ****linked below contains an overview of all of the available endpoints. Be creative and feel free to reach out to us with suggestions or to show us what you've built. 18 | 19 | {% embed url="https://api.zapper.fi/api/static/index.html" caption="View all of the Zapper API endpoints" %} 20 | 21 | #### Endpoint Overview 22 | 23 | {% embed url="https://www.youtube.com/watch?v=7Jv\_NxW0YQA" %} 24 | 25 | #### Using the Public API key in Swagger 26 | 27 | If you enter in the **public API key into the Authorize section in Swagger** you will be able to directly test the endpoints in the Swagger UI. 28 | 29 | ![Enter API key into the authorize section](../.gitbook/assets/swagger-auth.png) 30 | 31 | ## API Support 32 | 33 | {% hint style="info" %} 34 | For any API related inquiries, please reach out in the **`build-on-zapper`** channel in our [Discord](https://discord.com/invite/5C4wxPr). 35 | {% endhint %} 36 | 37 | -------------------------------------------------------------------------------- /zapper-smart-contracts/smart-contracts.md: -------------------------------------------------------------------------------- 1 | # Smart Contracts 2 | 3 | [**Zap**](https://learn.zapper.fi/articles/what-is-a-zap)** **contracts** **make it easy for anyone to interact with complex DeFi protocols. 4 | 5 | {% tabs %} 6 | {% tab title="Ethereum" %} 7 | These contracts are currently deployed on Ethereum mainnet and are used by [Zapper.fi](https://zapper.fi) and other DeFi projects. The recommended way to interact with these contracts is via the [Transactions API](../zapper-api/api-guides/#transactions-api). 8 | 9 | | Contract | Address | Version | 10 | | -------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------- | 11 | | Uniswap V2 Add | [0x6D9893fa101CD2b1F8D1A12DE3189ff7b80FdC10](https://etherscan.io/address/0x6d9893fa101cd2b1f8d1a12de3189ff7b80fdc10) | 5.0 | 12 | | Uniswap V2 Remove | [0x4422610F73f4143a3936F8fa300329BBa8833b54](https://etherscan.io/address/0x4422610f73f4143a3936f8fa300329bba8833b54) | 5.0 | 13 | | Balancer Add | [0x647965B19280988A75C3a1369938C8927E6c8715](https://etherscan.io/address/0x647965b19280988a75c3a1369938c8927e6c8715) | 4.0 | 14 | | Balancer Remove | [0x00d0f137b51692D0AC708bdE7b367a373865cFfe](https://etherscan.io/address/0x00d0f137b51692D0AC708bdE7b367a373865cFfe) | 2.2 | 15 | | Curve Add | [0x7A0a6906De7714d27413f5092ED1a0636A3FBc9A](https://etherscan.io/address/0x7a0a6906de7714d27413f5092ed1a0636a3fbc9a) | 4.0 | 16 | | Curve Remove | [0xe03a338d5c305613afc3877389dd3b0617233387](https://etherscan.io/address/0xe03a338d5c305613afc3877389dd3b0617233387) | 4.2 | 17 | | Yearn yVault Remove | [0xd6b88257e91e4E4D4E990B3A858c849EF2DFdE8c](https://etherscan.io/address/0xd6b88257e91e4e4d4e990b3a858c849ef2dfde8c) | 3.0.1 | 18 | | Yearn yVault Add | [0x92Be6ADB6a12Da0CA607F9d87DB2F9978cD6ec3E](https://etherscan.io/address/0x92be6adb6a12da0ca607f9d87db2f9978cd6ec3e) | 4.0 | 19 | | Sushiswap Add | [0x5abfbE56553a5d794330EACCF556Ca1d2a55647C](https://etherscan.io/address/0x5abfbe56553a5d794330eaccf556ca1d2a55647c) | 4.0 | 20 | | Sushiswap Remove | [0x3098cFaAbA3795AB98DC2D5066eC4d2584ae7C68](https://etherscan.io/address/0x3098cfaaba3795ab98dc2d5066ec4d2584ae7c68) | 4.0 | 21 | | Bancor Add | [0xa14EEefa753a166a5651bce7B84094f614Df0D05](https://etherscan.io/address/0xa14EEefa753a166a5651bce7B84094f614Df0D05) | 2.1 | 22 | | Harvest Add | [0x98E562a87c5243eeF333E43cb1834223f526c434](https://etherscan.io/address/0x98e562a87c5243eef333e43cb1834223f526c434) | 3.0 | 23 | | PoolTogether Add | [0x4752b3Bf9DAbD61FE8150760EC580b183D9fdA57](https://etherscan.io/address/0x4752b3bf9dabd61fe8150760ec580b183d9fda57) | 2.0 | 24 | | Ethereum to Polygon Bridge | [0xe34B087Bf3C99E664316A15B01E5295eB3512760](https://etherscan.io/address/0xe34b087bf3c99e664316a15b01e5295eb3512760) | 1.1 | 25 | | 1Inch Add | [0x5531b2eAA05D8b6fb855E15F1d21e6a3A3794B4d](https://etherscan.io/address/0x5531b2eAA05D8b6fb855E15F1d21e6a3A3794B4d#code) | 1.0 | 26 | | Pickle Add | [0xc695f73c1862e050059367B2E64489E66c525983](https://etherscan.io/address/0xc695f73c1862e050059367b2e64489e66c525983) | 1.0 | 27 | | Pickle Remove | [0x61EDFA7F7BB97B0BAAd7c6adE3EEC15eCeBd7dCB](https://etherscan.io/address/0x61edfa7f7bb97b0baad7c6ade3eec15ecebd7dcb) | 1.0 | 28 | | Mushrooms Add | [0xe80a9A878c4bED81f3803DE10beFF08Ca8Cd8c61](https://etherscan.io/address/0xe80a9a878c4bed81f3803de10beff08ca8cd8c61) | 2.0 | 29 | | Zapper NFT | [0xFAFf15C6cDAca61a4F87D329689293E07c98f578](https://etherscan.io/address/0xfaff15c6cdaca61a4f87d329689293e07c98f578) | 1.0.5 | 30 | | Vesper Add | [0x05D4ED0f8c3265134d94AAA5C508b6c1cB7095Fd](https://etherscan.io/address/0x05d4ed0f8c3265134d94aaa5c508b6c1cb7095fd) | 1.0 | 31 | | Convex Add | [0xb4cbf6e1f7489e773e28edcc7cde19f0175e16d9](https://etherscan.io/address/0xb4cbf6e1f7489e773e28edcc7cde19f0175e16d9) | 1.0 | 32 | | Idle Add | [0xAcbeB5fc062cC66ae51EE63EaAe088cfddC9586a](https://etherscan.io/address/0xacbeb5fc062cc66ae51ee63eaae088cfddc9586a) | 1.0 | 33 | | Compound Add/Remove | [0xe5e8506a590766d738d80affc6b5e538c4b92f82](https://etherscan.io/address/0xe5e8506a590766d738d80affc6b5e538c4b92f82) | 1.0 | 34 | | Aave Add/Remove | [0x2801a71605b5E25816235C7f3Cb779F4c9dD60Ee](https://etherscan.io/address/0x2801a71605b5e25816235c7f3cb779f4c9dd60ee) | 1.0.2 | 35 | | Alpha Homora Earn | [0x8a0a04f0bed364ccba553b79b01072dcf4ee153b](https://etherscan.io/address/0x8a0a04f0bed364ccba553b79b01072dcf4ee153b) | 1.0 | 36 | {% endtab %} 37 | 38 | {% tab title="Polygon" %} 39 | These contracts are currently deployed on Polygon (Matic) and are used by [Zapper.fi](https://zapper.fi) and other DeFi projects. The recommended way to interact with these contracts is via the [Transactions API](../zapper-api/api-guides/#transactions-api). 40 | 41 | | Contract | Address | Version | 42 | | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | 43 | | Sushiswap Add | [0x47b0eC1beA7d8EcC7cF70C3bF82c5f5d15a96b6D](https://explorer-mainnet.maticvigil.com/address/0x47b0eC1beA7d8EcC7cF70C3bF82c5f5d15a96b6D/transactions) | 3.0 | 44 | | Sushiswap Remove | [0x52D1C6F4Db354C8f2F3C87B8F90081115356C597](https://polygonscan.com/address/0x52D1C6F4Db354C8f2F3C87B8F90081115356C597) | 3.0 | 45 | | Quickswap Add | [0xF231be40d73a9E73d859955344A4fF74f448dF34](https://explorer-mainnet.maticvigil.com/address/0xF231be40d73a9E73d859955344A4fF74f448dF34/transactions) | 2.0 | 46 | | Quickswap Remove | [0x6d608C51C198c728C0A00bfDFA8fef5D57fF4424](https://polygonscan.com/address/0x6d608c51c198c728c0a00bfdfa8fef5d57ff4424) | 2.0 | 47 | | Aave Add | [0x8DfDea6A4818d2AA7463edB9A8841cB0c04255aF](https://polygonscan.com/address/0x8dfdea6a4818d2aa7463edb9a8841cb0c04255af) | 1.0.2 | 48 | {% endtab %} 49 | 50 | {% tab title="BSC" %} 51 | These contracts are currently deployed on BSC (Binance Smart Chain) and are used by [Zapper.fi](https://zapper.fi) and other DeFi projects. The recommended way to interact with these contracts is via the [Transactions API](../zapper-api/api-guides/#transactions-api). 52 | 53 | | Contract | Address | Version | 54 | | ------------------ | -------------------------------------------------------------------------------------------------------------------- | ------- | 55 | | PancakeSwap Add | [0x25d9Fa3DA06422EC5306A85545f0F30646D30eCd](https://bscscan.com/address/0x25d9fa3da06422ec5306a85545f0f30646d30ecd) | 3.1 | 56 | | PancakeSwap Remove | [0x4bF331Aa2BfB0869315fB81a350d109F4839f81b](https://bscscan.com/address/0x4bF331Aa2BfB0869315fB81a350d109F4839f81b) | 3.0 | 57 | {% endtab %} 58 | 59 | {% tab title="Avalanche" %} 60 | | Contract | Address | Version | 61 | | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | 62 | | TraderJoe Add | [0x8308a1A404dB3cB3075618B1651671bC4E15F9d5](https://cchain.explorer.avax.network/address/0x8308a1A404dB3cB3075618B1651671bC4E15F9d5/transactions) | 1.0 | 63 | | TraderJoe Remove | [0x60b7072e83C2965ae5F190427Dc1EEdf477A1588](https://cchain.explorer.avax.network/address/0x60b7072e83C2965ae5F190427Dc1EEdf477A1588/transactions) | 1.0 | 64 | | Wonderland Add/Remove | [0x19df95E50310852CCD16d2BadbF73419eb837c1b](https://cchain.explorer.avax.network/address/0x19df95E50310852CCD16d2BadbF73419eb837c1b/transactions) | 1.0 | 65 | {% endtab %} 66 | {% endtabs %} 67 | 68 | --------------------------------------------------------------------------------