Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

4ba81a30e76700d4998bcb2d6bfe4f5810ee239ab92b90c01640c42b6cf1bcf3
Timestamp (utc)
2020-09-13 16:43:11
Fee Paid
0.00001696 BSV
(
0.00013041 BSV
-
0.00011345 BSV
)
Fee Rate
500.2 sat/KB
Version
1
Confirmations
346,902
Size Stats
3,390 B

4 Outputs

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