Module

Network.Ethereum.Web3.Solidity.Int

Package
purescript-web3
Repository
f-o-a-m/purescript-web3

#IntN Source

newtype IntN n

Represents a statically sized signed integer of size n bytes

Instances

#unIntN Source

unIntN :: forall n. KnownSize n => IntN n -> BigNumber

Access the raw underlying integer

#intNFromBigNumber Source

intNFromBigNumber :: forall n. KnownSize n => BigNumber -> Maybe (IntN n)

Attempt to coerce an signed BigNumber into a statically sized one