-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Buddy Deck
committed
Aug 30, 2019
1 parent
4b1151e
commit 3f98974
Showing
5 changed files
with
38 additions
and
32 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
#include <eosiolib/eosio.hpp> | ||
#include "hello.hpp" | ||
|
||
using namespace eosio; | ||
ACTION hello::hi(name user) | ||
{ | ||
print("Hello, ", name{user}); | ||
} | ||
|
||
CONTRACT hello : public eosio::contract{ | ||
public: | ||
using contract::contract; | ||
|
||
ACTION hi(name user) { | ||
print("Hello, ", name{ user }); | ||
} | ||
}; | ||
|
||
EOSIO_DISPATCH(hello, (hi)) | ||
// EOSIO_DISPATCH(hello, (hi)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include <eosio/eosio.hpp> | ||
|
||
using namespace eosio; | ||
|
||
CONTRACT hello : public eosio::contract | ||
{ | ||
public: | ||
using contract::contract; | ||
ACTION hi(name user); | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"eosiocppDockerImage": "binaryfocus/eosio_wasm_1.5.1" | ||
"eosiocppDockerImage": "eosnewyork/eos.cdt:1.6.2_1.8.2_18.04" | ||
} | ||
|
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