Transaction

79bb52048b2eb5a1941f6570ebf6845a50bcf38c04a479f796d0c9da30c9657c
Timestamp (utc)
2022-06-27 19:58:43
Fee Paid
0.00000531 BSV
(
0.10000000 BSV
-
0.09999469 BSV
)
Fee Rate
50.05 sat/KB
Version
1
Confirmations
176,152
Size Stats
10,606 B

16 Outputs

Total Output:
0.09999469 BSV
  • jrunM¼&{"in":0,"ref":["native://Jig"],"out":["5f9ad2e719b7c8551a8d3f346e600f7a429eb467ccade6d3a026c4d5414c7e22","b9c37ff6091e11f4e4ee919f03da3b7c02bc5dc3dbc39e4875bc62a535aa6634","a1dc438073da23242f718bc8cbcd686f926d79e7d02cb1e33922f023b6a5b6a5","8e068b90b14a2482e8e0658640eba61ef83101d903ed319add09303318d06a96","1b2407e1c224e6ce9702003c9abb7759a4e9e65f39b87c469e7dedf37105655d"],"del":[],"cre":["1BuCgbhRxsmF4x1wQREYGmaMXvc79tbyEt","1MdbEUNwEY6zPt6ixBPNVoxY9q7TRZbaNo","18igV3HizcAz9jJbVGWkVTgCenunsn3smo","1Edj1qDnda94dBtxsQKPHWMUFCc829PJXJ","163MYYAoaeAdh3g9BQDNCvSr44TCn1VCCc"],"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/79bb52048b2eb5a1941f6570ebf6845a50bcf38c04a479f796d0c9da30c9657c
Total Output:
0.09999469 BSV