mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Smash out the router library
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user