Text this: Optimizing power system trading processes using smart contract algorithms