pragma solidity >=0.8.4 <0.9.0;

import {SmallRSolution} from './SmallRSolution.sol';

contract Factory {
    function createSolutionContract(bytes32 _salt) public returns (address _resAddress) {
        SmallRSolution _solution = new SmallRSolution{salt: _salt}();
        _resAddress = address(_solution);
    }
}
[{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"name":"createSolutionContract","outputs":[{"internalType":"address","name":"_resAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"}]