Transaction

1de7a7549ac9288195cd8db0cd147b471b67ee025eaa83b54faedb55b8da6578
( - )
208,143
2021-01-13 05:41:42
1
2,579 B

4 Outputs

Total Output:
  • jrun cryptofightsMZ{"in":1,"ref":["796f6c13c4539ee8e56f943d323ade91ec8dd9b8c8a269d803bbbf69616c7bc1_o1","b61ceaab3690af8868f1b305d30b9ea37688681de59732610963091f7b8277da_o1"],"out":["06bee90ed6638ef5e55410cacf72f0b762853d8a60341ac2b45b2ada33c4b10c","f5ee3bf9cbe4035ab7343d8adb1fbc1ae00452dfa3bf79d02f96a83e96a65fee"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class NoCCClientAgent extends TestClientAgent {\n async loadCoin(amount) {\n const index = await this.wallet.loadJigIndex({criteria: {kind: KronoCoin.origin}});\n const coins = [];\n let acc = 0;\n console.log('INDEX:', JSON.stringify(index));\n for(let coinData of index) {\n console.log('COINDATA:', JSON.stringify(coinData.value));\n const coin = await this.wallet.loadJig(coinData.location);\n if(!coin) {\n console.log('COIN MISSING:', coinData.location); \n } else {\n console.log('COIN:', JSON.stringify(coin.toObject()));\n coins.push(coin);\n if((acc += coin.amount) >= amount) break;\n }\n }\n console.log('AMOUNT:', amount, acc);\n if (acc < amount) {\n const message = this.wallet.buildMessage({\n subject: 'CashInRequest',\n payload: JSON.stringify({\n owner: this.address\n })\n });\n const coinData = await this.blockchain.sendMessage(message, CashierConfig.postTo);\n return await this.wallet.loadJig(coinData.location);\n } else {\n const coin = coins.pop();\n console.log('TESTING COIN:', coin.location, coins.length);\n if(coins.length) {\n console.log('COMBINING COINS:', coins.length);\n coin.combine(...coins);\n await coin.sync();\n }\n return coin;\n }\n }\n}",{"deps":{"CashierConfig":{"$jig":1},"KronoCoin":{"$jig":2},"TestClientAgent":{"$jig":0}},"hash":"7cd2b62641389766a142c1601f163024fd39743b0cbe18369be47f0fcfd4a0b4"}]}]}
    https://whatsonchain.com/tx/1de7a7549ac9288195cd8db0cd147b471b67ee025eaa83b54faedb55b8da6578