Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

14dd81864b91763ca3a904be54ce02da7d4aee34894aba4901fdf586f58d3112
Timestamp (utc)
2021-07-10 09:33:21
Fee Paid
0.00001171 BSV
(
0.06984201 BSV
-
0.06983030 BSV
)
Fee Rate
501 sat/KB
Version
1
Confirmations
295,094
Size Stats
2,337 B

4 Outputs

Total Output:
0.06983030 BSV
  • jrunMt{"in":1,"ref":["native://Jig","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["aeecc8a960e22e7ecb313500c49a92a76b814a0816e6e9751055b89050214255","6cfd6564ad5e87261187a37602e86e707fbf86bc5b706911307c517ad936f623"],"del":[],"cre":["mwEcGNdUdc2PnLsULH8RJu1TYYpnE2qBHu"],"exec":[{"op":"DEPLOY","data":["class Coin extends Jig {\n\n init (coinCollection, index, owner, userId, nftId) {\n Coin.auth(); \n this.coinCollection = coinCollection\n this.index = index \n this.owner = owner\n this.userId = userId\n this.nftId = nftId\n }\n\n send (to, relicaKey) {\n console.log(\"compare\", Coin.relicaKey , sha256(relicaKey).toString());\n if (Coin.relicaKey !== sha256(relicaKey).toString()) {\n throw new Error('Invalid relica key');\n }\n this.owner = to\n }\n\n setUserId (userId, relicaKey) {\n if (Coin.relicaKey !== relicaKey) {\n throw new Error('Invalid relica key');\n }\n this.userId = userId; \n }\n}",{"deps":{"Jig":{"$jig":1}},"relicaKey":"129,176,173,134,56,179,63,177,41,113,177,159,14,40,69,129,114,84,60,223,231,209,93,178,115,139,234,71,31,102,41,151"}]},{"op":"UPGRADE","data":[{"$jig":0},"class CoinCollection extends Jig {\n init (name, supply) {\n CoinCollection.auth();\n expect(name).toBeString()\n expect(supply).toBeInteger()\n this.name = name\n this.maxCoints = supply\n this.coinCreated = 0 \n }\n \n mint(owner, userId, nftId) {\n CoinCollection.auth();\n if (this.coinCreated >= this.maxCoints) {\n throw new Error('no more coints left')\n }\n\n this.coinCreated = this.coinCreated + 1\n return new Coin(this, this.coinCreated, owner, userId, nftId)\n } \n }",{"deps":{"Coin":{"$jig":3},"Jig":{"$jig":1},"expect":{"$jig":2}}}]}]}
    https://whatsonchain.com/tx/14dd81864b91763ca3a904be54ce02da7d4aee34894aba4901fdf586f58d3112