Network.Ethereum.Web3.Solidity
- Package
- purescript-web3
- Repository
- f-o-a-m/purescript-web3
Re-exports from Data.ByteString
#ByteString Source
Re-exports from Network.Ethereum.Types
#BigNumber
data BigNumber :: Type
Large Integer, needed for handling numbers of up to 32 bytes
Instances
Show BigNumber
Eq BigNumber
Ord BigNumber
Semiring BigNumber
Ring BigNumber
LeftModule BigNumber Int
RightModule BigNumber Int
Algebra BigNumber Int
Decode BigNumber
ReadForeign BigNumber
WriteForeign BigNumber
Encode BigNumber
DecodeJson BigNumber
EncodeJson BigNumber
#Address
newtype Address
Represents and Ethereum address, which is a 20 byte HexString
Instances
Show Address
Eq Address
Ord Address
Encode Address
Decode Address
DecodeJson Address
EncodeJson Address
ReadForeign Address
WriteForeign Address
Re-exports from Network.Ethereum.Web3.Solidity.AbiEncoding
#ABIDecode Source
class ABIDecode a where
Members
fromDataParser :: Parser String a
Instances
ABIDecode BigNumber
ABIDecode Boolean
ABIDecode Int
ABIDecode Address
ABIDecode ByteString
ABIDecode 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)
#ABIEncode Source
class ABIEncode a where
Class representing values that have an encoding and decoding instance to/from a solidity type.
Members
toDataBuilder :: a -> HexString
Instances
ABIEncode BigNumber
ABIEncode Boolean
ABIEncode Int
ABIEncode Address
ABIEncode ByteString
ABIEncode 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)
#fromData Source
fromData :: forall a. ABIDecode a => HexString -> Either ParseError a
Parse encoded value, droping the leading 0x
Re-exports from Network.Ethereum.Web3.Solidity.Bytes
#unBytesN Source
unBytesN :: forall n. KnownSize n => BytesN n -> ByteString
Access the underlying raw bytestring
#proxyBytesN Source
proxyBytesN :: forall n. KnownSize n => BytesN n
#fromByteString Source
fromByteString :: forall n. KnownSize n => DLProxy n -> ByteString -> Maybe (BytesN n)
Attempt to coerce a bytestring into one of the appropriate size. See module Network.Ethereum.Web3.Solidity.Sizes for some predefined sizes.
Re-exports from Network.Ethereum.Web3.Solidity.Event
#DecodeEvent Source
class (IndexedEvent a b c) <= DecodeEvent a b c | c -> a b where
Members
decodeEvent :: Change -> Maybe c
Instances
(ArrayParser aargs, RecordFieldsIso aargs afields al, Generic a (Constructor aname aargs), RecordFieldsIso bargs bfields bl, Generic b (Constructor bname bargs), GenericABIDecode bargs, Union bfields afields cfields, Newtype c (Record cfields), IndexedEvent a b c) => DecodeEvent a b c
Re-exports from Network.Ethereum.Web3.Solidity.Generic
#ArgsToRowListProxy Source
class ArgsToRowListProxy args (l :: RowList) | args -> l, l -> args
Instances
ArgsToRowListProxy NoArguments Nil
ArgsToRowListProxy (Argument (Tagged (SProxy s) a)) (Cons s a Nil)
(ArgsToRowListProxy as l) => ArgsToRowListProxy (Product (Argument (Tagged (SProxy s) a)) as) (Cons s a l)
#GenericABIDecode Source
class GenericABIDecode a
A class for decoding generically composed datatypes from their abi encoding
Instances
(EncodingType a, ABIDecode a) => GenericABIDecode (Argument a)
GenericABIDecode NoArguments
(EncodingType b, ABIDecode b, GenericABIDecode a) => GenericABIDecode (Product (Argument b) a)
(GenericABIDecode a) => GenericABIDecode (Constructor name a)
#GenericABIEncode Source
class GenericABIEncode a
A class for encoding generically composed datatypes to their abi encoding
Instances
(ABIData a) => GenericABIEncode (Constructor name a)
#RecordFieldsIso Source
class RecordFieldsIso args fields rowList | args -> rowList, rowList -> args fields where
Members
toRecordFields :: RLProxy rowList -> args -> Record fields
fromRecordFields :: RLProxy rowList -> Record fields -> args
Instances
(IsSymbol s, RowCons s a () r, RowLacks s ()) => RecordFieldsIso (Argument (Tagged (SProxy s) a)) r (Cons s a Nil)
RecordFieldsIso NoArguments () Nil
(RecordFieldsIso as r1 (Cons ls la ll), RowCons s a r1 r2, RowLacks s r1, IsSymbol s, ListToRow (Cons ls la ll) r1) => RecordFieldsIso (Product (Argument (Tagged (SProxy s) a)) as) r2 (Cons s a (Cons ls la ll))
#genericToRecordFields Source
genericToRecordFields :: forall name a l fields args. RecordFieldsIso args fields l => Generic a (Constructor name args) => a -> Record fields
#genericFromRecordFields Source
genericFromRecordFields :: forall name a l fields args. RecordFieldsIso args fields l => Generic a (Constructor name args) => Record fields -> a
#genericFromData Source
genericFromData :: forall rep a. Generic a rep => GenericABIDecode rep => HexString -> Either ParseError a
#genericABIEncode Source
genericABIEncode :: forall rep a. Generic a rep => GenericABIEncode rep => a -> HexString
Encode a generic type into its abi encoding, works only for types of the form
Constructor name (Product (Argument a1) (Product ... (Argument an)))
#genericABIDecode Source
genericABIDecode :: forall rep a. Generic a rep => GenericABIDecode rep => Parser String a
Encode a generic type into its abi encoding, works only for types of the form
Constructor name (Product (Argument a1) (Product ... (Argument an)))
Re-exports from Network.Ethereum.Web3.Solidity.Int
Re-exports from Network.Ethereum.Web3.Solidity.Size
#DOne Source
data DOne :: Digit -> DigitList
Instances
DigitCount (DOne a)
(KnownDigit head) => KnownSize (DOne head)
(IncD d dInc dCarry) => IncP (DOne d) (DOne dInc) dCarry
IntSize (DOne D8)
IntSize (DCons D1 (DOne D6))
IntSize (DCons D2 (DOne D4))
IntSize (DCons D3 (DOne D2))
IntSize (DCons D4 (DOne D0))
IntSize (DCons D4 (DOne D8))
IntSize (DCons D5 (DOne D6))
IntSize (DCons D6 (DOne D4))
IntSize (DCons D7 (DOne D2))
IntSize (DCons D8 (DOne D0))
IntSize (DCons D8 (DOne D8))
IntSize (DCons D9 (DOne D6))
IntSize (DCons D1 (DCons D0 (DOne D4)))
IntSize (DCons D1 (DCons D1 (DOne D2)))
IntSize (DCons D1 (DCons D2 (DOne D0)))
IntSize (DCons D1 (DCons D2 (DOne D8)))
IntSize (DCons D1 (DCons D3 (DOne D6)))
IntSize (DCons D1 (DCons D4 (DOne D4)))
IntSize (DCons D1 (DCons D5 (DOne D2)))
IntSize (DCons D1 (DCons D6 (DOne D0)))
IntSize (DCons D1 (DCons D6 (DOne D8)))
IntSize (DCons D1 (DCons D7 (DOne D6)))
IntSize (DCons D1 (DCons D8 (DOne D4)))
IntSize (DCons D1 (DCons D9 (DOne D2)))
IntSize (DCons D2 (DCons D0 (DOne D0)))
IntSize (DCons D2 (DCons D0 (DOne D8)))
IntSize (DCons D2 (DCons D1 (DOne D6)))
IntSize (DCons D2 (DCons D2 (DOne D4)))
IntSize (DCons D2 (DCons D3 (DOne D2)))
IntSize (DCons D2 (DCons D4 (DOne D0)))
IntSize (DCons D2 (DCons D4 (DOne D8)))
IntSize (DCons D2 (DCons D5 (DOne D6)))
ByteSize (DOne D1)
ByteSize (DOne D2)
ByteSize (DOne D3)
ByteSize (DOne D4)
ByteSize (DOne D5)
ByteSize (DOne D6)
ByteSize (DOne D7)
ByteSize (DOne D8)
ByteSize (DOne D9)
ByteSize (DCons D1 (DOne D0))
ByteSize (DCons D1 (DOne D1))
ByteSize (DCons D1 (DOne D2))
ByteSize (DCons D1 (DOne D3))
ByteSize (DCons D1 (DOne D4))
ByteSize (DCons D1 (DOne D5))
ByteSize (DCons D1 (DOne D6))
ByteSize (DCons D1 (DOne D7))
ByteSize (DCons D1 (DOne D8))
ByteSize (DCons D1 (DOne D9))
ByteSize (DCons D2 (DOne D0))
ByteSize (DCons D2 (DOne D1))
ByteSize (DCons D2 (DOne D2))
ByteSize (DCons D2 (DOne D3))
ByteSize (DCons D2 (DOne D4))
ByteSize (DCons D2 (DOne D5))
ByteSize (DCons D2 (DOne D6))
ByteSize (DCons D2 (DOne D7))
ByteSize (DCons D2 (DOne D8))
ByteSize (DCons D2 (DOne D9))
ByteSize (DCons D3 (DOne D0))
ByteSize (DCons D3 (DOne D1))
ByteSize (DCons D3 (DOne D2))
#DLProxy Source
data DLProxy (d :: DigitList)
For types of kind Type
there is already Type.Proxy
.
this is basicity the same thing but for types of kind DigitList
.
Documentation of Type.Proxy
module has motivation for why would
one need a Proxy for some type which we will not cover here.
Constructors
#DCons Source
data DCons :: Digit -> DigitList -> DigitList
Instances
(DigitCount rest) => DigitCount (DCons a rest)
(DigitCount rest, KnownSize rest, KnownDigit a) => KnownSize (DCons a rest)
(IncP rest restIncOut restIncTrue, IncD a aInc aCarry, If restIncTrue (BProxy aCarry) (BProxy False) (BProxy carryOut), If restIncTrue (DLProxy (DCons aInc restIncOut)) (DLProxy (DCons a restIncOut)) (DLProxy out)) => IncP (DCons a rest) out carryOut
IntSize (DCons D1 (DOne D6))
IntSize (DCons D2 (DOne D4))
IntSize (DCons D3 (DOne D2))
IntSize (DCons D4 (DOne D0))
IntSize (DCons D4 (DOne D8))
IntSize (DCons D5 (DOne D6))
IntSize (DCons D6 (DOne D4))
IntSize (DCons D7 (DOne D2))
IntSize (DCons D8 (DOne D0))
IntSize (DCons D8 (DOne D8))
IntSize (DCons D9 (DOne D6))
IntSize (DCons D1 (DCons D0 (DOne D4)))
IntSize (DCons D1 (DCons D1 (DOne D2)))
IntSize (DCons D1 (DCons D2 (DOne D0)))
IntSize (DCons D1 (DCons D2 (DOne D8)))
IntSize (DCons D1 (DCons D3 (DOne D6)))
IntSize (DCons D1 (DCons D4 (DOne D4)))
IntSize (DCons D1 (DCons D5 (DOne D2)))
IntSize (DCons D1 (DCons D6 (DOne D0)))
IntSize (DCons D1 (DCons D6 (DOne D8)))
IntSize (DCons D1 (DCons D7 (DOne D6)))
IntSize (DCons D1 (DCons D8 (DOne D4)))
IntSize (DCons D1 (DCons D9 (DOne D2)))
IntSize (DCons D2 (DCons D0 (DOne D0)))
IntSize (DCons D2 (DCons D0 (DOne D8)))
IntSize (DCons D2 (DCons D1 (DOne D6)))
IntSize (DCons D2 (DCons D2 (DOne D4)))
IntSize (DCons D2 (DCons D3 (DOne D2)))
IntSize (DCons D2 (DCons D4 (DOne D0)))
IntSize (DCons D2 (DCons D4 (DOne D8)))
IntSize (DCons D2 (DCons D5 (DOne D6)))
ByteSize (DCons D1 (DOne D0))
ByteSize (DCons D1 (DOne D1))
ByteSize (DCons D1 (DOne D2))
ByteSize (DCons D1 (DOne D3))
ByteSize (DCons D1 (DOne D4))
ByteSize (DCons D1 (DOne D5))
ByteSize (DCons D1 (DOne D6))
ByteSize (DCons D1 (DOne D7))
ByteSize (DCons D1 (DOne D8))
ByteSize (DCons D1 (DOne D9))
ByteSize (DCons D2 (DOne D0))
ByteSize (DCons D2 (DOne D1))
ByteSize (DCons D2 (DOne D2))
ByteSize (DCons D2 (DOne D3))
ByteSize (DCons D2 (DOne D4))
ByteSize (DCons D2 (DOne D5))
ByteSize (DCons D2 (DOne D6))
ByteSize (DCons D2 (DOne D7))
ByteSize (DCons D2 (DOne D8))
ByteSize (DCons D2 (DOne D9))
ByteSize (DCons D3 (DOne D0))
ByteSize (DCons D3 (DOne D1))
ByteSize (DCons D3 (DOne D2))
#D8 Source
data D8 :: Digit
Instances
KnownDigit D8
IncD D7 D8 False
IncD D8 D9 False
IntSize (DOne D8)
IntSize (DCons D4 (DOne D8))
IntSize (DCons D8 (DOne D0))
IntSize (DCons D8 (DOne D8))
IntSize (DCons D1 (DCons D2 (DOne D8)))
IntSize (DCons D1 (DCons D6 (DOne D8)))
IntSize (DCons D1 (DCons D8 (DOne D4)))
IntSize (DCons D2 (DCons D0 (DOne D8)))
IntSize (DCons D2 (DCons D4 (DOne D8)))
ByteSize (DOne D8)
ByteSize (DCons D1 (DOne D8))
ByteSize (DCons D2 (DOne D8))
#D6 Source
data D6 :: Digit
Instances
KnownDigit D6
IncD D5 D6 False
IncD D6 D7 False
IntSize (DCons D1 (DOne D6))
IntSize (DCons D5 (DOne D6))
IntSize (DCons D6 (DOne D4))
IntSize (DCons D9 (DOne D6))
IntSize (DCons D1 (DCons D3 (DOne D6)))
IntSize (DCons D1 (DCons D6 (DOne D0)))
IntSize (DCons D1 (DCons D6 (DOne D8)))
IntSize (DCons D1 (DCons D7 (DOne D6)))
IntSize (DCons D2 (DCons D1 (DOne D6)))
IntSize (DCons D2 (DCons D5 (DOne D6)))
ByteSize (DOne D6)
ByteSize (DCons D1 (DOne D6))
ByteSize (DCons D2 (DOne D6))
#D4 Source
data D4 :: Digit
Instances
KnownDigit D4
IncD D3 D4 False
IncD D4 D5 False
IntSize (DCons D2 (DOne D4))
IntSize (DCons D4 (DOne D0))
IntSize (DCons D4 (DOne D8))
IntSize (DCons D6 (DOne D4))
IntSize (DCons D1 (DCons D0 (DOne D4)))
IntSize (DCons D1 (DCons D4 (DOne D4)))
IntSize (DCons D1 (DCons D8 (DOne D4)))
IntSize (DCons D2 (DCons D2 (DOne D4)))
IntSize (DCons D2 (DCons D4 (DOne D0)))
IntSize (DCons D2 (DCons D4 (DOne D8)))
ByteSize (DOne D4)
ByteSize (DCons D1 (DOne D4))
ByteSize (DCons D2 (DOne D4))
#D3 Source
data D3 :: Digit
Instances
KnownDigit D3
IncD D2 D3 False
IncD D3 D4 False
IntSize (DCons D3 (DOne D2))
IntSize (DCons D1 (DCons D3 (DOne D6)))
IntSize (DCons D2 (DCons D3 (DOne D2)))
ByteSize (DOne D3)
ByteSize (DCons D1 (DOne D3))
ByteSize (DCons D2 (DOne D3))
ByteSize (DCons D3 (DOne D0))
ByteSize (DCons D3 (DOne D1))
ByteSize (DCons D3 (DOne D2))
#D2 Source
data D2 :: Digit
Instances
KnownDigit D2
IncD D1 D2 False
IncD D2 D3 False
IntSize (DCons D2 (DOne D4))
IntSize (DCons D3 (DOne D2))
IntSize (DCons D7 (DOne D2))
IntSize (DCons D1 (DCons D1 (DOne D2)))
IntSize (DCons D1 (DCons D2 (DOne D0)))
IntSize (DCons D1 (DCons D2 (DOne D8)))
IntSize (DCons D1 (DCons D5 (DOne D2)))
IntSize (DCons D1 (DCons D9 (DOne D2)))
IntSize (DCons D2 (DCons D0 (DOne D0)))
IntSize (DCons D2 (DCons D0 (DOne D8)))
IntSize (DCons D2 (DCons D1 (DOne D6)))
IntSize (DCons D2 (DCons D2 (DOne D4)))
IntSize (DCons D2 (DCons D3 (DOne D2)))
IntSize (DCons D2 (DCons D4 (DOne D0)))
IntSize (DCons D2 (DCons D4 (DOne D8)))
IntSize (DCons D2 (DCons D5 (DOne D6)))
ByteSize (DOne D2)
ByteSize (DCons D1 (DOne D2))
ByteSize (DCons D2 (DOne D0))
ByteSize (DCons D2 (DOne D1))
ByteSize (DCons D2 (DOne D2))
ByteSize (DCons D2 (DOne D3))
ByteSize (DCons D2 (DOne D4))
ByteSize (DCons D2 (DOne D5))
ByteSize (DCons D2 (DOne D6))
ByteSize (DCons D2 (DOne D7))
ByteSize (DCons D2 (DOne D8))
ByteSize (DCons D2 (DOne D9))
ByteSize (DCons D3 (DOne D2))
#D1 Source
data D1 :: Digit
Instances
KnownDigit D1
IncD D0 D1 False
IncD D1 D2 False
IntSize (DCons D1 (DOne D6))
IntSize (DCons D1 (DCons D0 (DOne D4)))
IntSize (DCons D1 (DCons D1 (DOne D2)))
IntSize (DCons D1 (DCons D2 (DOne D0)))
IntSize (DCons D1 (DCons D2 (DOne D8)))
IntSize (DCons D1 (DCons D3 (DOne D6)))
IntSize (DCons D1 (DCons D4 (DOne D4)))
IntSize (DCons D1 (DCons D5 (DOne D2)))
IntSize (DCons D1 (DCons D6 (DOne D0)))
IntSize (DCons D1 (DCons D6 (DOne D8)))
IntSize (DCons D1 (DCons D7 (DOne D6)))
IntSize (DCons D1 (DCons D8 (DOne D4)))
IntSize (DCons D1 (DCons D9 (DOne D2)))
IntSize (DCons D2 (DCons D1 (DOne D6)))
ByteSize (DOne D1)
ByteSize (DCons D1 (DOne D0))
ByteSize (DCons D1 (DOne D1))
ByteSize (DCons D1 (DOne D2))
ByteSize (DCons D1 (DOne D3))
ByteSize (DCons D1 (DOne D4))
ByteSize (DCons D1 (DOne D5))
ByteSize (DCons D1 (DOne D6))
ByteSize (DCons D1 (DOne D7))
ByteSize (DCons D1 (DOne D8))
ByteSize (DCons D1 (DOne D9))
ByteSize (DCons D2 (DOne D1))
ByteSize (DCons D3 (DOne D1))
#D0 Source
data D0 :: Digit
Instances
KnownDigit D0
IncD D0 D1 False
IncD D9 D0 True
IntSize (DCons D4 (DOne D0))
IntSize (DCons D8 (DOne D0))
IntSize (DCons D1 (DCons D0 (DOne D4)))
IntSize (DCons D1 (DCons D2 (DOne D0)))
IntSize (DCons D1 (DCons D6 (DOne D0)))
IntSize (DCons D2 (DCons D0 (DOne D0)))
IntSize (DCons D2 (DCons D0 (DOne D8)))
IntSize (DCons D2 (DCons D4 (DOne D0)))
ByteSize (DCons D1 (DOne D0))
ByteSize (DCons D2 (DOne D0))
ByteSize (DCons D3 (DOne D0))
#ByteSize Source
class (KnownSize n) <= ByteSize n
ByteSize
is empty class, if there is instance of ByteSize
for some number it means there
is solidity type bytes
of that size specific number in like bytes1
, bytes2
... bytes32
Instances
ByteSize (DOne D1)
ByteSize (DOne D2)
ByteSize (DOne D3)
ByteSize (DOne D4)
ByteSize (DOne D5)
ByteSize (DOne D6)
ByteSize (DOne D7)
ByteSize (DOne D8)
ByteSize (DOne D9)
ByteSize (DCons D1 (DOne D0))
ByteSize (DCons D1 (DOne D1))
ByteSize (DCons D1 (DOne D2))
ByteSize (DCons D1 (DOne D3))
ByteSize (DCons D1 (DOne D4))
ByteSize (DCons D1 (DOne D5))
ByteSize (DCons D1 (DOne D6))
ByteSize (DCons D1 (DOne D7))
ByteSize (DCons D1 (DOne D8))
ByteSize (DCons D1 (DOne D9))
ByteSize (DCons D2 (DOne D0))
ByteSize (DCons D2 (DOne D1))
ByteSize (DCons D2 (DOne D2))
ByteSize (DCons D2 (DOne D3))
ByteSize (DCons D2 (DOne D4))
ByteSize (DCons D2 (DOne D5))
ByteSize (DCons D2 (DOne D6))
ByteSize (DCons D2 (DOne D7))
ByteSize (DCons D2 (DOne D8))
ByteSize (DCons D2 (DOne D9))
ByteSize (DCons D3 (DOne D0))
ByteSize (DCons D3 (DOne D1))
ByteSize (DCons D3 (DOne D2))
#Inc Source
class Inc (input :: DigitList) (output :: DigitList) | input -> output
This is like inc
but in type-level for DigitList, it computes
increment of it's input. It could be used like this for example:
cons :: forall a n nInc. Inc n nInc => a -> Vector n a -> Vector nInc a
uncons :: forall a n nDec. Inc nDec n => Vector n a -> { head :: a, tail :: Vector nDec a }
see Network.Ethereum.Web3.Solidity.Vector
Instances
#IntSize Source
class (KnownSize n) <= IntSize n
IntSize
is empty class, if there is instance of IntSize
for some number it means there
is solidity type int
of that size specific number in like int16
, int24
... int256
Instances
IntSize (DOne D8)
IntSize (DCons D1 (DOne D6))
IntSize (DCons D2 (DOne D4))
IntSize (DCons D3 (DOne D2))
IntSize (DCons D4 (DOne D0))
IntSize (DCons D4 (DOne D8))
IntSize (DCons D5 (DOne D6))
IntSize (DCons D6 (DOne D4))
IntSize (DCons D7 (DOne D2))
IntSize (DCons D8 (DOne D0))
IntSize (DCons D8 (DOne D8))
IntSize (DCons D9 (DOne D6))
IntSize (DCons D1 (DCons D0 (DOne D4)))
IntSize (DCons D1 (DCons D1 (DOne D2)))
IntSize (DCons D1 (DCons D2 (DOne D0)))
IntSize (DCons D1 (DCons D2 (DOne D8)))
IntSize (DCons D1 (DCons D3 (DOne D6)))
IntSize (DCons D1 (DCons D4 (DOne D4)))
IntSize (DCons D1 (DCons D5 (DOne D2)))
IntSize (DCons D1 (DCons D6 (DOne D0)))
IntSize (DCons D1 (DCons D6 (DOne D8)))
IntSize (DCons D1 (DCons D7 (DOne D6)))
IntSize (DCons D1 (DCons D8 (DOne D4)))
IntSize (DCons D1 (DCons D9 (DOne D2)))
IntSize (DCons D2 (DCons D0 (DOne D0)))
IntSize (DCons D2 (DCons D0 (DOne D8)))
IntSize (DCons D2 (DCons D1 (DOne D6)))
IntSize (DCons D2 (DCons D2 (DOne D4)))
IntSize (DCons D2 (DCons D3 (DOne D2)))
IntSize (DCons D2 (DCons D4 (DOne D0)))
IntSize (DCons D2 (DCons D4 (DOne D8)))
IntSize (DCons D2 (DCons D5 (DOne D6)))
#KnownSize Source
class KnownSize (d :: DigitList) where
Members
Instances
(KnownDigit head) => KnownSize (DOne head)
(DigitCount rest, KnownSize rest, KnownDigit a) => KnownSize (DCons a rest)
#type (:&) Source
Operator alias for Network.Ethereum.Web3.Solidity.Size.DCons (right-associative / precedence 6)
#type (:%) Source
Operator alias for Network.Ethereum.Web3.Solidity.Size.DTwo (right-associative / precedence 6)
Re-exports from Network.Ethereum.Web3.Solidity.Tuple
#Tuple16 Source
data Tuple16 a b c d e f g h i j k l m n o p
Constructors
Tuple16 a b c d e f g h i j k l m n o p
Instances
Generic (Tuple16 a b c d e f g h i j k l m n o p) _
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m, Show n, Show o, Show p) => Show (Tuple16 a b c d e f g h i j k l m n o p)
(Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m, Eq n, Eq o, Eq p) => Eq (Tuple16 a b c d e f g h i j k l m n o p)
#Tuple15 Source
data Tuple15 a b c d e f g h i j k l m n o
Constructors
Tuple15 a b c d e f g h i j k l m n o
Instances
Generic (Tuple15 a b c d e f g h i j k l m n o) _
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m, Show n, Show o) => Show (Tuple15 a b c d e f g h i j k l m n o)
(Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m, Eq n, Eq o) => Eq (Tuple15 a b c d e f g h i j k l m n o)
#Tuple14 Source
data Tuple14 a b c d e f g h i j k l m n
Constructors
Tuple14 a b c d e f g h i j k l m n
Instances
Generic (Tuple14 a b c d e f g h i j k l m n) _
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m, Show n) => Show (Tuple14 a b c d e f g h i j k l m n)
(Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m, Eq n) => Eq (Tuple14 a b c d e f g h i j k l m n)
#Tuple13 Source
data Tuple13 a b c d e f g h i j k l m
Constructors
Tuple13 a b c d e f g h i j k l m
Instances
Generic (Tuple13 a b c d e f g h i j k l m) _
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i, Show j, Show k, Show l, Show m) => Show (Tuple13 a b c d e f g h i j k l m)
(Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m) => Eq (Tuple13 a b c d e f g h i j k l m)
#Tuple12 Source
Re-exports from Network.Ethereum.Web3.Solidity.UInt
Re-exports from Network.Ethereum.Web3.Solidity.Vector
#Vector Source
#vectorLength Source
vectorLength :: forall n a. KnownSize n => Vector n a -> Int
Get the length of a statically sized vector
- 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. TokenUnit - Network.
Ethereum. Web3. Types. Types
Given proxy of a Digit returns a number it represents