Skip to content

Commit e36260a

Browse files
elfedyklkvr
andauthored
Update crates/compilers/src/compilers/mod.rs
Co-authored-by: Arsenii Kulikov <[email protected]>
1 parent 7ddf905 commit e36260a

File tree

1 file changed

+5
-0
lines changed
  • crates/compilers/src/compilers

1 file changed

+5
-0
lines changed

crates/compilers/src/compilers/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,13 @@ pub trait Language:
278278

279279
/// Represents a compiled contract
280280
pub trait CompilerContract: Serialize + Send + Sync + Debug + Clone + Eq + Sized {
281+
/// Reference to contract ABI
281282
fn abi_ref(&self) -> Option<&JsonAbi>;
283+
284+
//// Reference to contract bytecode
282285
fn bin_ref(&self) -> Option<&BytecodeObject>;
286+
287+
//// Reference to contract runtime bytecode
283288
fn bin_runtime_ref(&self) -> Option<&BytecodeObject>;
284289

285290
fn as_compact_contract_ref(&self) -> CompactContractRef<'_> {

0 commit comments

Comments
 (0)