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

@evolutionland/bancor

v1.3.0

Published

Evolution Land Bancor Contracts

Downloads

3

Readme

Decentralized Exchange Based On Bancor Protocol

this is a project forked from https://github.com/bancorprotocol/contracts.git and with high availability.

Big thanks to bancor team.

Diffrence

we fix some bugs in master branch and add BancorExchange to make it more developer-friendly.

How to buy ERC223SmartToken with ETH

bancorExchange.buyRING(minReturn)

minReturn refers to the minimum amount of ERC223SmartToken you expected.

Note that it's a payable function, so give it a msg.value which greater than 0.

how to change SmartToken back to ETH

ERC223SmartToken.transfer(address(bancorExchange), amountOfSmartToken,  bytes(miniReturn))

minReturn here refers to the minimum amount of ETH you expected.

Contracts' addresses on KOVAN

RING: 0xee716e90ac3b65ad0a9641756db4b3c067caee64
SmartTokenAuthority: 0x71c899727ad8f341bc64684e5d82138fd3fd085d
ContractIds: 0xe5a669cb07f7f866dd8147049e7f6c6032d0b0e8
ContractFeatures: 0xfd7c68b58b392caca347e469bed569a272fb2309
BancorFormula: 0xe9e5943365b99b4099e1965d2786a99a94774bc5
Whitelist: 0x9a8c84007ab413e43453619d0b02b05d1306da62
EtherToken: 0xaf741411d69fd49268a4193100ef379058b507c9
BancorGasPriceLimit: 0xcb6bb52b6f640b057df554a497f9a8015bb1fcce
BancorNetwork: 0xa4c6bb122c76fb81f95068566d3e0768ad92325d
BancorConverter: 0x98e1646b1db6375c567f82e66b5bd30702f52d46
BancorExchange: 0x13b01baa7852f5528a0a1f5067f8251c925f2041

thanks for testing.