Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

7fef297fbc14a177e630c68cf16dacc9872c22183825dace5625e3f1db518847
Timestamp (utc)
2021-07-10 15:47:56
Fee Paid
0.00001251 BSV
(
0.04922295 BSV
-
0.04921044 BSV
)
Fee Rate
500.8 sat/KB
Version
1
Confirmations
297,274
Size Stats
2,498 B

4 Outputs

Total Output:
0.04921044 BSV
  • jrunM{"in":1,"ref":["1f0abf8d94477b1cb57629d861376616f6e1d7b78aba23a19da3e6169caf489e_o2","native://Jig","4a1929527605577a6b30710e6001b9379400421d8089d34bb0404dd558529417_o1","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["a345e17a511db3850ff68d43e927fb6cd6f4ca6c5794ea7b4be66224dbb99a87","56c3076ea5051c19777fb3c053f92cdfb25bb2b1d6285c02fb8db0a7625454a1"],"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 if (Coin.relicaKey !== this.hashRelicaKey(relicaKey)) {\n throw new Error('Invalid relica key');\n }\n this.owner = to\n }\n\n setUserId (userId, relicaKey) {\n if (Coin.relicaKey !== this.hashRelicaKey(relicaKey)) {\n throw new Error('Invalid relica key');\n }\n this.userId = userId; \n }\n\n hashRelicaKey(relicaKey) {\n return Hex.bytesToString(sha256(relicaKey));\n }\n}",{"deps":{"Hex":{"$jig":1},"Jig":{"$jig":2},"sha256":{"$jig":3}},"relicaKey":"1c46e6d7b9c32e88d9a47d58d47a390e1be5d302ce6f1c81b200929d9d4b86e5"}]},{"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":5},"Jig":{"$jig":2},"expect":{"$jig":4}}}]}]}
    https://whatsonchain.com/tx/7fef297fbc14a177e630c68cf16dacc9872c22183825dace5625e3f1db518847