Comments (6)
I am not able to locate this pool on kovan, does it need to be created or is this the correct address?:
pool_BAL_WETH = "0x61d5dc44849c9c87b0856a2a311536205c96c7fd000200000000000000000000"
from balpy.
Yeah it shows up just fine for me: https://kovan.app.balancer.fi/#/pool/0x61d5dc44849c9c87b0856a2a311536205c96c7fd000200000000000000000000
from balpy.
Hi yes, its working for me. So I tried to run the singleswap script on balancer tutorials and got an allowance error.
https://kovan.etherscan.io/tx/0x134a03e94e88154c933d5e4499c520de917628acb40562c0a1c4aa5b28bfa16d
Think it missing code for token allowance?
from balpy.
yeah, the code there assumes that allowances have already been set. If you were to add in the code that's actually executing the single swap to balpy, you should be able to write a test script much like one for batchswaps, which lives in the samples
from balpy.
if you want to do a quick test on your own though, you could pretty easily just send a token approval through the kovan UI
from balpy.
done with this commit
from balpy.
Related Issues (20)
- allow initialization w/o currently required env vars HOT 1
- Allow passing of keys/RPC URLs as initialization arguments HOT 1
- put print()s inside "if self.verbose:" blocks HOT 1
- add text suppressor to hide processReceipt() spamming to console HOT 2
- spin out erc20 functions to own library
- update multicall functionality in balpy to use multicaller package HOT 2
- clean up contract loaders to cleaner, cached function HOT 1
- automatically convert batchSwap of length 1 to swap
- add pool verification for stablePhantom, aaveLinear HOT 12
- Getting price of swap before doing a swap. HOT 1
- get ftmscan to accept API pool verification HOT 1
- Add pool exits
- Fails to install on first attempt with python3.10 HOT 1
- Fails to run on Kovan, Goerli, Mainnet HOT 5
- Tests HOT 6
- getPools fails HOT 1
- Make use of web3py gas strategies HOT 1
- Make it feature complete with the vault API HOT 2
- The type checks in these two lines of Python can probably be removed.
- Integrate Liquidity mining claims contracts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from balpy.