packages/hardhat/contractsfolder and check out what contracts we have there.
MVPC.solsmart contract which contains all the logic for NFT auction.
function open(address signer, address payable destination, uint256 timeout) public payableresponsible for opening the channel and setting a session/channel id by encoding the parameters passed in this function
function close(bytes32 id, uint256 value, bytes memory signature, bytes memory receiverSignature) publicresponsible for closing the stream to be calld by the receiver of the stream
function withdraw(bytes32 optionalId) publicresponsible for getting the left over stake back to the channel creator incase the receiver does not close the stream