Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

bdf528dd9a07a762fd73f35bbc263ee8f9c71c60d7a5029d9552767fa10a64c4
Timestamp (utc)
2021-06-06 18:05:45
Fee Paid
0.00000684 BSV
(
0.09955341 BSV
-
0.09954657 BSV
)
Fee Rate
501 sat/KB
Version
1
Confirmations
300,323
Size Stats
1,365 B

3 Outputs

Total Output:
0.09954657 BSV
  • jrunM]{"in":0,"ref":["native://Jig"],"out":["6f821b779e2cc57457603e9d59c933c8f0f6aed20850315e981c95c33bc867a8"],"del":[],"cre":["mj1WZ8wTimESFzLgio12iG55M5dYR16PwR"],"exec":[{"op":"DEPLOY","data":["class Character extends Jig {\n init(health, direction, xPosition) {\n this.direction = direction\n this.position = {x: xPosition, y: this.goingUp() ? MAP_LENGTH : 0}\n this.health = health\n }\n\n send(gameOwner) {\n this.owner = gameOwner;\n }\n\n goingUp() {\n return this.direction === \"UP\"\n }\n\n tick(engagedOnBattle) {\n if (!engagedOnBattle.includes(this)) {\n if (this.goingUp()) {\n this.position.y = this.position.y - 1;\n } else {\n this.position.y = this.position.y + 1;\n }\n } else {\n this.health = this.health - 10;\n }\n }\n\n isNearTo(opponent) {\n return this.position.x === opponent.position.x && Math.abs(this.position.y - opponent.position.y) <= 1;\n }\n}",{"deps":{"Jig":{"$jig":0},"MAP_LENGTH":20},"metadata":{"emoji":"🤺"}}]}]}
    https://whatsonchain.com/tx/bdf528dd9a07a762fd73f35bbc263ee8f9c71c60d7a5029d9552767fa10a64c4