pub fn encode(&self) -> Vec<Token> {
        vec![
            Token::Uint(self.tx_id),
            Token::FixedBytes(self.tx_hash.into()),
            Token::Uint(self.expiration_timestamp.into()),
            self.transaction.encode(),
            Token::Array(
                self.factory_deps
                    .iter()
                    .map(|b| Token::Bytes(b.clone()))
                    .collect(),
            ),
        ]
    }
Encodes `NewPriorityRequest` to a sequence of RLP tokens.
core/lib/types/src/abi.rs