Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

de390915239ed916a7bc6036fc37a12182ecbd26e85f3cc94ae6a0dfabc07fca
Timestamp (utc)
2020-09-13 14:18:11
Fee Paid
0.00001733 BSV
(
0.00006814 BSV
-
0.00005081 BSV
)
Fee Rate
500.4 sat/KB
Version
1
Confirmations
342,019
Size Stats
3,463 B

5 Outputs

Total Output:
0.00005081 BSV
  • jrunM· {"in":0,"ref":["aea2e3d50a37cd2d07de50f3db897383b92648a2c11360570223a9f52021e40d_o2","native://Jig"],"out":["9a18320827d4c39c91526a2732c3369a78d9401bedaaaedd038a0a1d1e889596","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},[1600006022325]]}]}
    https://whatsonchain.com/tx/de390915239ed916a7bc6036fc37a12182ecbd26e85f3cc94ae6a0dfabc07fca