I'm writing a smart contract to distribute the created tokens to multiple address. Looking around on the web I may found what I was looking for but I don't know how to insert the addresses in the field; I tried in different ways but none worked. This is the function to distribute token ( Sorry, I do not know how to insert code into website):

function adminClaimAirdropMultiple(address[] _addresses, uint _amount) external {        
    for (uint i = 0; i < _addresses.length; i++)
        doAirdrop(_addresses[i], _amount);

I tried to insert the addresses in these ways:


but no one worked. How can I solve this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.