SimpliContract interview question

how will i set up the CS function