Getline-Network / getline

Distributed P2P Lending System
https://getline.in
Apache License 2.0
9 stars 6 forks source link

Refactor getline.ts API #25

Closed q3k closed 6 years ago

q3k commented 6 years ago

This is probably still not final, but we're getting there.

We've introduced a few more types to clean up access to tokens, addresses and balances. We've also made web3 types opaque and wrapped them in the Contract type.

Finally, we also added a lock on the retrieval of contracts from the metabackend to make sure we don't send out too many requests at once.

q3k commented 6 years ago

We might migrate the rendered docs off of this repo later, but it wasn't a priority yet.