Transaction

e25565f8b66e6dbd2cbab665de62ab0273ca75eea8ca9ee84f2cc29debc7c4e4
Timestamp (utc)
2022-06-08 02:01:42
Fee Paid
0.00005658 BSV
(
0.00050000 BSV
-
0.00044342 BSV
)
Fee Rate
500 sat/KB
Version
1
Confirmations
196,478
Size Stats
11,314 B

9 Outputs

Total Output:
0.00044342 BSV
  • jrunMn*{"in":0,"ref":["native://Jig"],"out":["188adda6d56d089303177b07af158c50b59f4c3bf5e0ecd16be84036836116a7","4cd01ab04067d0e8682f830dd84696c212b00916373a5ac5325c59fb23a05c4d","ead7093cc4d2fff7962456f0bfc98f71f547b29d82e4c06800c33e79c2f876d2","be887beafcf933e236099eb05b26ee93f0ce6d81be9fc6a5dc298bbb16a891b6","39ecbe211eaa67f2923dc9cb57c5c143f069e882a4df6e6384558ed3e5224d1f"],"del":[],"cre":["1Nr8318BT8Dmt4xv6dnPYkHaDXPkbrjq1b","1AqnZoUQ2QHYhcxpDJk1LHV2FARhzEqQHH","1NDZRPcQuP77y2ZsAEwHfqCcaKwyV1m24b","13iD51GHMN84VhquEyU2XEnoJMrpoZ1xmG","1JTwVM7PJ2u2EuueM2C2UGcksxZSRBgefW"],"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/e25565f8b66e6dbd2cbab665de62ab0273ca75eea8ca9ee84f2cc29debc7c4e4
Total Output:
0.00044342 BSV