contract.rs 624 B

123456789101112
  1. pub struct ContractDeploy {
  2. /// Public address of the contract, derived from the deploy key.
  3. pub address: pallas::Base,
  4. /// Public key of the contract, derived from the deploy key.
  5. /// Used for signatures and authorizations, as well as deriving the
  6. /// contract's address.
  7. pub public: PublicKey,
  8. /// Compiled smart contract wasm binary to be executed in the wasm vm runtime.
  9. pub wasm_binary: Vec<u8>,
  10. /// Compiled zkas circuits used by the smart contract provers and verifiers.
  11. pub circuits: Vec<Vec<u8>>, // XXX: TODO: FIXME: The namespace of the zkas circuit should be in the bin
  12. }