nada_dsl.circuit_io
Program Input Output utilities.
Define the types used for inputs and outputs in Nada programs.
- class Input(name, party, doc='')[source]
Bases:
NadaTypeRepresents an input to the computation.
- party: Party
- class Literal(value, source_ref)[source]
Bases:
NadaTypeRepresents a literal value.
- value
The value of the literal.
- Type:
Any
- class Output(inner, name, party)[source]
Bases:
objectRepresents an output from the computation.
- inner
The type of the output.
- Type:
AllTypes
- __eq__(other)
Return self==value.
- inner: Integer | UnsignedInteger | Boolean | PublicInteger | PublicUnsignedInteger | PublicBoolean | SecretInteger | SecretUnsignedInteger | SecretBoolean | Array | Vector | Tuple | NTuple | Object | EcdsaPrivateKey | EcdsaDigestMessage | EcdsaSignature
- party: Party