Skip to content

Commit

Permalink
Merge 8b7121f into af90855
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubasze authored Feb 29, 2024
2 parents af90855 + 8b7121f commit 8ad8361
Show file tree
Hide file tree
Showing 3 changed files with 425 additions and 30 deletions.
3 changes: 3 additions & 0 deletions simulator/src/resim/cmd_call_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ pub struct CallFunction {
pub function_name: String,

/// The call arguments, such as "5", "hello", "<resource_address>:<amount>" and "<resource_address>:<nf_local_id1>,<nf_local_id2>"
/// Tuple argument shall be put within round brackets and delimited with ',' eg. "(<resource_address>,<nf_local_id>)"
/// Array argument values shall be put within square brackets and delimited with ',' eg. "[<nf_local_id1>,<nf_local_id2>]"
#[clap(verbatim_doc_comment)]
pub arguments: Vec<String>,

/// The proofs to add to the auth zone, in form of "<resource_address>:<amount>" or "<resource_address>:<nf_local_id1>,<nf_local_id2>"
Expand Down
3 changes: 3 additions & 0 deletions simulator/src/resim/cmd_call_method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ pub struct CallMethod {
pub method_name: String,

/// The call arguments, such as "5", "hello", "<resource_address>:<amount>" and "<resource_address>:<nf_local_id1>,<nf_local_id2>"
/// Tuple argument shall be put within round brackets and delimited with ',' eg. "(<resource_address>,<nf_local_id>)"
/// Array argument values shall be put within square brackets and delimited with ',' eg. "[<nf_local_id1>,<nf_local_id2>]"
#[clap(verbatim_doc_comment)]
pub arguments: Vec<String>,

/// The proofs to add to the auth zone, in form of "<resource_address>:<amount>" or "<resource_address>:<nf_local_id1>,<nf_local_id2>"
Expand Down
Loading

0 comments on commit 8ad8361

Please sign in to comment.