Skip to content

Commit

Permalink
chore: add docs to CompilerContract trait
Browse files Browse the repository at this point in the history
  • Loading branch information
elfedy committed Nov 27, 2024
1 parent 2be52cf commit 0a36f57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/compilers/src/compilers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ pub trait Language:
const FILE_EXTENSIONS: &'static [&'static str];
}

/// Represents a compiled contract
pub trait CompilerContract: Serialize + Send + Sync + Debug + Clone + Eq + Sized {
fn abi_ref(&self) -> Option<&JsonAbi>;
fn bin_ref(&self) -> Option<&BytecodeObject>;
Expand Down

0 comments on commit 0a36f57

Please sign in to comment.