Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. class [[eosio::contract("__CONTRACT__")]] token : public contract {
  2.  
  3. $ eosio-cpp -D__CONTRACT__=t t.cpp -o t.wasm --abigen
  4.  
  5. $ eosio-cpp -D__CONTRACT__=t -E -dD t.cpp -o - |grep __CONTRACT__
  6.  
  7. > #define __CONTRACT__ t
  8. > class [[eosio::contract("__CONTRACT__")]] token : public contract {
  9.  
  10. $ eosio-cpp t.cpp -o t.wasm --abigen --contract=__CONTRACT__
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement