Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

52e20f977ed7461cc31ef7494e3c529f885fe757bdec6501cee2a1f35c49edc7
Timestamp (utc)
2020-09-13 14:18:11
Fee Paid
0.00001642 BSV
(
0.00008359 BSV
-
0.00006717 BSV
)
Fee Rate
500.3 sat/KB
Version
1
Confirmations
346,877
Size Stats
3,282 B

4 Outputs

Total Output:
0.00006717 BSV
  • jrunM· {"in":0,"ref":["702fab69c13345609af7213b8e161af9a6f17b8f4032be0032452dbcfae8ae21_o2","native://Jig"],"out":["a192eae32e0153f491cac60b169f74cad4744ce95fb53892a33dc8eaafa84be7","ea7a764ef6558e9bddad2cede8b0898c2233153b500d53bb93394d0eaa7f6095"],"del":[],"cre":["mge9PJwnAno5Z3pehdqqUF7CEekHmFvfYu","mge9PJwnAno5Z3pehdqqUF7CEekHmFvfYu"],"exec":[{"op":"DEPLOY","data":["class MultList extends Jig {\n init(timestamp) {\n this.classname = \"MultList: \";\n const function_id = this.classname + \" init(): \";\n if (!timestamp) throw function_id + \"timestamp missing: \" + timestamp;\n\n this._checkTimestamp(timestamp);\n\n this.list = [];\n this.timestamps = [];\n this.list_action_numbers = []; //this.publish(1.0, timestamp) // initial value\n }\n /*\r\n linkAdminCounter(admincounter){\r\n if(this.admincounter) throw this.classname+\": already an admincounter linked \"+this.admincounter\r\n this.admincounter = admincounter\r\n }\r\n */\n\n\n publish(newmult, timestamp) {\n const function_id = this.classname + \"publish(): \";\n expect(this.owner).toBe(this.constructor.owner, function_id + \": Only \" + this.classname + \"'s owner may publish\");\n if (!timestamp) throw this.classname + \": publish: timestamp missing: \" + timestamp;\n\n this._checkTimestamp(timestamp);\n\n var firstpublish = false;\n if (this.list.length == 0) firstpublish = true;\n\n this._checkNum(newmult); //now test if float that is not NaN nor Infinite\n\n\n if (!isNaN(newmult) && isFinite(newmult)) {\n if (firstpublish) {\n this.action_count = 0; // default init action_number\n } else if (!this.admincounter) {\n this.action_count = 0;\n console.log(function_id + \" no admincounter contract found, will set action# to 0 by default\"); // TODO MAKE THIS A THROW ONCE IT WORKS\n } else {\n this.action_count = this.admincounter.get_count();\n }\n\n this.list_action_numbers.push(this.action_count); // doublon for practicality\n\n this.list.push(newmult);\n this.timestamps.push(timestamp);\n } else {\n throw this.classname + \": Error: newmult is NaN or Infinite\";\n }\n }\n\n _checkNum(number) {\n expect(number).toBeNumber(this.classname + ': _checkNum: not a number : ' + number);\n expect(number).toBeGreaterThan(0, this.classname + ': _checkNum: number must be positive : ' + number);\n expect(number).toBeLessThanOrEqualTo(Number.MAX_SAFE_INTEGER, this.classname + ': _checkNum: number too large : ' + number);\n }\n\n _checkTimestamp(timestamp) {\n this._checkNum(timestamp); // applies as well to timestamp\n\n\n expect(timestamp).toBeInteger(this.classname + ': timestamp must be an integer : ' + timestamp);\n expect(timestamp).toBeGreaterThan(1593026831, this.classname + ': timestamp must be older than 1593026831 : ' + timestamp);\n }\n\n}",{"deps":{"expect":{"$jig":0},"Jig":{"$jig":1}}}]},{"op":"NEW","data":[{"$jig":2},[1600005535415]]}]}
    https://whatsonchain.com/tx/52e20f977ed7461cc31ef7494e3c529f885fe757bdec6501cee2a1f35c49edc7