Module

Network.Ethereum.Web3.Solidity.UInt

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

#UIntN Source

newtype UIntN n

Represents a statically sized unsigned integer of size n

Instances

#unUIntN Source

unUIntN :: forall n. KnownSize n => UIntN n -> BigNumber

Access the raw underlying unsigned integer

#uIntNFromBigNumber Source

uIntNFromBigNumber :: forall n. KnownSize n => BigNumber -> Maybe (UIntN n)

Attempt to coerce an unsigned integer into a statically sized one