Add Compound support as an internal plugin

This commit is contained in:
TamtamHero
2020-10-05 18:22:42 +02:00
parent 6a754b5189
commit 4f2cef2e20
7 changed files with 254 additions and 10 deletions

View File

@@ -153,8 +153,8 @@ void erc20_plugin_call(int message, void *parameters) {
case ETH_PLUGIN_QUERY_CONTRACT_ID: {
ethQueryContractID_t *msg = (ethQueryContractID_t*)parameters;
strcpy(msg->name, "Approve");
strcpy(msg->version, "");
strcpy(msg->name, "Type");
strcpy(msg->version, "Approve");
msg->result = ETH_PLUGIN_RESULT_OK;
}
break;