Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

81c9784612c1508afa58700586c3f69559a2fefa0800ff3c849059e98fefd796
Timestamp (utc)
2021-07-29 18:26:18
Fee Paid
0.00001063 BSV
(
0.10000000 BSV
-
0.09998937 BSV
)
Fee Rate
499.7 sat/KB
Version
1
Confirmations
286,028
Size Stats
2,125 B

5 Outputs

Total Output:
0.09998937 BSV
  • jrunM{"in":0,"ref":["native://Jig","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["5de9ff13111ccf1b14ae35317a2e01febd1d4880cf797011fb48f577603ef648","0e2f104e57e1d83e90801b6114bab7377acbf92b49b840201d8fc2fc4ff1e360","437c1104f45be9b77a9b16f2ae8158bc1327578c4b575a120f518d3c36339798"],"del":[],"cre":["mwMCZTqH5P1yefcRVdUKP5J1ri1rsnBSZU","mwMCZTqH5P1yefcRVdUKP5J1ri1rsnBSZU","mwMCZTqH5P1yefcRVdUKP5J1ri1rsnBSZU"],"exec":[{"op":"DEPLOY","data":["class Sword extends Jig {\r\n init(owner, power) {\r\n console.log(\"sword check caller\", caller);\r\n expect(caller).toBe(Forge);\r\n\r\n this.owner = owner;\r\n this.power = power;\r\n }\r\n\r\n send(to) {\r\n this.owner = to;\r\n }\r\n}",{"deps":{"Forge":{"$jig":3},"Jig":{"$jig":0},"expect":{"$jig":1}},"metadata":{"emoji":"🗡️"}},"class Forge extends Jig {\r\n static mint(owner, power) {\r\n if (this.supply >= 10) throw new Error(\"too many weapons\");\r\n\r\n // The class keeps track of the number of mints for swords\r\n this.supply++;\r\n\r\n return new Sword(owner, power);\r\n }\r\n}",{"deps":{"Jig":{"$dup":["1","deps","Jig"]},"Sword":{"$jig":2}},"metadata":{"emoji":"⚒️"},"supply":0}]},{"op":"DEPLOY","data":["class Hero extends Jig {\r\n init(owner, HP, power) {\r\n this.owner = owner;\r\n this.HP = HP;\r\n this.power = power;\r\n }\r\n\r\n send(to) {\r\n this.owner = to;\r\n }\r\n\r\n equip(weapon) {\r\n if (this.weapon) throw new Error(\"Already equip a weapon\");\r\n\r\n if (!this.weapon instanceof Sword) {\r\n throw new Error(\"Cannot equip a weapon that is not a sword\");\r\n }\r\n\r\n this.weapon = weapon;\r\n this.power += weapon.power;\r\n }\r\n}",{"deps":{"Jig":{"$jig":0},"Sword":{"$jig":2}},"metadata":{"emoji":"👦"}}]}]}
    https://whatsonchain.com/tx/81c9784612c1508afa58700586c3f69559a2fefa0800ff3c849059e98fefd796