Transaction

cc4cde1c3d7ad70f955db41af1c4f262614d57fd6c5b1929011d78fae49fb283
( - )
150,814
2021-06-10 02:39:30
1
2,577 B

3 Outputs

Total Output:
  • jrunSabroshiMV{"in":0,"ref":["05f67252e696160a7c0099ae8d1ec23c39592378773b3a5a55f16bd1286e7dcb_o3","native://Jig","71fba386341b932380ec5bfedc3a40bce43d4974decdc94c419a94a8ce5dfc23_o1","d6170025a62248d8df6dc14e3806e68b8df3d804c800c7bfb23b0b4232862505_o1"],"out":["9cdea465ab6ccac10a3860476f37e9f17b81335ef2eacfc5267343c3f0a2d55a"],"del":[],"cre":["18VYxvRrcdMAjsKbhiTuQyCd1ozSiLnN4e"],"exec":[{"op":"DEPLOY","data":["class Sabroshi extends Jig {\r\n init(id, owner, description,series, attributeMap, image) {\r\n const minting = caller.owner === \"18VYxvRrcdMAjsKbhiTuQyCd1ozSiLnN4e\";\r\n if(!minting) throw new Error('Can only be created by the owner');\r\n\r\n if(!Number.isInteger(id))\r\n throw new Error('Invalid id');\r\n if((typeof owner) !== \"string\")\r\n throw new Error(\"invalid owner type\");\r\n if((typeof description) !== \"string\")\r\n throw new Error(\"invalid description type\");\r\n if(!Number.isInteger(series))\r\n throw new Error('Invalid series');\r\n \r\n\r\n expect(image).toBeInstanceOf(B);\r\n\r\n this.sender = caller && caller.owner ? caller.owner:null;\r\n\r\n this.id = id;\r\n this.owner = owner;\r\n this.series = series;\r\n this.description = description;\r\n this.attributeMap = attributeMap;\r\n this.metadata = {name:description, symbol: \"BRO\", author: this.owner, image:image};\r\n }\r\n\r\n\r\n send(to)\r\n {\r\n this.sender = this.owner;\r\n this.owner = to;\r\n }\r\n\r\n static addFriend(friend)\r\n {\r\n this.friends.push(friend);\r\n }\r\n\r\n static setFriends(friends)\r\n {\r\n this.friends = friends;\r\n }\r\n}",{"deps":{"B":{"$jig":0},"Jig":{"$jig":1},"expect":{"$jig":2}},"friends":[{"$jig":3}],"interactive":false,"sealed":false}]}]}
    https://whatsonchain.com/tx/cc4cde1c3d7ad70f955db41af1c4f262614d57fd6c5b1929011d78fae49fb283