Plutonomicon / cardano-transaction-lib

A Purescript library for building smart contract transactions on Cardano
https://plutonomicon.github.io/cardano-transaction-lib/
MIT License
92 stars 50 forks source link

Better documentation for `BigNum` #1550

Closed kozross closed 4 months ago

kozross commented 11 months ago

It isn't currently specified anywhere what BigNum actually is: a 64-bit integer. We should document this information (and by extension, why this forces some conversions to be partial).

klntsky commented 4 months ago

https://github.com/mlabs-haskell/purescript-cardano-types/blob/715d4b2dcf8b29cb45001209ee562f758a513261/src/Cardano/Types/BigNum.purs#L68