我创建了一个包含结构体的数组,然后尝试从该数组取得每个账号的值。但传入包含 msg.sender 的 address 变量时失败了,因为它的类型似乎无法转换为 uint256。应该怎样实现?
I made an array containing structs, then attempted to retrieve each account's values from that array. But passing an address variable holding msg.sender failed with that array because its type apparently cannot convert to uint256. What is the way to accomplish this?