|
1 | | -import ConceptImage from '@site/src/components/conceptImage'; |
2 | | -import ThemedImage from '@theme/ThemedImage'; |
3 | | - |
4 | | -# Ecosystem Messages Layout |
| 1 | +import ConceptImage from "@site/src/components/conceptImage"; |
| 2 | +import ThemedImage from "@theme/ThemedImage"; |
5 | 3 |
|
| 4 | +# Ecosystem messages layout |
6 | 5 |
|
7 | 6 | ## Sending messages |
8 | | -<br></br> |
| 7 | + |
9 | 8 | <div class="text--center"> |
10 | | -<ThemedImage |
11 | | - alt="" |
12 | | - sources={{ |
13 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_1.svg?raw=true', |
14 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_1_dark.svg?raw=true', |
15 | | - }} |
16 | | -/> |
| 9 | + <ThemedImage |
| 10 | + alt="Diagram of message sending flow" |
| 11 | + sources={{ |
| 12 | + light: |
| 13 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_1.svg?raw=true", |
| 14 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_1_dark.svg?raw=true", |
| 15 | + }} |
| 16 | + /> |
17 | 17 | </div> |
18 | | -<br></br> |
19 | 18 |
|
20 | 19 | ## Deploying a contract |
21 | | -<br></br> |
| 20 | + |
22 | 21 | <div class="text--center"> |
23 | | -<ThemedImage |
24 | | - alt="" |
25 | | - sources={{ |
26 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_2.svg?raw=true', |
27 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_2_dark.svg?raw=true', |
28 | | - }} |
29 | | -/> |
| 22 | + <ThemedImage |
| 23 | + alt="Diagram of contract deployment process" |
| 24 | + sources={{ |
| 25 | + light: |
| 26 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_2.svg?raw=true", |
| 27 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_2_dark.svg?raw=true", |
| 28 | + }} |
| 29 | + /> |
30 | 30 | </div> |
31 | | -<br></br> |
32 | 31 |
|
33 | 32 | ## Burn jettons |
34 | 33 |
|
35 | | -* [modern_jetton](https://github.com/EmelyanenkoK/modern_jetton/blob/master/contracts/op-codes.func) smart contract |
36 | | - |
37 | | -<br></br> |
38 | | -<div class="text--center"> |
39 | | -<ThemedImage |
40 | | - alt="" |
41 | | - sources={{ |
42 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_3.svg?raw=true', |
43 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_3_dark.svg?raw=true', |
44 | | - }} |
45 | | -/> |
46 | | -</div> |
47 | | -<br></br> |
48 | | - |
| 34 | +- Implementation: [modern_jetton](https://github.com/EmelyanenkoK/modern_jetton/blob/master/contracts/op-codes.func) smart contract |
| 35 | + <div class="text--center"> |
| 36 | + <ThemedImage |
| 37 | + alt="Diagram of jetton burning process" |
| 38 | + sources={{ |
| 39 | + light: |
| 40 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_3.svg?raw=true", |
| 41 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_3_dark.svg?raw=true", |
| 42 | + }} |
| 43 | + /> |
| 44 | + </div> |
49 | 45 |
|
50 | 46 | ## Request jetton wallet address |
51 | 47 |
|
52 | | -* [modern_jetton](https://github.com/EmelyanenkoK/modern_jetton/blob/master/contracts/op-codes.func) smart contract |
53 | | - |
54 | | -<br></br> |
55 | | -<div class="text--center"> |
56 | | -<ThemedImage |
57 | | - alt="" |
58 | | - sources={{ |
59 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_4.svg?raw=true', |
60 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_4_dark.svg?raw=true', |
61 | | - }} |
62 | | -/> |
63 | | -</div> |
64 | | -<br></br> |
| 48 | +- Implementation: [modern_jetton](https://github.com/EmelyanenkoK/modern_jetton/blob/master/contracts/op-codes.func) smart contract |
| 49 | + <div class="text--center"> |
| 50 | + <ThemedImage |
| 51 | + alt="Diagram of wallet address request flow" |
| 52 | + sources={{ |
| 53 | + light: |
| 54 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_4.svg?raw=true", |
| 55 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_4_dark.svg?raw=true", |
| 56 | + }} |
| 57 | + /> |
| 58 | + </div> |
65 | 59 |
|
66 | 60 | ## Transfer jettons |
67 | 61 |
|
68 | | -* [modern_jetton](https://github.com/EmelyanenkoK/modern_jetton/blob/master/contracts/op-codes.func) smart contract |
69 | | - |
70 | | -<br></br> |
71 | | -<div class="text--center"> |
72 | | -<ThemedImage |
73 | | - alt="" |
74 | | - sources={{ |
75 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_5.svg?raw=true', |
76 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_5_dark.svg?raw=true', |
77 | | - }} |
78 | | -/> |
79 | | -</div> |
80 | | -<br></br> |
| 62 | +- Implementation: [modern_jetton](https://github.com/EmelyanenkoK/modern_jetton/blob/master/contracts/op-codes.func) smart contract |
| 63 | + <div class="text--center"> |
| 64 | + <ThemedImage |
| 65 | + alt="Diagram of jetton transfer process" |
| 66 | + sources={{ |
| 67 | + light: |
| 68 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_5.svg?raw=true", |
| 69 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_5_dark.svg?raw=true", |
| 70 | + }} |
| 71 | + /> |
| 72 | + </div> |
81 | 73 |
|
82 | 74 | ## Mint jettons |
83 | 75 |
|
84 | | -* [minter-contract](https://github.com/ton-blockchain/minter-contract/blob/main/contracts/imports/op-codes.fc) smart contract |
85 | | - |
86 | | -<br></br> |
87 | | -<div class="text--center"> |
88 | | -<ThemedImage |
89 | | - alt="" |
90 | | - sources={{ |
91 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_6.png?raw=true', |
92 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_6_dark.png?raw=true', |
93 | | - }} |
94 | | -/> |
95 | | -</div> |
96 | | -<br></br> |
| 76 | +- Implementation: [minter-contract](https://github.com/ton-blockchain/minter-contract/blob/main/contracts/imports/op-codes.fc) smart contract |
| 77 | + <div class="text--center"> |
| 78 | + <ThemedImage |
| 79 | + alt="Diagram of jetton minting process" |
| 80 | + sources={{ |
| 81 | + light: |
| 82 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_6.png?raw=true", |
| 83 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_6_dark.png?raw=true", |
| 84 | + }} |
| 85 | + /> |
| 86 | + </div> |
97 | 87 |
|
98 | 88 | ## Prove SBT ownership to contract |
99 | 89 |
|
100 | | -* [nft_contracts](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
101 | | - |
102 | | -<br></br> |
103 | | -<div class="text--center"> |
104 | | -<ThemedImage |
105 | | - alt="" |
106 | | - sources={{ |
107 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_7.svg?raw=true', |
108 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_7_dark.svg?raw=true', |
109 | | - }} |
110 | | -/> |
111 | | -</div> |
112 | | -<br></br> |
| 90 | +- Implementation: [nft_contract](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
| 91 | + <div class="text--center"> |
| 92 | + <ThemedImage |
| 93 | + alt="Diagram of SBT ownership verification" |
| 94 | + sources={{ |
| 95 | + light: |
| 96 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_7.svg?raw=true", |
| 97 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_7_dark.svg?raw=true", |
| 98 | + }} |
| 99 | + /> |
| 100 | + </div> |
113 | 101 |
|
114 | 102 | ## Transfer NFT |
115 | 103 |
|
116 | | -* [nft_contracts](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
117 | | - |
118 | | -<br></br> |
119 | | -<div class="text--center"> |
120 | | -<ThemedImage |
121 | | - alt="" |
122 | | - sources={{ |
123 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_8.svg?raw=true', |
124 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_8_dark.svg?raw=true', |
125 | | - }} |
126 | | -/> |
127 | | -</div> |
128 | | -<br></br> |
| 104 | +- Implementation: [nft_contract](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
| 105 | + <div class="text--center"> |
| 106 | + <ThemedImage |
| 107 | + alt="Diagram of NFT transfer process" |
| 108 | + sources={{ |
| 109 | + light: |
| 110 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_8.svg?raw=true", |
| 111 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_8_dark.svg?raw=true", |
| 112 | + }} |
| 113 | + /> |
| 114 | + </div> |
129 | 115 |
|
130 | 116 | ## Mint NFT |
131 | | -:::info |
132 | | -Does not specified by NFT standard for /ton-blockchain /token-contract |
133 | | -::: |
134 | | -<br></br> |
135 | | -<div class="text--center"> |
136 | | -<ThemedImage |
137 | | - alt="" |
138 | | - sources={{ |
139 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_9.svg?raw=true', |
140 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_9_dark.svg?raw=true', |
141 | | - }} |
142 | | -/> |
143 | | -</div> |
144 | | -<br></br> |
145 | 117 |
|
146 | | -## Batch mint NFT |
147 | 118 | :::info |
148 | | -Does not specified by NFT standard for /ton-blockchain /token-contract |
149 | | -::: |
150 | | -<br></br> |
151 | | -<div class="text--center"> |
152 | | -<ThemedImage |
153 | | - alt="" |
154 | | - sources={{ |
155 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_10.svg?raw=true', |
156 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_10_dark.svg?raw=true', |
157 | | - }} |
158 | | -/> |
159 | | -</div> |
160 | | -<br></br> |
| 119 | +Not specified by NFT standard in /ton-blockchain/token-contract |
| 120 | +::: |
161 | 121 |
|
162 | | -## Destroy SBT by User |
163 | | - |
164 | | -* [nft_contracts](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
165 | | - |
166 | | -<br></br> |
167 | 122 | <div class="text--center"> |
168 | | -<ThemedImage |
169 | | - alt="" |
170 | | - sources={{ |
171 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_11.svg?raw=true', |
172 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_11_dark.svg?raw=true', |
173 | | - }} |
174 | | -/> |
| 123 | + <ThemedImage |
| 124 | + alt="Diagram of NFT minting process" |
| 125 | + sources={{ |
| 126 | + light: |
| 127 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_9.svg?raw=true", |
| 128 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_9_dark.svg?raw=true", |
| 129 | + }} |
| 130 | + /> |
175 | 131 | </div> |
176 | | -<br></br> |
177 | 132 |
|
178 | | -## Destroy SBT by Admin |
| 133 | +## Batch mint NFT |
179 | 134 |
|
180 | | -* [nft_contracts](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
| 135 | +:::info |
| 136 | +Not specified by NFT standard in /ton-blockchain/token-contract |
| 137 | +::: |
181 | 138 |
|
182 | | -<br></br> |
183 | 139 | <div class="text--center"> |
184 | | -<ThemedImage |
185 | | - alt="" |
186 | | - sources={{ |
187 | | - light: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_12.svg?raw=true', |
188 | | - dark: '/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_12_dark.svg?raw=true', |
189 | | - }} |
190 | | -/> |
| 140 | + <ThemedImage |
| 141 | + alt="Diagram of batch NFT minting process" |
| 142 | + sources={{ |
| 143 | + light: |
| 144 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_10.svg?raw=true", |
| 145 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_10_dark.svg?raw=true", |
| 146 | + }} |
| 147 | + /> |
191 | 148 | </div> |
192 | | -<br></br> |
193 | | - |
194 | 149 |
|
| 150 | +## Destroy SBT by User |
195 | 151 |
|
| 152 | +- Implementation: [nft_contracts](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
| 153 | + <div class="text--center"> |
| 154 | + <ThemedImage |
| 155 | + alt="Diagram of user-initiated SBT destruction" |
| 156 | + sources={{ |
| 157 | + light: |
| 158 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_11.svg?raw=true", |
| 159 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_11_dark.svg?raw=true", |
| 160 | + }} |
| 161 | + /> |
| 162 | + </div> |
196 | 163 |
|
| 164 | +## Destroy SBT by Admin |
197 | 165 |
|
| 166 | +- Implementation: [nft_contracts](https://github.com/getgems-io/nft-contracts/blob/main/packages/contracts/sources/op-codes.fc) smart contract |
| 167 | + <div class="text--center"> |
| 168 | + <ThemedImage |
| 169 | + alt="Diagram of admin-initiated SBT destruction" |
| 170 | + sources={{ |
| 171 | + light: |
| 172 | + "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_12.svg?raw=true", |
| 173 | + dark: "/img/docs/ecosystem-messages-layout/ecosystem_messages_layout_12_dark.svg?raw=true", |
| 174 | + }} |
| 175 | + /> |
| 176 | + </div> |
0 commit comments