Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

efa82b015e7edbe32d5622832e14fa2e6d3ae861dbffcc7dfc304caa50aebac7
Timestamp (utc)
2021-07-10 13:52:16
Fee Paid
0.00001185 BSV
(
0.06980400 BSV
-
0.06979215 BSV
)
Fee Rate
500.6 sat/KB
Version
1
Confirmations
290,003
Size Stats
2,367 B

4 Outputs

Total Output:
0.06979215 BSV
  • jrunM‘{"in":1,"ref":["native://Jig","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["48fedf0fcdf4ef49800cbf9e605c6b02a5a3652e69bf865f8287278cf304cf34","c181d613a20d4939497c8873069029e94eae69ddc4c73d45978e36e661640021"],"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 \n console.log(\"compare\", Coin.relicaKey );\n console.log( 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/efa82b015e7edbe32d5622832e14fa2e6d3ae861dbffcc7dfc304caa50aebac7