Created
December 8, 2018 15:46
-
-
Save epicdistraction/1b65fcaa9dbd2814028046ba9c366ff0 to your computer and use it in GitHub Desktop.
This file contains 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
transaction deferredTrans{}; | |
deferredTrans.actions.emplace_back( | |
action({_self, "removefunds"_n)}, | |
"eosio.token"_n), "transfer"_n, | |
std::make_tuple(_self, to_act, quantity, final_memo) | |
) | |
); | |
deferredTrans.delay_sec = TRANSFER_DELAY; | |
uint128_t sender_id = (uint128_t(to_act) << 64) | now(); | |
deferredTrans.send(sender_id, _self); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment