Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

b0d91389c24e0faf7587e50e3511b340d52e3031d7eef920cbeef125ea8eb06f
Timestamp (utc)
2020-10-07 20:20:29
Fee Paid
0.00002150 BSV
(
0.00023048 BSV
-
0.00020898 BSV
)
Fee Rate
500.3 sat/KB
Version
1
Confirmations
338,713
Size Stats
4,297 B

3 Outputs

Total Output:
0.00020898 BSV
  • jrun b1b605103eMÇ{"in":0,"ref":["native://Jig","d2ac6ca5d5c852be0c7728d47f62e1af0053faf0dc87753e190aa01867962ce9_o2"],"out":["0e97a34e6ec91b5b19887baa84dcda83f19193fd4a134ae1b6b68c85db1fabf6"],"del":[],"cre":["mr9zdspVwjQBCsRQ464ct8M2wJgaL7CcaQ"],"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 = []; //init with a 1.0 value to make it easier to use\n //this.publish(1.0, timestamp) // BEWARE THIS WILL NOT WORK because this isn't deployed yet (no owner & location) so you need to do it step-by-step in init() too\n\n this.list.push(1.0);\n this.timestamps.push(timestamp);\n this.action_count = 0;\n this.list_action_numbers.push(this.action_count);\n this.action = \"init\";\n }\n\n linkAdminCounter(admincounter) {\n /* this should be done right after creation, we need it separate from init() because we first need to link multlist to the tokencontract and then the other way */\n if (this.admincounter) throw this.classname + \": already an admincounter linked: \" + this.admincounter.origin;\n this.admincounter = admincounter;\n this.action = \"linkAdminCounter\";\n }\n\n publish(newmult, timestamp) {\n const function_id = this.classname + \"publish(): \";\n if (!this.admincounter) throw function_id + \" no admincounter contract found, please link one before publishing\"; //\n\n if (this.admincounter.isRevoked()) throw new Error(function_id + \"token contract has been revoked (admincounter)\");\n if (this.admincounter.isBackedup()) throw new Error(function_id + \"token contract has been backedup (admincounter)\");\n if (this.admincounter.isFrozen()) throw new Error(function_id + \"token contract has been frozen (admincounter)\"); // check frozen as last always!\n //\n\n if (this.owner != this.constructor.owner) throw function_id + \": Only \" + this.classname + \"'s owner may publish\";\n if (!timestamp) throw function_id + \"timestamp missing: \" + timestamp;\n\n this._checkTimestamp(timestamp);\n\n this._checkNum(newmult);\n\n if (isNaN(newmult)) throw function_id + \" Error: newmult is NaN: \" + newmult;\n if (!isFinite(newmult)) throw function_id + \" Error: newmult is not Finite: \" + newmult; // all parameters checks passed\n\n this.admincounter.auth(); //ensures only the tokencontract owner can publish // for run 0.6\n\n this.action_count = this.admincounter.nonce; // for run 0.6\n\n this.list_action_numbers.push(this.action_count); // as an array for practicality\n\n this.list.push(newmult);\n this.timestamps.push(timestamp);\n this.action = \"publish\";\n }\n\n _checkNum(number) {\n // check that number is a positive number (but can be float)\n const function_id = this.classname + \": _checkNum(): \";\n if (typeof number !== 'number') throw function_id + 'number is not a number : ' + number; // throw gives better error trace than expect()\n\n if (!(number > 0)) throw new Error(function_id + 'number must be positive : ' + number);\n if (number > Number.MAX_SAFE_INTEGER) throw new Error(function_id + 'number too large : ' + number);\n }\n\n _checkTimestamp(timestamp) {\n const function_id = this.classname + \": _checkTimestamp(): \";\n\n try {\n this._checkNum(timestamp); // applies as well to timestamp\n\n } catch (e) {\n throw function_id + e;\n }\n\n if (!Number.isInteger(timestamp)) throw function_id + 'timestamp must be an integer : ' + timestamp; //necessary because _checkNum doesn't do it\n\n if (!(timestamp > 1600939295117)) throw function_id + ': timestamp must be older than 1600939295117 : ' + timestamp; // make sure the timestamp here is in ms!!\n }\n\n}",{"deps":{"Jig":{"$jig":0},"expect":{"$jig":1}},"sealed":true}]}]}
    https://whatsonchain.com/tx/b0d91389c24e0faf7587e50e3511b340d52e3031d7eef920cbeef125ea8eb06f