Smash out the router library

This commit is contained in:
Luke Parker
2024-09-17 01:04:08 -04:00
parent a7d5640642
commit cc75a92641
13 changed files with 749 additions and 445 deletions

View File

@@ -29,6 +29,13 @@ impl ContractDeployment {
}
Some(Self { gas, code })
}
pub fn gas(&self) -> u32 {
self.gas
}
pub fn code(&self) -> &[u8] {
&self.code
}
}
/// A representation of an Ethereum address.