[SON ETH] Implement Ethereum smart contract function call encoding/decoding #380

Closed
opened 2022-06-01 12:59:21 +00:00 by pavel.baykov · 3 comments
pavel.baykov commented 2022-06-01 12:59:21 +00:00 (Migrated from gitlab.com)

using
https://docs.google.com/document/d/105kavm8_PXElOg0Ck2DRQt9ovtNf8PdZGu6X1l_lDV4/edit#

implement encoder and propose/implement interface for decoder
class ethereum_function_call_encoder {
std::string encode_function_signature(const std::string& function_signature);
std::string encode_address(const std::string& addr);
std::string encode_uint256(const std::string& value);
std::string encode_uint8(uint8_t value);
std::string encode_bytes(const std::string& values);
};

using https://docs.google.com/document/d/105kavm8_PXElOg0Ck2DRQt9ovtNf8PdZGu6X1l_lDV4/edit# implement encoder and propose/implement interface for decoder class ethereum_function_call_encoder { std::string encode_function_signature(const std::string& function_signature); std::string encode_address(const std::string& addr); std::string encode_uint256(const std::string& value); std::string encode_uint8(uint8_t value); std::string encode_bytes(const std::string& values); };
pavel.baykov commented 2022-06-01 12:59:21 +00:00 (Migrated from gitlab.com)

assigned to @pavel.baykov

assigned to @pavel.baykov
serkixenos commented 2022-06-01 14:39:24 +00:00 (Migrated from gitlab.com)

changed title from {-i-}mplement Ethereum smart contract function call encoding/decoding to {+[SON ETH] I+}mplement Ethereum smart contract function call encoding/decoding

changed title from **{-i-}mplement Ethereum smart contract function call encoding/decoding** to **{+[SON ETH] I+}mplement Ethereum smart contract function call encoding/decoding**
serkixenos commented 2022-06-16 01:40:11 +00:00 (Migrated from gitlab.com)

Closing as obsolete, will be handled in another ticket.

Closing as obsolete, will be handled in another ticket.
serkixenos (Migrated from gitlab.com) closed this issue 2022-06-16 01:40:14 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#380
No description provided.