📜  如何在 remix 中将结构输入参数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:27.258000             🧑  作者: Mango

代码示例1
// 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]