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
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_CREATE_SALT_OFFSET: usize = TRANSACTION_CREATE_FIXED_SIZE - Salt::LEN;