Transaction

19e5fbc252b5dd91cf4df1eba25c74da78b4b13d8852eb9dbdc36af4312d0ced
Timestamp (utc)
2022-05-15 01:16:36
Fee Paid
0.00005677 BSV
(
0.00008919 BSV
-
0.00003242 BSV
)
Fee Rate
504.7 sat/KB
Version
1
Confirmations
181,024
Size Stats
11,246 B

7 Outputs

Total Output:
0.00003242 BSV
  • jrunMn*{"in":0,"ref":["native://Jig"],"out":["e06fb2c28046d31ca0fb068b8d3bb491a05f561c5ded7fcfa00aa444494b9596","a0a15776fa3a44a07fb021f05b260b7b78e1bc6f5d0c4a50ea3af9c9a5432300","0da6e1d6873aa27afb428bbe086f2ec917f1c58116ea2d7a4d68f12dbfaa52ac","a7dad29312db57ad6af934319bdfe1e48a0f37d58b7a9b47fa9bc5ba5a55f5ca","c45f0c9430c79d1f116df162bd723b4c8cf5d495b9fa094bc179b119c9d7cb5b"],"del":[],"cre":["1AhbNyrSRJLxoy1dXV4FRTvjHj5E5H6xbx","1BwdGWzD7zhnZ2wqbi6t1nkFqwb15AbSiw","16cz1XEhHnePn8SQtUvDwbWmz662WEkLhe","12cW7qkWwNsbTFb9SCY7CmurmTvG6eDJ4M","17PVNBruJBDsPwYvUx8n8UnCNHhBcwcRdy"],"exec":[{"op":"DEPLOY","data":["class NFTYClass extends Jig {\n init(jigCount, maxE, className, to) {\n this.minted = {}\n this.derivativeClasses = {}\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.className = className\n this.owner = to\n }\n mint(to) {\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.className, this.origin, to)\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 mintDerivativeClass(name, to) {\n NFTYClass.auth()\n if (this.derivativeClasses[name]) {\n throw new Error('DerivativeClass already exists')\n }\n this.newDerivativeClass = new DerivativeClass(name, to, this.origin)\n this.derivativeClasses[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":{"DerivativeClass":{"$jig":2},"DerivativeJig":{"$jig":3},"Jig":{"$jig":0},"Minter":{"$jig":4},"NFTYJig":{"$jig":5}}},"class DerivativeClass extends Jig {\n init(className, to, nftyClass) {\n if (!(caller instanceof NFTYClass)) throw new Error('Only NFTYClass instances may create DerivativeClasss.')\n this.minted = {}\n this.className = className\n this.nftyClass = nftyClass\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(nftyJig, to) {\n if (nftyJig.nftyClass != this.nftyClass) throw new Error('Not a NFTYJig from this NFTYClass.')\n // if (!(caller instanceof NFTYJig)) throw new Error('Only NFTYJig instances may create Derivatives.')\n // if (caller.nftyClass != this.nftyClass) throw new Error('Not a NFTYJig from this NFTYClass.')\n if (this.minted[nftyJig.id]) throw new Error('Cannot mint twice')\n this.newMinted = new DerivativeJig(nftyJig.id, this, to, this.nftyClass, this.className)\n this.minted[nftyJig.id] = true\n return this\n }\n update(derivativeJig, attributes, to) {\n if (!(derivativeJig instanceof DerivativeJig)) throw new Error('DerivativeClasss may only update Derivatives.')\n this.newUpdate = derivativeJig.update(attributes)\n this.owner = to\n return this\n }\n }",{"deps":{"DerivativeJig":{"$dup":["1","deps","DerivativeJig"]},"Jig":{"$dup":["1","deps","Jig"]},"Minter":{"$dup":["1","deps","Minter"]},"NFTYClass":{"$jig":1},"NFTYJig":{"$dup":["1","deps","NFTYJig"]}}},"class DerivativeJig extends Jig {\n init(id, derivativeClass, to, nftyClass, name) {\n if (!(caller instanceof NFTYJig)) throw new Error('Only NFTYJig instances may create Derivatives.')\n this.id = id\n this.derivativeClass = derivativeClass.origin\n this.derivativeClassName = name\n this.nftyClass = nftyClass\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(derivativeClass, attributes) {\n // derivativeClass.auth()\n if (derivativeClass.origin != this.derivativeClass) throw new Error('Only DerivativeClass instances may update Derivatives.')\n // if (!(caller instanceof DerivativeClass)) throw new Error('Only DerivativeClass instances may create Derivatives.')\n // if (caller.origin != this.derivativeClass) throw new Error('Only DerivativeClass instances may update Derivatives.')\n this.attributes = Object.assign(this.attributes, attributes);\n return this\n }\n }",{"deps":{"DerivativeClass":{"$dup":["1","deps","DerivativeClass"]},"Jig":{"$dup":["1","deps","Jig"]},"Minter":{"$dup":["1","deps","Minter"]},"NFTYClass":{"$dup":["3","deps","NFTYClass"]},"NFTYJig":{"$dup":["1","deps","NFTYJig"]}}},"class Minter extends Jig {\n\n init(e, n, x, maxE, maxN, maxX, className, nftyClass, to) {\n if (!(caller instanceof NFTYClass) && !(caller instanceof Minter)) throw new Error('Only NFTYClass 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.className = className\n this.nftyClass = nftyClass\n this.owner = to\n }\n mint(to) {\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 NFTYJig(this.n, this.x, this.className, this.nftyClass, to)\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.className, this.nftyClass, to)\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":{"DerivativeClass":{"$dup":["1","deps","DerivativeClass"]},"DerivativeJig":{"$dup":["1","deps","DerivativeJig"]},"Jig":{"$dup":["1","deps","Jig"]},"NFTYClass":{"$dup":["3","deps","NFTYClass"]},"NFTYJig":{"$dup":["1","deps","NFTYJig"]}}},"class NFTYJig extends Jig {\n init(n, x, className, nftyClass, to) {\n if (!(caller instanceof Minter)) throw new Error('Only Minter instances may create NFTYJigs.')\n this.id = parseInt(\"\" + n + x)\n this.minted = {}\n this.attributes = {}\n this.className = className\n this.nftyClass = nftyClass\n this.owner = to\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(derivativeClass, to) {\n if (!(derivativeClass instanceof DerivativeClass)) throw new Error('NFTYJigs may only mint via DerivativeClasss.')\n if (this.nftyClass != derivativeClass.nftyClass) throw new Error('Not a DerivativeClass from this NFTYClass.')\n if (this.minted[derivativeClass.origin]) throw new Error('Cannot mint twice.')\n // return derivativeClass.mint(this.id, to)\n // this.newMinted = derivativeClass.mint(this.id, to)\n this.newMinted = new DerivativeJig(this.id, derivativeClass, to, this.nftyClass, derivativeClass.name)\n this.minted[derivativeClass.origin] = true\n this.owner = to\n return this.newMinted\n }\n update(nftyClass, attributes, to) {\n // nftyClass.auth()\n if (nftyClass.origin != this.nftyClass) throw new Error('Only NFTYClass instances may update NFTYJigs.')\n // if (!(caller instanceof NFTYClass)) throw new Error('Only NFTYClass instances may update NFTYJigs.')\n this.attributes = Object.assign(this.attributes, attributes);\n this.owner = to\n return this\n }\n }",{"deps":{"DerivativeClass":{"$dup":["1","deps","DerivativeClass"]},"DerivativeJig":{"$dup":["1","deps","DerivativeJig"]},"Jig":{"$dup":["1","deps","Jig"]},"Minter":{"$dup":["1","deps","Minter"]},"NFTYClass":{"$dup":["3","deps","NFTYClass"]}}}]}]}
    https://whatsonchain.com/tx/19e5fbc252b5dd91cf4df1eba25c74da78b4b13d8852eb9dbdc36af4312d0ced
Total Output:
0.00003242 BSV