Transaction

a07b76783d0567ea7d665342e4ee2f6486bf2a6fbca6bd1a096af62eec42e82b
Timestamp (utc)
2022-04-05 21:02:33
Fee Paid
0.00005974 BSV
(
0.60007038 BSV
-
0.60001064 BSV
)
Fee Rate
509.1 sat/KB
Version
1
Confirmations
187,921
Size Stats
11,733 B

17 Outputs

Total Output:
0.60001064 BSV
  • jrunMn*{"in":0,"ref":["native://Jig"],"out":["615429097094fef6e807ecbfd63af90447a5f7794fcae96b24fe75019a3f04d1","4506171739c0e2d225ff64ede69f9fd31a137f82091907cf1d97bf99cbab413b","ce86394a684c3ed126c714065e1142b00440dffe4ba13cef1d731a54cf565825","a6fe3fe73877f1b63f8ba5bcab9bf6cc3f90e1c052b6c01e26fdcece52094b38","ca82f3fc511c09890841921fd0dae1f2892d07e102ef9813f1de325514dd961e"],"del":[],"cre":["1MZLbuTFjubhM2nRRVUHcrrdzoayhYiL51","1Em7jvWUuByTV5oLYtb8THmeGY8bPPkPFM","12SdPJtcFXz3takzw6QLJ37zrTSvVPSESY","1CHtMpCGFsTSa9TLThcDPqoKvMXden3vmP","1NXedkCQneUyrN9HBkFm5nnVt7dFFGzB9a"],"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/a07b76783d0567ea7d665342e4ee2f6486bf2a6fbca6bd1a096af62eec42e82b
Total Output:
0.60001064 BSV