Di handap ieu conto kontrak pinter dasar pikeun ngajual hiji scooter cukur listrik ditulis dina Solidity: ```solidity pragma solidity ^0.5.16; kontrak ElectricScooterSale { alamat umum ngajual; alamat umum meuli; uint256 harga umum; bool umum dijual; acara SaleConfirmed( alamat indéks meuli, uint256 harga); constructor( alamat _seller, uint256 _harga) umum {jual = _seller; harga = _harga; dijual = palsu; } fungsi buyScooter(() umum dibayar {(must!s); syarat (msg. nilai = harga); meuli = msg.sender; dijual = bener; penjual.transfermsg. nilai; emitConfirmed; jual; harga; } }
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence