Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

30e1d74227d612a81d786866bf41ea402f250b1b5a3891e3c62f2dde0797b16b
Timestamp (utc)
2021-05-31 13:26:31
Fee Paid
0.00002030 BSV
(
0.01000000 BSV
-
0.00997970 BSV
)
Fee Rate
500.2 sat/KB
Version
1
Confirmations
303,314
Size Stats
4,058 B

5 Outputs

Total Output:
0.00997970 BSV
  • jrunMž{"in":0,"ref":["native://Jig"],"out":["257f63f705628c0af506e1f47a27bf87d976bbae04bb046e5e2714a788b9938c","43f1f1cf1c8d3b01efe9280c555739a4661427b8cb00ba54eda27598b716c491","c1ea2f2696a13dde1fb6a5233db259bde548372488167d612a0d07d657f26942"],"del":[],"cre":["mi2NwPKk13tZ6KNUNJVV8F3pbF79JpovCF","mi2NwPKk13tZ6KNUNJVV8F3pbF79JpovCF","mi2NwPKk13tZ6KNUNJVV8F3pbF79JpovCF"],"exec":[{"op":"DEPLOY","data":["class Land extends Jig {\n init(owner, eggsAmount) {\n this.owner = owner;\n this.barnAmount = barnAmount;\n this.landNum += 1;\n }\n send(to) {\n this.owner = to;\n }\n placeBarn(barn) {\n if (this.barnAmount > 6) {\n throw new Error(\"Land is full only 6 barns per block of land\");\n }\n if (!barn instanceof Barn) {\n throw new Error(\"Cannot place item that is not Barn on the Land\");\n }\n this.barn = barn;\n this.barnAmount += barn.quantity;\n }\n }",{"barnAmount":0,"deps":{"Barn":{"$jig":2},"Jig":{"$jig":0}},"landNum":0,"metadata":{"emoji":"🗾"}},"class Barn extends Jig {\n init(\n owner,\n chickenQuantity,\n barnQuantity,\n barnNumber,\n eggQuantity,\n barnLevel,\n chickenCapacity,\n barnName,\n foodLevel\n ) {\n this.owner = owner;\n this.chickenQuantity = chickenQuantity;\n this.barnQuantity = barnQuantity;\n this.barnNumber = barnAmount;\n this.eggQuantity = eggQuantity;\n this.barnLevel = barnLevel;\n this.chickenCapacity = chickenCapacity;\n this.barnName = barnAmount;\n this.foodLevel = foodLevel;\n }\n send(to) {\n this.owner = to;\n }\n upgradeBarn() {\n if (this.barnLevel >= 10) {\n throw new Error(\"Barn at max level\");\n }\n\n this.barnLevel += 1;\n this.chickenCapacity += 20;\n }\n chickenInBarn(chicken) {\n if (this.chickenQuantity >= this.chickenCapacity) {\n throw new Error(\"No more space for chickens in this barn\");\n }\n if (!chicken instanceof Chicken) {\n throw new Error(\"Cannot place item in barn that is not a chicken\");\n }\n this.chickenLoca = barn.location;\n this.chickenPosition = this.barnNumber;\n }\n eggInBarn(egg) {\n if (!egg instanceof Egg) {\n throw new Error(\"Cannot place item in barn that is not a egg\");\n }\n this.chickenLoca = barn.location;\n this.chickenPosition = this.barnNumber;\n }\n foodInBarn(food) {\n this.isFood = 100;\n }\n }",{"deps":{"GenesisChicken":{"$jig":3},"Jig":{"$dup":["1","deps","Jig"]}}},"class GenesisChicken extends Jig {\n init(owner, color, size, name, quantity, layEggsTime, position, eat) {\n this.owner = owner;\n this.color = color;\n this.size = size;\n this.name = name;\n this.quantity = quantity;\n this.layEggsTime = layEggsTime;\n this.position = position;\n this.eat = eat;\n }\n layEgg(newEgg) {\n this.layEggsTime = layEggsTime;\n //Egg.init();\n }\n chickenEat(eat) {\n if (this.isFood == 0) {\n this.layEggsTime = +this.moreTime; //add more time\n throw new Error(\"Not enough food to eat\");\n }\n this.eat - 1;\n }\n sent(to) {\n this.owner = to;\n }\n }",{"deps":{"Jig":{"$dup":["1","deps","Jig"]}}}]}]}
    https://whatsonchain.com/tx/30e1d74227d612a81d786866bf41ea402f250b1b5a3891e3c62f2dde0797b16b