mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 22:03:06 +00:00
13 lines
272 B
Rust
13 lines
272 B
Rust
use borsh::{BorshDeserialize, BorshSerialize};
|
|
|
|
#[derive(Debug, Clone, PartialEq, Eq, BorshSerialize, BorshDeserialize)]
|
|
pub struct Message {
|
|
pub(crate) bytecode: Vec<u8>,
|
|
}
|
|
|
|
impl Message {
|
|
pub fn new(bytecode: Vec<u8>) -> Self {
|
|
Self { bytecode }
|
|
}
|
|
}
|