Module
Network.Ethereum.Web3.Solidity.AbiEncoding
- Package
- purescript-web3
- Repository
- f-o-a-m/purescript-web3
#ABIEncode Source
class ABIEncode a whereClass representing values that have an encoding and decoding instance to/from a solidity type.
Members
toDataBuilder :: a -> HexString
Instances
ABIEncode BigNumberABIEncode BooleanABIEncode IntABIEncode AddressABIEncode ByteStringABIEncode String(ByteSize n) => ABIEncode (BytesN n)(ABIEncode a, KnownSize n) => ABIEncode (Vector n a)(ABIEncode a) => ABIEncode (Array a)(IntSize n) => ABIEncode (UIntN n)(IntSize n) => ABIEncode (IntN n)(ABIEncode a) => ABIEncode (Tagged s a)
#ABIDecode Source
class ABIDecode a whereMembers
fromDataParser :: Parser String a
Instances
ABIDecode BigNumberABIDecode BooleanABIDecode IntABIDecode AddressABIDecode ByteStringABIDecode String(ByteSize n) => ABIDecode (BytesN n)(ABIDecode a, KnownSize n) => ABIDecode (Vector n a)(ABIDecode a) => ABIDecode (Array a)(IntSize n) => ABIDecode (UIntN n)(IntSize n) => ABIDecode (IntN n)(ABIDecode a) => ABIDecode (Tagged s a)
#fromData Source
fromData :: forall a. ABIDecode a => HexString -> Either ParseError aParse encoded value, droping the leading 0x
#bytesBuilder Source
bytesBuilder :: ByteString -> HexStringSpecial Builders and Parsers base16 encode, then utf8 encode, then pad
#bytesDecode Source
bytesDecode :: String -> ByteStringunsafe utfDecode
#int256HexBuilder Source
int256HexBuilder :: BigNumber -> HexStringEncode something that is essentaially a signed integer.
#uInt256HexBuilder Source
uInt256HexBuilder :: BigNumber -> HexStringEncode something that is essentially an unsigned integer.
#int256HexParser Source
int256HexParser :: forall m. Monad m => ParserT String m BigNumberParse as a signed BigNumber
- 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. Sizes - Network.
Ethereum. Web3. Solidity. Tuple - Network.
Ethereum. Web3. Solidity. UInt - Network.
Ethereum. Web3. Solidity. Vector - Network.
Ethereum. Web3. Types - Network.
Ethereum. Web3. Types. EtherUnit - Network.
Ethereum. Web3. Types. Provider - Network.
Ethereum. Web3. Types. Types