1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
use crate::TxPointer;
use fuel_types::bytes::WORD_SIZE;
use fuel_types::{Bytes32, Salt};
pub const TRANSACTION_SCRIPT_FIXED_SIZE: usize = WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + Bytes32::LEN; pub const TRANSACTION_CREATE_FIXED_SIZE: usize = WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + WORD_SIZE + Salt::LEN; pub const TRANSACTION_MINT_FIXED_SIZE: usize = WORD_SIZE + TxPointer::LEN + WORD_SIZE;