#0
nonstandard
0.00004000 BSV
Q!÷]x<2fƬøçïzæO\½)²,ÈM¼©èQ®M.{"kind":"script","name":"Antminer S17+","ths":"73","status":"ordered","futureOwner":"02affefdd747cf69f56ba0f30a06a461011e4f7817fd4d1ccf84b4fa20d675f4c8","montlyElectricityCost":"160","__func":"constructor","_args":["Antminer S17+","73","450","02affefdd747cf69f56ba0f30a06a461011e4f7817fd4d1ccf84b4fa20d675f4c8","160"],"__index":{"obj":"__temp__:0"},"__cls":"class Miner {\n constructor(name, ths, price, futureOwner, montlyElectricityCost) {\n this.name = name;\n this.ths = ths;\n this.status = 'ordered';\n this.futureOwner = futureOwner;\n this._owners = ['029f01f75d783c3266c6ac90f8e7ef7ae64f80165c08bd29b22c03c84d13bca9e8']; // this._amount = price + montlyElectricityCost\n\n this.montlyElectricityCost = montlyElectricityCost; // todo: add kwh\n }\n\n setLive(serialNumber, imageUrl) {\n this.status = 'live';\n this.serialNumber = serialNumber;\n this.imageUrl = imageUrl;\n this._owners = [this.futureOwner];\n this._amount = 546;\n this.activationDate = Date.now();\n }\n\n setPool(pool, workerName) {\n this.pool = pool;\n this.workerName = workerName;\n }\n\n addPool(pool, watcherLink) {\n this.pool = pool;\n this.watcherLink = watcherLink;\n }\n\n payElectricity(amount) {\n console.log(`Paying ${amount} to BMined`);\n }\n\n getInvoices() {}\n\n}"}u
https://whatsonchain.com/tx/94a976c97c4f33d79c13afa48fe2381ad1e92f443935bbfc4c3f9f4e44b7d1ea