Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial flipper #229

Merged
merged 35 commits into from
Jan 17, 2023
Merged

Tutorial flipper #229

merged 35 commits into from
Jan 17, 2023

Conversation

PierreOssun
Copy link
Member

No description provided.

@PierreOssun PierreOssun requested a review from a team January 16, 2023 16:29
@PierreOssun PierreOssun requested a review from a team as a code owner January 16, 2023 16:29
@github-actions
Copy link

github-actions bot commented Jan 16, 2023

Visit the preview URL for this PR (updated for commit 3272622):

https://astar-docs--pr229-tutorial-flipper-rxyiyj6f.web.app

(expires Tue, 24 Jan 2023 13:16:52 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f2f13e9b593d211faae6343d67a88fac3fd7268d

@Maar-io Maar-io force-pushed the tutorial/wasm-nft branch 2 times, most recently from 14b747a to 253d33f Compare January 16, 2023 17:35

#### Callable Functions

This Is called when the contract is deployed and is responsible for **bootstrapping the initial contract state** into the storage. ([details](https://use.ink/4.0.0-alpha.1/macros-attributes/constructor/))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is called

#[ink(message)]
```

`flip` function modify storage items and, `get` function get the storage item.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modifies storage
gets the storage

Base automatically changed from tutorial/wasm-nft to main January 17, 2023 09:43
@fiexer fiexer merged commit abb2991 into main Jan 17, 2023
@fiexer fiexer deleted the tutorial/flipper branch January 17, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants