tx · 8ynsf8TJY22koQMP3obUDcmtMZEg37jUKzdJ4foLg8bb

3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx:  -0.01000000 Waves

2023.05.28 14:55 [2597787] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves

{ "type": 13, "id": "8ynsf8TJY22koQMP3obUDcmtMZEg37jUKzdJ4foLg8bb", "fee": 1000000, "feeAssetId": null, "timestamp": 1685274952231, "version": 2, "chainId": 84, "sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx", "senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc", "proofs": [ "5dj9eAh1zpNx1bNhd9VHG4LNyF1LT5Nnq6mApAyM1gyYYJF5GLbmHcHNRXV2RsqKcbAAxNyVfEpjAvDXvA58rcDH" ], "script": "base64:BgIJCAISABIDCgEBAAIBaQENdG9rZW5Jc3N1YW5jZQAEBG5hbWUCCkJlYnJhVG9rZW4EDmxlbmRlc2NyaXB0aW9uAg9CZWJyYSBieSBLcmluZ2UECHF1YW50aXR5AICt4gQECGRlY2ltYWxzAAAEDGlzUmVpc3N1YWJsZQYECmlzc3VlQmVicmEJAMMIBwUEbmFtZQUObGVuZGVzY3JpcHRpb24FCHF1YW50aXR5BQhkZWNpbWFscwUMaXNSZWlzc3VhYmxlBQR1bml0AAAEB2Fzc2V0SWQJALgIAQUKaXNzdWVCZWJyYQQJa25ld1Rva2VuAgVUb2tlbgQLZ2V0TmV3VG9rZW4JARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQR0aGlzBQlrbmV3VG9rZW4CGUJlYnJhVG9rZW4gaXMgbm90IGRlZmluZWQECXJlY2lwaWVudAgFAWkGY2FsbGVyCQDMCAIFCmlzc3VlQmVicmEJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwUJcmVjaXBpZW50ANAPBQdhc3NldElkBQNuaWwBaQENdG9rZW5UcmFuc2ZlcgEGYW1vdW50BAlyZWNpcGllbnQJANgEAQgIBQFpBmNhbGxlcgVieXRlcwUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleaotgyQ=", "height": 2597787, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Huj8U4pda59oypqYfpm2Yck5SPxp7XYZvSQuN1XEpwwS Next: Cmnhk6hVRGhZbnRHB8ixYNbtU32h8XfynuBeBgHYnfgA Diff:
OldNewDifferences
1010 let quantity = 10000000
1111 let decimals = 0
1212 let isReissuable = true
13- let assetBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0)
14- let assetId = calculateAssetId(assetBebra)
13+ let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0)
14+ let assetId = calculateAssetId(issueBebra)
1515 let knewToken = "Token"
16- let newToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
16+ let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
1717 let recipient = i.caller
18-[assetBebra, StringEntry(knewToken, newToken), ScriptTransfer(recipient, 2000, assetId)]
18+[issueBebra, ScriptTransfer(recipient, 2000, assetId)]
1919 }
2020
2121
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func tokenIssuance () = {
88 let name = "BebraToken"
99 let lendescription = "Bebra by Kringe"
1010 let quantity = 10000000
1111 let decimals = 0
1212 let isReissuable = true
13- let assetBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0)
14- let assetId = calculateAssetId(assetBebra)
13+ let issueBebra = Issue(name, lendescription, quantity, decimals, isReissuable, unit, 0)
14+ let assetId = calculateAssetId(issueBebra)
1515 let knewToken = "Token"
16- let newToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
16+ let getNewToken = valueOrErrorMessage(getString(this, knewToken), "BebraToken is not defined")
1717 let recipient = i.caller
18-[assetBebra, StringEntry(knewToken, newToken), ScriptTransfer(recipient, 2000, assetId)]
18+[issueBebra, ScriptTransfer(recipient, 2000, assetId)]
1919 }
2020
2121
2222
2323 @Callable(i)
2424 func tokenTransfer (amount) = {
2525 let recipient = toBase58String(i.caller.bytes)
2626 nil
2727 }
2828
2929
3030 @Verifier(tx)
3131 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3232

github/deemru/w8io/026f985 
25.48 ms