Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

705a5e242b74239fb2be36557c0e0c5f8cb596503f4709533670ea111838335b
Timestamp (utc)
2020-12-31 21:41:11
Fee Paid
0.00002574 BSV
(
0.01296293 BSV
-
0.01293719 BSV
)
Fee Rate
500 sat/KB
Version
1
Confirmations
330,746
Size Stats
5,145 B

6 Outputs

Total Output:
0.01293719 BSV
  • jrunM»{"in":0,"ref":["7d14c868fe39439edffe6982b669e7b4d3eb2729eee7c262ec2494ee3e310e99_o1","1f0abf8d94477b1cb57629d861376616f6e1d7b78aba23a19da3e6169caf489e_o1"],"out":["0c811576db753e576c348ec7d33c221017d9c30015374927a0c1dc9d4d2f7dcf","c5cd05ae8b7bc703f605824e85a1dfe40d36dd36b1976bd3a08528c596aa1c96","65ecace466bc575b45257a0d46053d64647f34245843db338aeb8dd8f9e1ec60","193ad59fca1c25d4a6f3e2de8e81ffff028cce3eb580322f1d03f0e7de070e72"],"del":[],"cre":["mjsxvTLNM5sQn8yj3qdmpbsa1W6PYoSu5v","mjsxvTLNM5sQn8yj3qdmpbsa1W6PYoSu5v","mjsxvTLNM5sQn8yj3qdmpbsa1W6PYoSu5v","mjsxvTLNM5sQn8yj3qdmpbsa1W6PYoSu5v"],"exec":[{"op":"DEPLOY","data":["class Lillypad extends Token {\n init(amount, owner) {\n const extended = this.constructor !== Lillypad\n if (!extended) throw new Error('Lillypad must be extended')\n super.init(amount, owner);\n if (caller === this.constructor) this.satoshis = caller.satoshis;\n }\n\n static mint(amount, sha256, target, satoshis) {\n if (this.totalSupply !== 0)\n if ((this.supply + amount) > this.totalSupply) throw new Error(\"Cannot exceed total supply.\");\n if (typeof satoshis === \"number\")\n this.satoshis = satoshis;\n this.supply += amount;\n const token = new this(amount, new Lock21e8MS(sha256, target));\n delete this.satoshis;\n return token;\n }\n\n send(to, amount = this.amount) {\n this._checkAmount(amount);\n if (this.amount === amount) {\n this.destroy();\n } else if (this.amount > amount) {\n this.amount -= amount;\n } else {\n throw new Error('Not enough funds');\n }\n return new this.constructor(amount, new Lock1404(to));\n }\n\n back(satoshis) {\n this.satoshis = satoshis;\n }\n\n dust() {\n this.satoshis = 0;\n }\n\n static changeIcon(o = { emoji: null }) {\n this.icon = o;\n }\n\n static changeSymbol(s = \"\") {\n this.symbol = s;\n }\n}",{"deps":{"Lock1404":{"$jig":3},"Lock21e8MS":{"$jig":4},"Token":{"$jig":0}},"totalSupply":0,"version":2},"class Lock1404 {\n constructor(to) {\n let reHex = /^[0-9a-fA-F]+$/;\n if (reHex.test(to) !== true) throw new Error(\"Address must be in hex format.\");\n if (to.length === 42) to = to.slice(2);\n if (to.length !== 40) throw new Error('Invalid Address Length.');\n this.to = to;\n this.pubkeys = new Validators().validators.map(a => a.pubkey);;\n }\n\n script() {\n let script = `OP_DUP OP_HASH160 ${this.to} OP_EQUALVERIFY OP_3 OP_SWAP `;\n for (let i = 0; i < this.pubkeys.length; i++) {\n script += `${this.pubkeys[i]} `;\n }\n script += `OP_${this.pubkeys.length} OP_CHECKMULTISIG`;\n return asm(script);\n }\n\n domain() {\n return 1 + 73 + 1 + 73 + 1 + 73 + 1 + 32;\n }\n}",{"deps":{"asm":{"$jig":1}}},"class Lock21e8MS {\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.pubkeys = new Validators().validators.map(a => a.pubkey);\n }\n\n script() {\n let script = `${this.sha256} ${this.target} OP_SIZE OP_6 OP_PICK OP_SHA256 OP_SWAP OP_SPLIT OP_DROP OP_EQUALVERIFY OP_DROP OP_3 OP_SWAP `;\n for (let i = 0; i < this.pubkeys.length; i++) {\n script += `${this.pubkeys[i]} `;\n }\n script += `OP_${this.pubkeys.length + 1} OP_CHECKMULTISIG`;\n return asm(script);\n }\n\n domain() {\n return 1 + 73 + 1 + 73 + 1 + 73 + 1 + 32;\n }\n}",{"deps":{"Validators":{"$jig":5},"asm":{"$dup":["3","deps","asm"]}}},"class Validators {\n constructor() {\n this.validators = [{ pubkey: \"02692bdd3fbc53a708384439f5dee0892c689ec1980745236282ca162d7c6c3d9b\", url: \"http://test.com/sign\" },\n { pubkey: \"033da5ecc716be0d07bd856353141b3c343be577f7d9863c171d92e6336673614c\", url: \"http://test.com/sign\" },\n { pubkey: \"02fedaf896f820325a3e85392e53d68b456607c427688aaf2275d5975fae08e75b\", url: \"http://test.com/sign\" },\n { pubkey: \"022a2152dc979c454e71a2f9b218c2fea3def88441eb348ba3e53a020a762c80e9\", url: \"http://test.com/sign\" },\n { pubkey: \"0221974dba34636753f21e8aa5c7532d556dc5021a35d6822b52c74ace5f804d99\", url: \"http://test.com/sign\" }];\n }\n}",{"deps":{}}]}]}
    https://whatsonchain.com/tx/705a5e242b74239fb2be36557c0e0c5f8cb596503f4709533670ea111838335b
Total Output:
0.01293719 BSV