mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 03:17:56 +00:00
592c3b694d
* Fix MaxLockers * fix constants * fix toolchains --------- Co-authored-by: Özgün Özerk <ozgunozerk.elo@gmail.com>
17 lines
345 B
Rust
17 lines
345 B
Rust
use serde::Deserialize;
|
|
|
|
use super::{abi::AbiItem, deserialize_bytecode};
|
|
|
|
#[derive(Deserialize)]
|
|
pub struct ForgeContract {
|
|
#[allow(dead_code)]
|
|
pub abi: Vec<AbiItem>,
|
|
pub bytecode: ForgeBytecode,
|
|
}
|
|
|
|
#[derive(Deserialize)]
|
|
pub struct ForgeBytecode {
|
|
#[serde(deserialize_with = "deserialize_bytecode")]
|
|
pub object: Vec<u8>,
|
|
}
|