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