npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tetu_io/tetu-converter

v1.3.1

Published

Convert assets in optimal way

Downloads

4

Readme

codecov

Tetu.io is a collaboration between developers and investors around the whole world to create the best DeFi product out there.

Installation

Run npm install

Create .env file from .env.example

Links

Web: https://tetu.io/

Docs: https://docs.tetu.io/

Discord: https://discord.gg/DSUKVEYuax

Twitter: https://twitter.com/tetu_io

Deployed contracts

Polygon

| Name | Address | |---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------| | Controller | 0x2df21e2a115fcB3d850Fbc67237571bBfB566e99 | | TetuConverter | 0x5E1226f7e743cA56537B3fab0C1A9ea2FAe7BAb1 | | BorrowManager | 0xC5690F7063eb60D474Bcdb38b60EbF4C3a8Ece3C | | DebtMonitor | 0xAF2DEcd5Ad64d833Be5Bbd4D7eB16fEA57D473a2 | | SwapManager | 0x59D34F2fA054369EbCe4ad244f4ab3a9F51700f3 | | Keeper | 0x3fFaF005413DC76D8e6964066D3E9Bd2303d5905 | | PriceOracle | 0x8E24157016b0Ea7693A3BB8A62c585F5B77828ec | | Bookkeeper | 0xe3F710033b37864746863a962bc6aFb070d53534 | | Platform adapter AAVE3 | 0x2f5448cdeCd0EC3db302755AAd111A69F0EC8fDe | | Pool adapter AAVE3 | 0xD1CA2422C6E0fa48a9CD644720C9df261E85C784 | | Pool adapter AAVE3 (eMode) | 0xA43D1DF1591FC7CcCD6723405d4e85065802a959 | | Platform adapter | 0xC0afAbfdF95937F7972fd734eF867913e208052A | | Pool adapter template | 0xD0879ABD0f2EAFaBa07A0701cC1AD2f70e69a069 |

Base

| Name | Address | |---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------| | Controller | 0x1AC16b6aBeEE14487DE6CF946d05A0dE5169a917 | | TetuConverter | 0x51002Cad5e6FbE3856311f431E1c41c46Acc5D47 | | BorrowManager | 0xa2A1F4C5435F91FD01340081b756b4af4d944025 | | DebtMonitor | 0x09C60C4C66059C358ed23B77757d684a0dFDB759 | | SwapManager | 0x189c7eC38f9B8602dD986161e1AE4EB84b5Bd428 | | Keeper | 0xa82ed80bc3D415368270a90b6F57e5fFb32d481A | | PriceOracle | 0x2783E44E629617194F93AB67355028865c9117b4 | | Bookkeeper | 0x588cE8be7ac5202cD7C7fD10Be65E33D26dA2534 | | Platform adapter Moonwell | 0xEE7c4beFfF6c8FAEdDEc28d9E0BD330102328e9F | | Pool adapter Moonwell | 0x9A1B3B13a771387d57648C1ba73bF4a3EF9d6D3a |

zkEVM

| Name | Address | |---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------| | Controller | 0xF992a90B4F2D59B65548bF9766a02ee8170E7F07 | | TetuConverter | 0x60E684643d546b657bfeE9c01Cb40E62EC1fe1e2 | | BorrowManager | 0x48B8B6d189F5450B2E799c462099a5fDFc910A96 | | DebtMonitor | 0x0e980E1c89c751961F6E8529e38d4002B4D8Bf3e | | SwapManager | 0xa4B13FDCA08ae6cE9D2b20aC3ceD7c5Df267e205 | | Keeper | 0x848A49De3f59C62A337463f1D856Ad30FE85675e | | PriceOracle | 0xF21ABFC5D68819EA0044fdB256d0AA854DC3034b | | Bookkeeper | 0x80a9956ea226aE5ae78b9F708fA127c15EF74F86 | | Platform adapter Keom | 0xC7A63e3b7f6420EeE99d73da50D368384d7bdC8A | | Pool adapter template Keom | 0x57920CDE372a8E9634fb1c096fdAf3aEF892131b |

How to whitelist a user

ConverterController.setWhitelistValues([USER_ADDRESS], true)

governance only

How to freeze a platform adapter

IPlatformAdapter([PLATFORM_ADAPTER_ADDRESS]).setFrozen(true)

governance only