23 lines
356 B
Plaintext
23 lines
356 B
Plaintext
struct Content {
|
|
content: String;
|
|
}
|
|
|
|
contract Gift {
|
|
// owner: Address;
|
|
// content: Content;
|
|
|
|
// init(
|
|
// owner: Address,
|
|
// content: Content
|
|
// ) {
|
|
// self.owner = owner;
|
|
// self.content = content;
|
|
// }
|
|
|
|
receive() {
|
|
self.reply(
|
|
"Hello, world!".asComment()
|
|
);
|
|
}
|
|
|
|
} |