Module
Network.Ethereum.Web3.Types.BigNumber
- Package
- purescript-web3
- Repository
- f-o-a-m/purescript-web3
#Algebra Source
class (Ring r, Ring a, LeftModule a r, RightModule a r) <= Algebra a r where
Members
embed :: r -> a
Instances
#parseBigNumber Source
parseBigNumber :: Radix -> String -> Maybe BigNumber
Convert a string in the given base to a BigNumber
#toTwosComplement Source
toTwosComplement :: BigNumber -> BigNumber
Take the twos complement of a BigNumer
#unsafeToInt Source
unsafeToInt :: BigNumber -> Int
Unsafely coerce a BigNumber to an Int.
#floorBigNumber Source
floorBigNumber :: BigNumber -> BigNumber
Take the integer part of a big number
Re-exports from Data.Int
#Radix Source
newtype Radix
The number of unique digits (including zero) used to represent integers in a specific base.
#hexadecimal Source
hexadecimal :: Radix
The base-16 system.
- Modules
- Network.
Ethereum. Web3 - Network.
Ethereum. Web3. Api - Network.
Ethereum. Web3. Contract - Network.
Ethereum. Web3. Contract. Internal - Network.
Ethereum. Web3. JsonRPC - Network.
Ethereum. Web3. Solidity - Network.
Ethereum. Web3. Solidity. AbiEncoding - Network.
Ethereum. Web3. Solidity. Bytes - Network.
Ethereum. Web3. Solidity. EncodingType - Network.
Ethereum. Web3. Solidity. Event - Network.
Ethereum. Web3. Solidity. Generic - Network.
Ethereum. Web3. Solidity. Int - Network.
Ethereum. Web3. Solidity. Size - Network.
Ethereum. Web3. Solidity. Tuple - Network.
Ethereum. Web3. Solidity. UInt - Network.
Ethereum. Web3. Solidity. Vector - Network.
Ethereum. Web3. Types - Network.
Ethereum. Web3. Types. BigNumber - Network.
Ethereum. Web3. Types. EtherUnit - Network.
Ethereum. Web3. Types. Provider - Network.
Ethereum. Web3. Types. Sha3 - Network.
Ethereum. Web3. Types. Types - Network.
Ethereum. Web3. Types. Utils