Skip to content

Commit

Permalink
task05 调用脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
jethrozz committed Dec 2, 2024
1 parent 30d4748 commit 7fbda79
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions mover/jethrozz/code/swap/call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

- 主网
- mint
```shell
//mint
//0x91459991a3e1778334dc4bd007cb90fe9989a4aabfcef4ed19095e712507ea43

sui client call --package 0x05bc4dcb87aa2a6279ee03177b43506920f453e6ec279b7d630937229ecfd0f9 --module HK --function mint --args 0x0deb45d9337131bf0831962504ad08c0d7a6c8c2e51730d25b09e03771eda86d 9990000000000 0x91459991a3e1778334dc4bd007cb90fe9989a4aabfcef4ed19095e712507ea43


//存HK
sui client call --package 0x05bc4dcb87aa2a6279ee03177b43506920f453e6ec279b7d630937229ecfd0f9 --module swap --function deposit_hk --args 0x77109f25f6ca4c958585aaef22001b7434c3d7a85e74577a7f50568bf6a51944 0xb466dde3ba1581d9449555ba2387f9a37967ec698003904647bd89b6b8602488

//存j_coin
sui client call --package 0x05bc4dcb87aa2a6279ee03177b43506920f453e6ec279b7d630937229ecfd0f9 --module swap --function deposit_jethro_coin --args 0x77109f25f6ca4c958585aaef22001b7434c3d7a85e74577a7f50568bf6a51944 0xabd5237b7d162981d16d1843d5d63c5c6e5fffc8bff45c3c42c10fd5d08f8dec

//swap 80个J_COIN

sui client call --package 0x05bc4dcb87aa2a6279ee03177b43506920f453e6ec279b7d630937229ecfd0f9 --module swap --function swap_hk --args 0x77109f25f6ca4c958585aaef22001b7434c3d7a85e74577a7f50568bf6a51944 0x05e27b8eb1c4d689e2ed2d48ddbe6b16287e0c5f45087ef4f92024dd729f0888




sui client call --package 0x05bc4dcb87aa2a6279ee03177b43506920f453e6ec279b7d630937229ecfd0f9 --module swap --function swap_j_coin --args 0x77109f25f6ca4c958585aaef22001b7434c3d7a85e74577a7f50568bf6a51944 0xd781c4bcbaece4258765c925c6d9b709b2799ca8db7a0303968e4c849fa459de

```

0 comments on commit 7fbda79

Please sign in to comment.