viaduct
0.3.0
interpreter
/
io.github.aplcornell.viaduct.backend
/
WireIn
Wire
In
data
class
WireIn
(
val
v
:
Int
,
val
index
:
Int
,
val
hash
:
List
<
Byte
>
,
val
nonce
:
List
<
Byte
>
)
:
WireTerm
Constructors
Properties
Extensions
Constructors
Wire
In
Link copied to clipboard
fun
WireIn
(
v
:
Int
,
index
:
Int
,
hash
:
List
<
Byte
>
,
nonce
:
List
<
Byte
>
)
Properties
hash
Link copied to clipboard
val
hash
:
List
<
Byte
>
index
Link copied to clipboard
val
index
:
Int
nonce
Link copied to clipboard
val
nonce
:
List
<
Byte
>
v
Link copied to clipboard
val
v
:
Int
Extensions
as
String
Link copied to clipboard
fun
WireTerm
.
asString
(
)
:
String
eval
Link copied to clipboard
fun
WireTerm
.
eval
(
)
:
Int
hash
Link copied to clipboard
fun
WireTerm
.
hash
(
)
:
String
normalize
Link copied to clipboard
fun
WireTerm
.
normalize
(
counter
:
NormalizeCounter
)
:
WireTerm
to
R1CS
Link copied to clipboard
fun
WireTerm
.
toR1CS
(
isProver
:
Boolean
,
is_eq_to
:
Int
)
:
R1CS
wire
Name
Link copied to clipboard
fun
WireTerm
.
wireName
(
)
:
String