From 638add6bcde6a528897c3907f799f35feac295fb Mon Sep 17 00:00:00 2001 From: Costa <77694967+costa2400@users.noreply.github.com> Date: Mon, 4 Mar 2024 11:21:49 -0500 Subject: [PATCH] Update entry-points.md --- src/basics/entry-points.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/basics/entry-points.md b/src/basics/entry-points.md index 210cd29..83f1aa8 100644 --- a/src/basics/entry-points.md +++ b/src/basics/entry-points.md @@ -6,9 +6,9 @@ In CosmWasm, the concept of an entry point is fundamental to the operation of sm Entry points in CosmWasm smart contracts are defined functions the blockchain calls in response to various actions, such as a contract's deployment, message execution, or information requests. The primary entry points are: -1. **[Instantiate](https://chat.openai.com/c/dcbf6b7b-aadb-452d-9e1d-cae2b89df3bd#instantiate)** -2. **[Execute](https://chat.openai.com/c/dcbf6b7b-aadb-452d-9e1d-cae2b89df3bd#execute)** -3. **[Query](https://chat.openai.com/c/dcbf6b7b-aadb-452d-9e1d-cae2b89df3bd#query)** +1. **[Instantiate]** +2. **[Execute]** +3. **[Query]** Each entry point serves a specific purpose in the contract's lifecycle and interaction with the blockchain. @@ -75,4 +75,4 @@ When defining these entry points in CosmWasm, the **`#[entry_point]`** attribute ### **Conclusion** -Understanding and implementing entry points are critical for developing smart contracts in CosmWasm. These functions enable the contract to interact seamlessly with the blockchain, ensuring it can be initialized, executed, and queried as intended. By following the guidelines outlined in this chapter, developers can create efficient, secure, and functional smart contracts for the CosmWasm ecosystem. \ No newline at end of file +Understanding and implementing entry points are critical for developing smart contracts in CosmWasm. These functions enable the contract to interact seamlessly with the blockchain, ensuring it can be initialized, executed, and queried as intended. By following the guidelines outlined in this chapter, developers can create efficient, secure, and functional smart contracts for the CosmWasm ecosystem.