Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

fb6be85acd688f58c4355ee4e358c468d1d5c8fc1507b16116817fa4f4aba4ce
Timestamp (utc)
2020-09-21 21:56:20
Fee Paid
0.00001612 BSV
(
0.00020464 BSV
-
0.00018852 BSV
)
Fee Rate
500.3 sat/KB
Version
1
Confirmations
340,649
Size Stats
3,222 B

3 Outputs

Total Output:
0.00018852 BSV
  • jrunM {"in":0,"ref":["native://Jig","4335ad041969ce18c1fd2a7cb2c803e60c089c8603c343b573804285398e296a_o2"],"out":["8424f768ea161945b41db6312f88f38e5240890f7ce448d5b1f959812405d5fc"],"del":[],"cre":["mop1HxhZsnC6pCupyXyP9vdjt9qAUCGd3C"],"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 = [];\n this.publish(1.0, timestamp); // initial value\n }\n\n linkAdminCounter(admincounter) {\n if (this.admincounter) throw this.classname + \": already an admincounter linked \" + this.admincounter;\n this.admincounter = admincounter;\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() // for run 0.5\n this.admincounter.auth(); // for run 0.6\n\n this.action_count = this.admincounter.nonce; // for run 0.6\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":1},"Jig":{"$jig":0}}}]}]}
    https://whatsonchain.com/tx/fb6be85acd688f58c4355ee4e358c468d1d5c8fc1507b16116817fa4f4aba4ce