Open arsen3d opened 14 hours ago
This is a proposal to target an RP from smart contract example for reference:
function runCowsay( string memory message ) public { string[] memory inputs = new string[](2); inputs[0] = string(abi.encodePacked("Message=", message)); inputs[1] = string(abi.encodePacked("target=", "0x90ed1AC9c74B9340468134F8c669BA1169A11c58")); uint256 id = jobManagerContract.runJob( "cowsay:v0.0.4", inputs, msg.sender ); emit JobCreated( id, message ); }
Summary
This is a proposal to target an RP from smart contract example for reference: