If my contract requires unit256 inputs how do I handle the parameters in TypeScript and or JavaScript?
public getPendingStar = (poolId: number, userAddress: string) =>
Moralis.executeFunction({
contractAddress: AppConfig.MASTERCHEFADDRESS,
functionName: "pendingStar",
abi: masterChefAbi,
params: {
_pid: poolId,
_user: userAddress,
},
});