Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

58d351f38ea20e8a31fbf1e0048cb3451999ca137fed6fa1b0d13c8ce430b8c0
Timestamp (utc)
2020-10-12 01:07:11
Fee Paid
0.00004474 BSV
(
0.01554444 BSV
-
0.01549970 BSV
)
Fee Rate
500.1 sat/KB
Version
1
Confirmations
339,493
Size Stats
8,946 B

7 Outputs

Total Output:
0.01549970 BSV
  • jrunMq!{"in":0,"ref":["native://Jig"],"out":["5feaa11f58f9c8298cbabbc1fd861dc5c55b7c8b0b6dec4e6ce682acd01b2cd0","489e31a3d89d7ffd9df5956128ae268b06923071b08ba8a9769c180479769514","dc29d2f4fb31b9965baec7a0eba2502a0798b468e78fee4b9d62956e300be6f6","367099d4c500e181d7e757d44c1e9fe9d393b74e5b1022e9a9793675a5300d72","fe249a842e5de64fa8447bce15c973cc0a573327120b71cf16652c30e777b9cc"],"del":[],"cre":["mjus6Mn5EXwDRt8WUGRZ216pM4vgajHpHN","mjus6Mn5EXwDRt8WUGRZ216pM4vgajHpHN","mjus6Mn5EXwDRt8WUGRZ216pM4vgajHpHN","mjus6Mn5EXwDRt8WUGRZ216pM4vgajHpHN","mjus6Mn5EXwDRt8WUGRZ216pM4vgajHpHN"],"exec":[{"op":"DEPLOY","data":["class Lock1404 {\n constructor(to) {\n if (to.length !== 34) throw new Error(\"Can only send to address.\");\n this.to = to;\n this.validators = [\"0390b3cba0ff8ead8cfac647c02748b7e2a4a8a44c6dbca47639cdfc3b343ee2b2\", \"021a7290747f789004a7c9e3756f30f82d0af766de984eb3464e726227df35a7a3\", \"02536de8ad7c5c83e57deb44fafbe6d10750c29bd62eaa57d2b2ccfb2afc517b6f\"];\n }\n\n script() {\n let script = `OP_DUP OP_HASH160 ${this.to} OP_EQUALVERIFY OP_CHECKSIGVERIFY OP_1 `;\n for (let i = 0; i < this.validators.length; i++) {\n script += `${this.validators[i]} `;\n }\n script += `OP_${this.validators.length} OP_CHECKMULTISIG`;\n return asm(script);\n }\n\n domain() {\n return 1 + 73 + 1 + 73 + 1 + 32;\n }\n}",{"deps":{"asm":{"$jig":2}}},"function asm(t){const e=t.split(\" \");let n=[];for(const t of e){if(void 0!==asm.OP_CODES[t]){n.push(asm.OP_CODES[t]);continue}const e=hex(1===t.length?\"0\"+t:t);if(0===e[0]){n.push(e[0]);continue}if(1===e.length&&e[0]>=1&&e[0]<=16){n.push(e[0]+80);continue}if(e.length<=75){n=n.concat(e.length).concat(e);continue}if(e.length<256){n=n.concat(asm.OP_CODES.OP_PUSHDATA1).concat([e.length]).concat(e);continue}if(e.length<65536){const t=[e.length/256,e.length%256];n=n.concat(asm.OP_CODES.OP_PUSHDATA2).concat(t).concat(e);continue}const r=[e.length/256/256/256,e.length/256/256%256,e.length/256%256,e.length%256];n=n.concat(asm.OP_CODES.OP_PUSHDATA4).concat(r).concat(e)}return new Uint8Array(n)}",{"OP_CODES":{"OP_0":0,"OP_0NOTEQUAL":146,"OP_1":81,"OP_10":90,"OP_11":91,"OP_12":92,"OP_13":93,"OP_14":94,"OP_15":95,"OP_16":96,"OP_1ADD":139,"OP_1NEGATE":79,"OP_1SUB":140,"OP_2":82,"OP_2DROP":109,"OP_2DUP":110,"OP_2OVER":112,"OP_2ROT":113,"OP_2SWAP":114,"OP_3":83,"OP_3DUP":111,"OP_4":84,"OP_5":85,"OP_6":86,"OP_7":87,"OP_8":88,"OP_9":89,"OP_ABS":144,"OP_ADD":147,"OP_AND":132,"OP_BIN2NUM":129,"OP_BOOLAND":154,"OP_BOOLOR":155,"OP_CAT":126,"OP_CHECKMULTISIG":174,"OP_CHECKMULTISIGVERIFY":175,"OP_CHECKSIG":172,"OP_CHECKSIGVERIFY":173,"OP_CODESEPARATOR":171,"OP_DEPTH":116,"OP_DIV":150,"OP_DROP":117,"OP_DUP":118,"OP_ELSE":103,"OP_ENDIF":104,"OP_EQUAL":135,"OP_EQUALVERIFY":136,"OP_FALSE":0,"OP_FROMALTSTACK":108,"OP_GREATERTHAN":160,"OP_GREATERTHANOREQUAL":162,"OP_HASH160":169,"OP_HASH256":170,"OP_IF":99,"OP_IFDUP":115,"OP_INVALIDOPCODE":255,"OP_INVERT":131,"OP_LESSTHAN":159,"OP_LESSTHANOREQUAL":161,"OP_LSHIFT":152,"OP_MAX":164,"OP_MIN":163,"OP_MOD":151,"OP_MUL":149,"OP_NEGATE":143,"OP_NIP":119,"OP_NOP":97,"OP_NOP1":176,"OP_NOP10":185,"OP_NOP2":177,"OP_NOP3":178,"OP_NOP4":179,"OP_NOP5":180,"OP_NOP6":181,"OP_NOP7":182,"OP_NOP8":183,"OP_NOP9":184,"OP_NOT":145,"OP_NOTIF":100,"OP_NUM2BIN":128,"OP_NUMEQUAL":156,"OP_NUMEQUALVERIFY":157,"OP_NUMNOTEQUAL":158,"OP_OR":133,"OP_OVER":120,"OP_PICK":121,"OP_PUBKEY":254,"OP_PUBKEYHASH":253,"OP_PUSHDATA1":76,"OP_PUSHDATA2":77,"OP_PUSHDATA4":78,"OP_RETURN":106,"OP_RIPEMD160":166,"OP_ROLL":122,"OP_ROT":123,"OP_RSHIFT":153,"OP_SHA1":167,"OP_SHA256":168,"OP_SIZE":130,"OP_SPLIT":127,"OP_SUB":148,"OP_SWAP":124,"OP_TOALTSTACK":107,"OP_TRUE":81,"OP_TUCK":125,"OP_VERIFY":105,"OP_WITHIN":165,"OP_XOR":134},"deps":{"hex":{"$jig":3}}},"function hex(t){if(\"string\"!=typeof t||t.length%2!=0)throw new Error(\"Bad hex: \"+t);t=t.toLowerCase();const e=\"0123456789abcdef\".split(\"\"),n=[];for(let r=0;r<t.length;r+=2){const o=e.indexOf(t[r]),i=e.indexOf(t[r+1]);if(-1===o||-1===i)throw new Error(\"Bad hex: \"+t);n.push(16*o+i)}return n}",{"deps":{}}]},{"op":"DEPLOY","data":["class Lock21e8 {\n constructor(sha256, target) {\n let reHex = /^[0-9a-fA-F]+$/;\n //check for length and verify it's hex.\n if (sha256.length !== 64) throw new Error('sha256 is invalid length');\n if (reHex.test(sha256) !== true) throw new Error('sha256 is not hex');\n if (target.length % 2 !== 0) throw new Error('target is invalid');\n if (reHex.test(target) !== true) throw new Error('target is not hex');\n this.sha256 = sha256;\n this.target = target;\n this.validators = [\"0390b3cba0ff8ead8cfac647c02748b7e2a4a8a44c6dbca47639cdfc3b343ee2b2\", \"021a7290747f789004a7c9e3756f30f82d0af766de984eb3464e726227df35a7a3\" , \"02536de8ad7c5c83e57deb44fafbe6d10750c29bd62eaa57d2b2ccfb2afc517b6f\"];\n }\n\n script() {\n let script = `${this.sha256} ${this.target} OP_SIZE OP_4 OP_PICK OP_SHA256 OP_SWAP OP_SPLIT OP_DROP OP_EQUALVERIFY OP_DROP OP_CHECKSIGVERIFY OP_1 `;\n for (let i = 0; i < this.validators.length; i++) {\n script += `${this.validators[i]} `;\n }\n script += `OP_${this.validators.length} OP_CHECKMULTISIG`;\n return asm(script);\n }\n\n domain() {\n return 1 + 73 + 1 + 32;\n }\n}",{"deps":{"asm":{"$jig":2}}}]},{"op":"DEPLOY","data":["class Test_02 extends Jig {\n init(...t) {\n if (Object.getPrototypeOf(this.constructor) === Jig)\n throw new Error(\"Token must be extended\");\n if (caller === this.constructor)\n return this.wc(caller.mintAmount),\n this.amount = caller.mintAmount,\n this.satoshis = caller.satoshis,\n this.spawners = caller.spawners,\n void (this.owner = caller.workOwner);\n if (caller && caller.constructor === this.constructor)\n return this.wc(caller.sendAmount),\n this.amount = caller.sendAmount,\n void (this.owner = caller.sendOwner);\n if (!Array.isArray(t) || t.length < 2)\n throw new Error(\"Invalid tokens to combine\");\n if (t.some(t => t.constructor !== this.constructor))\n throw new Error(\"Cannot combine different token classes\");\n if (t.some(e => (e => t.reduce((t, n) => n === e ? t + 1 : t, 0))(e) > 1))\n throw new Error(\"Cannot combine duplicate tokens\");\n this.amount = 0,\n t.forEach(t => { this.amount += t.amount, t.destroy() }),\n this.wc(this.amount)\n }\n\n //{sha256, target, amount, satoshis, spawners[{outpoint:txid_o#, paymail}]}\n static mint(t) {\n if (this.supply !== undefined && (this.supply + t.amount) > 200000) throw new Error(\"Cannot exceed total supply.\")\n if (t.spawners === undefined) throw new Error(\"spawners must be present.\");\n if (Array.isArray(t.spawners) === false) throw new Error(\"spawners must be an array\"); \n if (typeof t.satoshis === \"number\")\n this.satoshis = t.satoshis < 1000 ? 1000 : t.satoshis;\n this.mintAmount = t.amount;\n this.workOwner = new Lock21e8(t.sha256, t.target);\n this.spawners = t.spawners;\n const e = new this;\n return delete this.mintAmount,\n delete this.workOwner,\n delete this.satoshis,\n delete this.spawners,\n this.supply += amount,\n this.count += 1, e;\n }\n destroy() {\n super.destroy(),\n this.amount = 0\n }\n dust() {\n this.satoshis = 0;\n }\n send(t, e = this.amount) {\n if (this.wc(e), e > this.amount)\n throw new Error(\"Not enough funds\");\n this.sendAmount = e;\n this.sendOwner = new Lock1404(t);\n const n = new this.constructor;\n return delete this.sendAmount,\n delete this.sendOwner,\n this.amount === e ? this.destroy() : this.amount -= e, n;\n }\n\n wc(t) {\n if (\"number\" != typeof t)\n throw new Error(\"amount is not a number\");\n if (!Number.isInteger(t))\n throw new Error(\"amount must be an integer\");\n if (t <= 0)\n throw new Error(\"amount must be positive\");\n if (t > Number.MAX_SAFE_INTEGER)\n throw new Error(\"amount too large\")\n }\n}",{"deps":{"Jig":{"$jig":0},"Lock1404":{"$jig":1},"Lock21e8":{"$jig":4}}}]}]}
    https://whatsonchain.com/tx/58d351f38ea20e8a31fbf1e0048cb3451999ca137fed6fa1b0d13c8ce430b8c0
Total Output:
0.01549970 BSV