Created
January 8, 2022 15:48
-
-
Save MCarlomagno/18bd45e56d44251af00e88cae9632ed8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct request | |
{ | |
string task; | |
string memo; | |
bytes args; | |
account_name administrator; | |
account_name contract; | |
uint32_t timestamp; | |
uint32_t update_each; | |
request_type mode; | |
uint64_t primary_key() const { return pack_hash(get_full_hash(task, memo, contract)); } | |
EOSLIB_SERIALIZE(request, (task)(memo)(args)(administrator)(contract)(timestamp)(update_each)(mode)) | |
}; | |
struct oracle | |
{ | |
account_name account; | |
uint64_t primary_key() const { return account; } | |
EOSLIB_SERIALIZE(oracles, (account)) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment