|
197 | 197 |
|
198 | 198 |
|
199 | 199 |
|
200 |
| -<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal">create_proposal</a><DAOT: store>(sender: &signer, description: vector<u8>, member: <b>address</b>, image_data: vector<u8>, image_url: vector<u8>, init_sbt: u128, action_delay: u64) |
| 200 | +<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal">create_proposal</a><DAOT: store>(sender: &signer, title: vector<u8>, introduction: vector<u8>, description: vector<u8>, member: <b>address</b>, image_data: vector<u8>, image_url: vector<u8>, init_sbt: u128, action_delay: u64) |
201 | 201 | </code></pre>
|
202 | 202 |
|
203 | 203 |
|
|
206 | 206 | <summary>Implementation</summary>
|
207 | 207 |
|
208 | 208 |
|
209 |
| -<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal">create_proposal</a><DAOT: store>(sender: &signer, description: vector<u8>, member: <b>address</b>, image_data:vector<u8>, image_url:vector<u8>, init_sbt: u128, action_delay: u64){ |
| 209 | +<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal">create_proposal</a><DAOT: store>(sender: &signer, title:vector<u8>, introduction:vector<u8>, description: vector<u8>, member: <b>address</b>, image_data:vector<u8>, image_url:vector<u8>, init_sbt: u128, action_delay: u64){ |
210 | 210 | <b>let</b> witness = <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin">MemberProposalPlugin</a>{};
|
211 | 211 | <b>let</b> cap = <a href="DAOSpace.md#0x1_DAOSpace_acquire_proposal_cap">DAOSpace::acquire_proposal_cap</a><DAOT, <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin">MemberProposalPlugin</a>>(&witness);
|
212 | 212 | <b>let</b> action = <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_MemberJoinAction">MemberJoinAction</a>{
|
|
217 | 217 | };
|
218 | 218 | <b>assert</b>!(!<a href="DAOSpace.md#0x1_DAOSpace_is_exist_member_offer">DAOSpace::is_exist_member_offer</a><DAOT>(member), <a href="Errors.md#0x1_Errors_already_published">Errors::already_published</a>(<a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_ERR_MEMBER_OFFER_EXIST">ERR_MEMBER_OFFER_EXIST</a>));
|
219 | 219 | <b>assert</b>!(!<a href="DAOSpace.md#0x1_DAOSpace_is_member">DAOSpace::is_member</a><DAOT>(member), <a href="Errors.md#0x1_Errors_already_published">Errors::already_published</a>(<a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_ERR_MEMBER_EXIST">ERR_MEMBER_EXIST</a>));
|
220 |
| - <a href="DAOSpace.md#0x1_DAOSpace_create_proposal">DAOSpace::create_proposal</a>(&cap, sender, action, description, action_delay); |
| 220 | + <a href="DAOSpace.md#0x1_DAOSpace_create_proposal">DAOSpace::create_proposal</a>(&cap, sender, action, title, introduction, description, action_delay); |
221 | 221 | }
|
222 | 222 | </code></pre>
|
223 | 223 |
|
|
231 | 231 |
|
232 | 232 |
|
233 | 233 |
|
234 |
| -<pre><code><b>public</b>(<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal_entry">create_proposal_entry</a><DAOT: store>(sender: signer, description: vector<u8>, member: <b>address</b>, image_data: vector<u8>, image_url: vector<u8>, init_sbt: u128, action_delay: u64) |
| 234 | +<pre><code><b>public</b>(<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal_entry">create_proposal_entry</a><DAOT: store>(sender: signer, title: vector<u8>, introduction: vector<u8>, description: vector<u8>, member: <b>address</b>, image_data: vector<u8>, image_url: vector<u8>, init_sbt: u128, action_delay: u64) |
235 | 235 | </code></pre>
|
236 | 236 |
|
237 | 237 |
|
|
240 | 240 | <summary>Implementation</summary>
|
241 | 241 |
|
242 | 242 |
|
243 |
| -<pre><code><b>public</b> (<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal_entry">create_proposal_entry</a><DAOT: store>(sender: signer, description: vector<u8>, member: <b>address</b>, image_data:vector<u8>, image_url:vector<u8>, init_sbt: u128, action_delay: u64){ |
244 |
| - <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal">create_proposal</a><DAOT>(&sender, description, member, image_data, image_url, init_sbt, action_delay); |
| 243 | +<pre><code><b>public</b> (<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal_entry">create_proposal_entry</a><DAOT: store>(sender: signer, title:vector<u8>, introduction:vector<u8>, description: vector<u8>, member: <b>address</b>, image_data:vector<u8>, image_url:vector<u8>, init_sbt: u128, action_delay: u64){ |
| 244 | + <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_create_proposal">create_proposal</a><DAOT>(&sender, title, introduction, description, member, image_data, image_url, init_sbt, action_delay); |
245 | 245 | }
|
246 | 246 | </code></pre>
|
247 | 247 |
|
|
307 | 307 |
|
308 | 308 |
|
309 | 309 |
|
310 |
| -<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal">install_plugin_proposal</a><DAOT: store>(sender: &signer, description: vector<u8>, action_delay: u64) |
| 310 | +<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal">install_plugin_proposal</a><DAOT: store>(sender: &signer, title: vector<u8>, introduction: vector<u8>, description: vector<u8>, action_delay: u64) |
311 | 311 | </code></pre>
|
312 | 312 |
|
313 | 313 |
|
|
316 | 316 | <summary>Implementation</summary>
|
317 | 317 |
|
318 | 318 |
|
319 |
| -<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal">install_plugin_proposal</a><DAOT:store>(sender:&signer, description: vector<u8>,action_delay:u64){ |
320 |
| - <a href="InstallPluginProposalPlugin.md#0x1_InstallPluginProposalPlugin_create_proposal">InstallPluginProposalPlugin::create_proposal</a><DAOT, <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_MemberJoinAction">MemberJoinAction</a>>(sender, <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_required_caps">required_caps</a>(), description, action_delay); |
| 319 | +<pre><code><b>public</b> <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal">install_plugin_proposal</a><DAOT:store>(sender:&signer, title:vector<u8>, introduction:vector<u8>, description: vector<u8>,action_delay:u64){ |
| 320 | + <a href="InstallPluginProposalPlugin.md#0x1_InstallPluginProposalPlugin_create_proposal">InstallPluginProposalPlugin::create_proposal</a><DAOT, <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_MemberJoinAction">MemberJoinAction</a>>(sender, <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_required_caps">required_caps</a>(), title, introduction, description, action_delay); |
321 | 321 | }
|
322 | 322 | </code></pre>
|
323 | 323 |
|
|
331 | 331 |
|
332 | 332 |
|
333 | 333 |
|
334 |
| -<pre><code><b>public</b>(<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal_entry">install_plugin_proposal_entry</a><DAOT: store>(sender: signer, description: vector<u8>, action_delay: u64) |
| 334 | +<pre><code><b>public</b>(<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal_entry">install_plugin_proposal_entry</a><DAOT: store>(sender: signer, title: vector<u8>, introduction: vector<u8>, description: vector<u8>, action_delay: u64) |
335 | 335 | </code></pre>
|
336 | 336 |
|
337 | 337 |
|
|
340 | 340 | <summary>Implementation</summary>
|
341 | 341 |
|
342 | 342 |
|
343 |
| -<pre><code><b>public</b> (<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal_entry">install_plugin_proposal_entry</a><DAOT:store>(sender:signer, description: vector<u8>, action_delay:u64){ |
344 |
| - <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal">install_plugin_proposal</a><DAOT>(&sender, description, action_delay); |
| 343 | +<pre><code><b>public</b> (<b>script</b>) <b>fun</b> <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal_entry">install_plugin_proposal_entry</a><DAOT:store>(sender:signer, title:vector<u8>, introduction:vector<u8>, description: vector<u8>, action_delay:u64){ |
| 344 | + <a href="MemberProposalPlugin.md#0x1_MemberProposalPlugin_install_plugin_proposal">install_plugin_proposal</a><DAOT>(&sender, title, introduction, description, action_delay); |
345 | 345 | }
|
346 | 346 | </code></pre>
|
347 | 347 |
|
|
0 commit comments