Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

3981fea71893a97d5a645d666250ba1dfba008fa038f0750a674f0cbaedbeccc
Timestamp (utc)
2021-06-07 05:39:51
Fee Paid
0.00000975 BSV
(
0.07967529 BSV
-
0.07966554 BSV
)
Fee Rate
500.5 sat/KB
Version
1
Confirmations
297,744
Size Stats
1,948 B

4 Outputs

Total Output:
0.07966554 BSV
  • jrunM{"in":0,"ref":["native://Jig","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1","b21dc2101d2540b1d5f46c6d87befda76def3a5724566753cc50330a7c75ad84_o3"],"out":["0b00eb5060e1d5b6ffc4ec6311a585f43f4249aaf741392eb8785feb4da29e27","7e091f3bebdb0ac05feb10a50b53a3196a1875a35d486c3882297fc0bbf25178"],"del":[],"cre":["mv9qxfcWJFm9NSXG1VSEgy8wJiihXv2vjd","mv9qxfcWJFm9NSXG1VSEgy8wJiihXv2vjd"],"exec":[{"op":"DEPLOY","data":["class Pawn extends Jig {\n init(direction, column, hero) {\n this.direction = direction\n this.position = {x: column, y: this.goingUp() ? MAP_LENGTH : 0}\n this.health = hero.health\n this.originalHero = hero\n }\n\n send(gameOwner) {\n this.owner = gameOwner;\n }\n\n goingUp() {\n return this.direction === \"UP\"\n }\n\n tick(attacksOnSelf) {\n let notAttacked = !(attacksOnSelf.length === 0);\n if (notAttacked) {\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 attacksOnSelf.forEach(damage => {\n this.health = this.health - damage;\n })\n }\n }\n\n isNearTo(opponent) {\n return this.position.x === opponent.position.x && this._abs(this.position.y - opponent.position.y) <= 1;\n }\n\n _abs(x) {\n expect(x).toBeNumber();\n return (x < 0) ? (-x) : x\n }\n}",{"deps":{"Jig":{"$jig":0},"MAP_LENGTH":20,"expect":{"$jig":1}},"metadata":{"emoji":"️♟️"}}]},{"op":"NEW","data":[{"$jig":3},["UP",5,{"$jig":2}]]}]}
    https://whatsonchain.com/tx/3981fea71893a97d5a645d666250ba1dfba008fa038f0750a674f0cbaedbeccc