tx.rs 298 B

12345678910111213
  1. use darkfi_serial::{SerialDecodable, SerialEncodable};
  2. use pasta_curves::pallas;
  3. type ContractId = pallas::Base;
  4. type FuncId = pallas::Base;
  5. #[derive(SerialEncodable, SerialDecodable)]
  6. pub struct FuncCall {
  7. pub contract_id: ContractId,
  8. pub func_id: FuncId,
  9. pub call_data: Vec<u8>,
  10. }