tschubotz / safe-connect Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
With this implementation i see that the connector listens for events and retrieves the payload whether it is a swap or an approve (enabling USDC on Pancake for example), but the payload data is unclear to me because for approving (enabling USDC) requires the amount that you want to be approved, i get this payload:
{ "id":xxxxxxxxxxxxxxxxxxxxxxx, "jsonrpc":"2.0", "method":"eth_sendTransaction", "params":[ { "gas":"0xbee9", "gasPrice":"0x12a05f200", "from":"0x0d4d95cd9204eb9032778226fdbaf1c9caf43f3b", "to":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82", "data":"0x095ea7b300000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" } ] }
I tried decoding the data but nothing, cant seem to find anything, i will need the value but cant seem to find anything.
Any help is appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.