Skip to content

Commit e3646fd

Browse files
grass-codergrass-coder
authored andcommitted
remove move from cosmwasm
1 parent 82f6206 commit e3646fd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

developers/developer-guides/vm-specific-tutorials/wasmvm/vip-scoring-tutorial.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ This section explains how to use the `vip_score` contract to score users.
7676
<Tabs>
7777
<Tab title="Integrate with a smart contract">
7878
This method integrates scoring logic with the smart contract. This is useful when the scoring logic is simple and can be done in a single transaction.
79-
<Note>For integrate with contract, you should call `prepare_stage` function before scoring users. You can call this function only once for each stage. This function will initialize the stage and set the stage as active. See `fun prepare_stage_script()` function in [score_helper.move](./example/1.integrate-with-contract/sources/score_helper.move).</Note>
79+
<Note>For integrate with contract, you should call `prepare_stage` function before scoring users. You can call this function only once for each stage. This function will initialize the stage and set the stage as active.</Note>
8080
</Tab>
8181
<Tab title="Update with script">
8282
This method is useful when the scoring logic is complex and requires multiple transactions. In this case, you can update all scores at once by calling `update_score` function.
@@ -109,12 +109,6 @@ This section explains how to use the `vip_score` contract to score users.
109109
</Step>
110110
<Step title="Finalize stage">
111111
Finalizing the stage is the last step of the scoring process. After this, no more scoring is allowed until the next stage. Stage must be finalized in order for the VIP agent to take a snapshot of the scoring result. If not finalized, reward distribution will not happen.
112-
113-
```move
114-
// vip_score.move
115-
public entry fun finalize_script(deployer: &signer, stage: u64) acquires ModuleStore {}
116-
```
117-
118112
```ts InitiaJS
119113
const msg = new MsgExecuteContract(
120114
key.accAddress,

0 commit comments

Comments
 (0)