Threshold encryption needs to be able to get the last argument of a smart contract call from Ethereum transaction
Provide an implementation of the following interface
class EncryptedTransactionAnalyzer {
public: virtual shared_ptr<std::vector<uint8_t>> getEncryptedData( const std::vector<uint8_t>& transaction) = 0;
};
- If transaction data includes a byte segment:
- starting wth TE_MAGIC_START=0xf84a1cf7214ae051cae8
- ending with TE_MAGIC_END=0x98a773d884b2f1c4ac27
Return this byte segment (without magic numbers) as a shared pointer to bytes
Otherwise, return null
┆Issue is synchronized with this Jira Task
Threshold encryption needs to be able to get the last argument of a smart contract call from Ethereum transaction
Provide an implementation of the following interface
class EncryptedTransactionAnalyzer {
public: virtual shared_ptr<std::vector<uint8_t>> getEncryptedData( const std::vector<uint8_t>& transaction) = 0;
};
Return this byte segment (without magic numbers) as a shared pointer to bytes
Otherwise, return null
┆Issue is synchronized with this Jira Task