Closed
Description
i'm struggling to find an example to use a payable function with parameters.
let's say i've an function in my Smart Contract:
function doSomething(address[] _adresses, address[] _groups, uint[] _percentages)
public
payable
returns(address) {
How do i call this SC and send ethers to it & pass parameters and get the return value?
Thanks.