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.
Contract code is currently generated using abigen and uses the defaults, returning
big.Int
foruint256
types on chain. A custom generator should be written to allow us to returnRad
,Ray
, andWad
types as defined here: https://github.com/ddaws/go-maker/blob/master/maker/math.go#L15-L25This will remove the need to for consumers to create these types and reduce the chance of user precision errors when using these types.