ddaws / go-maker Goto Github PK
View Code? Open in Web Editor NEWGolang bindings to the Multi-Colatoral Dai stablecoin system
Home Page: https://pkg.go.dev/github.com/ddaws/go-maker/maker?tab=overview
License: MIT License
Golang bindings to the Multi-Colatoral Dai stablecoin system
Home Page: https://pkg.go.dev/github.com/ddaws/go-maker/maker?tab=overview
License: MIT License
Add support for connecting to the Maker DSChief for pulling Governance information from the Maker system including the current hat, proposed slates, and their votes. This is important to support developing and monitoring governance tools.
Some useful links for my future self
Contract code is currently generated using abigen and uses the defaults, returning big.Int
for uint256
types on chain. A custom generator should be written to allow us to return Rad
, Ray
, and Wad
types as defined here: https://github.com/ddaws/go-maker/blob/master/maker/math.go#L15-L25
This will remove the need to for consumers to create these types and reduce the chance of user precision errors when using these types.
The Maker system uses fixed point arithmetic storing values on chain as uint256
. go-etheruem
represents uint256
as a a big.Int
. How to correctly add, sub, mul, and div these values while accounting for precision isn't always clear. This can make calculations error prone.
go-maker
should expose a minimal set of types and operations that handles precision properly to minimize the user error when working with these values.
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.