mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-06-25 10:11:03 +00:00
* Added a possibility to predeploy contracts to the genesis block * Added some default contracts to predeploy.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
use serde::Deserialize;
|
||||
|
||||
use super::{abi::AbiItem, deserialize_bytecode};
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct HardhatContract {
|
||||
pub abi: Vec<AbiItem>,
|
||||
#[serde(deserialize_with = "deserialize_bytecode")]
|
||||
pub bytecode: Vec<u8>,
|
||||
}
|
||||
Reference in New Issue
Block a user