Transaction

c187ccbaaad7323f07daa527d38126266fd0c2d2fd833c87bfc99adbbc31e50c
Timestamp (utc)
2021-12-31 15:28:36
Fee Paid
0.00005467 BSV
(
0.05006577 BSV
-
0.05001110 BSV
)
Fee Rate
510 sat/KB
Version
1
Confirmations
204,930
Size Stats
10,718 B

15 Outputs

Total Output:
0.05001110 BSV
  • jrunM»&{"in":0,"ref":["native://Jig"],"out":["3764258561f03ae9f16e7572afc88d7fa62c75323d35b22f91500a59b8a3365b","e08e8ae90bf824a957c1d410d0e0f62cc7a5bc3c839fe39049da0312dcfcd33c","d3a6b60552afe298e85f6950a7a6d353f50e98cd2ff63829c1bfeb9bb9b50810","8f9f891f5406f09f70e8a2935b0bea8886da4705329143107c79ed2d9945b38b","7422d94e242f436766ca4b9e932d6ee81da4b85d4552e68b06332ecfd003f76b"],"del":[],"cre":["18XALaHPP8DtqxJY1xzB1sekMofjNCeMHB","1VCfaivmjVEmtaSnqav5Q9RqL325W1CNs","115xBvZxCA8bvHYePUFzP8RtiQkLsErKGf","17dA8pxRHwmAcyfEFCcscoaEpTM8YtxxbK","12btRU5fDyR8CdoWcYGwqBTDwmzhKWnYH6"],"exec":[{"op":"DEPLOY","data":["class Master extends Jig {\n init(jigCount, maxE, className) {\n this.minted = {}\n this.collections = {}\n this.maxE = maxE\n this.maxN = jigCount\n this.maxX = 9\n this.e = 0\n this.n = 0\n this.x = 0\n this.spent = false\n this.claim = className\n }\n mint() {\n if (this.spent) return this\n if (parseInt(\"\" + this.n + this.x + (\"0\".repeat(this.maxE - this.e))) > this.maxN) {\n this.spent = true\n return this\n }\n this.newMinted = new Minter(this.e, this.n, this.x, this.maxE, this.maxN, this.maxX, this.claim, this.origin)\n this.minted[this.x] = true\n this.x = this.x + 1\n if (this.x > this.maxX) {\n this.spent = true\n }\n return this.minted[this.x - 1]\n }\n mintCollection(name, to) {\n Master.auth()\n if (this.collections[name]) {\n throw new Error('Collection already exists')\n }\n this.newCollection = new Collection(name, to, this.origin)\n this.collections[name] = true\n }\n retreive(x) {\n if (!this.minted[x]) throw new Error('Does not exist')\n return this.minted[x]\n }\n }",{"deps":{"Collection":{"$jig":2},"Derivative":{"$jig":3},"GameDrop":{"$jig":4},"Jig":{"$jig":0},"Minter":{"$jig":5}}},"class Collection extends Jig {\n init(name, to, master) {\n if (!(caller instanceof Master)) throw new Error('Only Master instances may create Collections.')\n this.minted = {}\n this.name = name\n this.master = master\n this.owner = to\n }\n send(to) {\n this.owner = to\n }\n retreive(id) {\n if (this.minted[id]) throw new Error('Does not exist')\n return this.minted[id]\n }\n mint(gameDrop, to) {\n if (gameDrop.master != this.master) throw new Error('Not a GameDrop from this Master.')\n // if (!(caller instanceof GameDrop)) throw new Error('Only GameDrop instances may create Derivatives.')\n // if (caller.master != this.master) throw new Error('Not a GameDrop from this Master.')\n if (this.minted[gameDrop.id]) throw new Error('Cannot mint twice')\n this.newMinted = new Derivative(gameDrop.id, this, to, this.master, this.name)\n this.minted[gameDrop.id] = true\n return this\n }\n update(derivitive, attributes) {\n if (!(derivitive instanceof Derivative)) throw new Error('Collections may only update Derivitives.')\n this.newUpdate = derivitive.update(attributes)\n return this\n }\n }",{"deps":{"Derivative":{"$dup":["1","deps","Derivative"]},"GameDrop":{"$dup":["1","deps","GameDrop"]},"Jig":{"$dup":["1","deps","Jig"]},"Master":{"$jig":1},"Minter":{"$dup":["1","deps","Minter"]}}},"class Derivative extends Jig {\n init(id, collection, to, master, name) {\n if (!(caller instanceof Collection)) throw new Error('Only Collection instances may create Derivatives.')\n this.id = id\n this.collection = collection.origin\n this.collectionName = name\n this.master = master\n this.owner = to\n this.attributes = {}\n }\n send(to) {\n this.owner = to\n }\n exists(name) {\n return (this[name]) ? true : false;\n }\n update(collection, attributes) {\n // collection.auth()\n if (collection.origin != this.collection) throw new Error('Only Collection instances may update Derivatives.')\n // if (!(caller instanceof Collection)) throw new Error('Only Collection instances may create Derivatives.')\n // if (caller.origin != this.collection) throw new Error('Only Collection instances may update Derivatives.')\n this.attributes = Object.assign(this.attributes, attributes);\n return this\n }\n }",{"deps":{"Collection":{"$dup":["1","deps","Collection"]},"GameDrop":{"$dup":["1","deps","GameDrop"]},"Jig":{"$dup":["1","deps","Jig"]},"Master":{"$dup":["3","deps","Master"]},"Minter":{"$dup":["1","deps","Minter"]}}},"class GameDrop extends Jig {\n init(n, x, claim, master) {\n if (!(caller instanceof Minter)) throw new Error('Only Minter instances may create GameDrops.')\n this.id = parseInt(\"\" + n + x)\n this.minted = {}\n this.claim = claim\n this.master = master\n }\n send(to) {\n this.owner = to\n }\n retreive(c) {\n if (this.minted[c]) throw new Error('Does not exist')\n return this.minted[c]\n }\n mint(collection, to) {\n if (!(collection instanceof Collection)) throw new Error('Gamedrops may only mint via Collections.')\n if (this.minted[collection.origin]) throw new Error('Cannot mint twice.')\n // return collection.mint(this.id, to)\n this.newMinted = collection.mint(this.id, to)\n this.minted[collection.origin] = true\n return this.newMinted\n }\n update(master, attributes) {\n // master.auth()\n if (master.origin != this.master) throw new Error('Only Master instances may update GameDrops.')\n // if (!(caller instanceof Master)) throw new Error('Only Master instances may update GameDrops.')\n this.attributes = Object.assign(this.attributes, attributes);\n return this\n }\n }",{"deps":{"Collection":{"$dup":["1","deps","Collection"]},"Derivative":{"$dup":["1","deps","Derivative"]},"Jig":{"$dup":["1","deps","Jig"]},"Master":{"$dup":["3","deps","Master"]},"Minter":{"$dup":["1","deps","Minter"]}}},"class Minter extends Jig {\n\n init(e, n, x, maxE, maxN, maxX, claim, master) {\n if (!(caller instanceof Master) && !(caller instanceof Minter)) throw new Error('Only Master and Minter classes can create minters')\n this.e = e + 1\n this.n = parseInt(\"\" + n + x)\n this.x = 0\n this.maxE = maxE\n this.maxN = maxN\n this.maxX = maxX\n this.minted = {}\n this.spent = false\n this.claim = claim\n this.master = master\n }\n mint() {\n if (this.spent) return this\n if (this.e == this.maxE) {\n if (parseInt(\"\" + this.n + this.x) > this.maxN) {\n this.spent = true\n return this\n }\n this.newMinted = new GameDrop(this.n, this.x, this.claim, this.master)\n this.minted[this.x] = true\n this.x = this.x + 1\n } else if (this.e < this.maxE) {\n if (parseInt(\"\" + this.n + this.x + (\"0\".repeat(this.maxE - this.e))) > this.maxN) {\n this.spent = true\n return this\n }\n this.newMinted = new Minter(this.e, this.n, this.x, this.maxE, this.maxN, this.maxX, this.claim, this.master)\n this.minted[this.x] = true\n this.x = this.x + 1\n }\n if (this.x > this.maxX) {\n this.spent = true\n }\n return this\n }\n retreive(x) {\n if (this.minted[x]) throw new Error('Does not exist')\n return this.minted[x]\n }\n }",{"deps":{"Collection":{"$dup":["1","deps","Collection"]},"Derivative":{"$dup":["1","deps","Derivative"]},"GameDrop":{"$dup":["1","deps","GameDrop"]},"Jig":{"$dup":["1","deps","Jig"]},"Master":{"$dup":["3","deps","Master"]}}}]}]}
    https://whatsonchain.com/tx/c187ccbaaad7323f07daa527d38126266fd0c2d2fd833c87bfc99adbbc31e50c
Total Output:
0.05001110 BSV