jam-types 0.1.26

JAM protocol datatypes for interoperation between node internals, services and authorizers
Documentation
1
2
3
4
5
6
7
8
9
10
11
use codec::{Decode, Encode, MaxEncodedLen};

/// Args for invoking an inner PVM.
#[repr(C)]
#[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, MaxEncodedLen, Default)]
pub struct InvokeArgs {
	pub gas: i64,
	pub regs: [u64; 13],
}

impl codec::ConstEncodedLen for InvokeArgs {}