I have a following simple contract that stores file details:
pragma solidity ^0.4.17;
contract FileDetail {
uint fileSize;
string fileName;
string fileType;
function set(uint fileS,string fileN, string fileT) {
fileSize = fileS;
fileName = fileN;
fileType = fileT;
}
}
How do I access the set method from web3 js and pass the needed parameters ?