Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

6090413011a0187a44d6031c494862971ddcf6741ed5130b1efe9d223f63d800
Timestamp (utc)
2021-02-19 23:02:03
Fee Paid
0.00003830 BSV
(
0.00985563 BSV
-
0.00981733 BSV
)
Fee Rate
974 sat/KB
Version
1
Confirmations
322,434
Size Stats
3,932 B

3 Outputs

Total Output:
0.00981733 BSV
  • jrun cryptofightsMW{"in":0,"ref":["c343df9e2f24586b4042d682f56f917e14020933b707569d2aa999ed8184b459_o1","162058b016ec64fff953ada13768b32a77c23b76abb7b72abebd8f0fe642948a_o1","10f3d6eadcd8b4c0a0233fe5ca0e3e20fd354cc0abe119fda7206df27271e950_o1","20af650ed493f124361af75c0d2131238266d3cb9098e1b819ca9ef176ed2c1c_o1","b2ecfe203cd0e553ea19fd0465ce74f66f0080a859ef2181dca99b50af7e1705_o1","438bfb5abc25e9bd04217610b78df75d748f3a63153084f9b33bd871172cb492_o1","1540df6353ebff2e85e94c68cbc7efe1aebff21eb1064aebc2325d80551e8509_o1","a1c45e5349ac87b7fcf1868adacf978b87b038d9169e321922e32c7ad5e1d2bd_o1","1c1accbca985304f5b5d3f8058d640d6a2b47edb8c9119ec1adbcacd0defe53c_o1","f97d4ac2a3d6f5ed09fad4a4f341619dc5a3773d9844ff95c99c5d4f8388de2f_o1"],"out":["355c1ef4dac94ce0e3b54579cc9c39ee62de59e02b2acc7b0af32b841c775dc1"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Bot3ValidatorAgent extends BotValidatorAgent { \n async _selectItems() {\n const weapons = await this.wallet.loadJigIndex({\n criteria: {\n kind: KronoItem.origin,\n 'value.item.origin': PracticeBow.origin\n },\n projection: {value: false}\n });\n return [await this.pickAndLock(weapons, 120)];\n }\n async _selectSkills() {\n return [Attack, Curse ];\n }\n\n _selectAction() {\n return this.wallet.randomInt(2);\n }\n\n static async postDeploy (deployer) {\n const {BotFighter, KronoItem, PracticeBow, ValidatorConfig} = this.deps;\n const [fighter] = await deployer.blockchain.jigIndex(\n ValidatorConfig.address, \n {\n criteria: {\n kind: BotFighter.origin,\n 'value.displayName': 'Quasit'\n },\n projection: {value: false}\n }\n );\n const [item] = await deployer.blockchain.jigIndex(\n ValidatorConfig.address, \n {\n criteria: {\n kind: KronoItem.origin,\n 'value.item.origin': PracticeBow.origin\n },\n projection: {value: false}\n }\n );\n \n let updates = 0;\n const t = new Transaction();\n t.update(() => {\n const owner = ValidatorConfig.address;\n if(!fighter) {\n console.log('Minting BotFighters');\n for(let i = 0; i < 25; i++) {\n new BotFighter({ owner, level: 3, displayName: 'Quasit', race: 0, abilityScores: [5, 17, 7], appearance: { gender: 0, faceIdentifier: 5, hairIdentifier: 1, beardIdentifier: 1, skinToneIdentifier: 0, hairColorIdentifier: 0, eyeColorIdentifier: 0, ArmorColorIdentifier: 99 }, skills: [ 0, 2, 21, 35, 29 ] },);\n }\n updates++;\n }\n\n if (!item) {\n console.log('Minting Items');\n for(let i = 0; i<25; i++) {\n new KronoItem(PracticeBow, owner);\n }\n updates++;\n }\n });\n \n if (updates) {\n await t.publish();\n } else {\n t.rollback();\n }\n }\n}",{"agentId":"bot3","deps":{"Attack":{"$jig":0},"BotFighter":{"$jig":1},"BotValidatorAgent":{"$jig":2},"Constants":{"$jig":3},"Curse":{"$jig":4},"KronoItem":{"$jig":5},"PracticeBow":{"$jig":6},"ValidatorAgent":{"$jig":7},"ValidatorConfig":{"$jig":8},"expect":{"$jig":9}},"fee":0,"hash":"a946a3b2a431f42a40502c0dfe038130dbd11e3c0f3a0c8bea9f32219fdc274c","lobby":3,"playerCount":1,"reward":0,"tier":2}]}]}
    https://whatsonchain.com/tx/6090413011a0187a44d6031c494862971ddcf6741ed5130b1efe9d223f63d800