Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to input struct into parameter in remix

// say the function parameter is: MyStruct memory myStruct
// and MyStruct is defined as {uint number, bool isPositive}
// an example input in remix is as follows: [10, true]
 
PREVIOUS NEXT
Tagged: #input #struct #parameter #remix
ADD COMMENT
Topic
Name
2+5 =