parameters in Remix?
Here is the sample:
struct Receivers { address wallet; uint256 amount; }
function multiTransfer(Receivers[] memory users) external {
for ( uint i = 0; i < users.length; i++ ) transfer(users[i].wallet, users[i].amount);
}
Обсуждают сегодня