zinkc/artifact.rs
1//! Zink compiler artifact
2
3use crate::Config;
4use zabi::Abi;
5
6/// Zink compiler artifact
7#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
8#[derive(Default, Debug)]
9pub struct Artifact {
10 /// Contract ABIs
11 pub abi: Vec<Abi>,
12 /// Compiler configuration.
13 pub config: Config,
14 /// Runtime bytecode of the contract.
15 pub runtime_bytecode: Vec<u8>,
16}