tx · AJk7i2FQixUxBNdVxaDRZxD2WADEfAiPNTfzemTsHzEs

3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph:  -0.01400000 Waves

2021.09.20 14:16 [1711306] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves

{ "type": 13, "id": "AJk7i2FQixUxBNdVxaDRZxD2WADEfAiPNTfzemTsHzEs", "fee": 1400000, "feeAssetId": null, "timestamp": 1632136609986, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "3xpeLLyu2TrzsXwTtodm8H741gYSrS79PDKiez2Hi157iGyFx61DgwZvSoYcuhavaJ1gu22MAyw6S2eMXAVGQCta" ], "script": "base64:AAIFAAAAAAAAAAsIAhIAEgASAwoBCAAAAAIAAAAACXVzZXJBc3NldAIAAAAsR3JmZ3BjemNjcm41QWJydUxjdFh3Qzk0MWRnd2lwQnk2SFpZRGFRWEhidWsAAAAACWRBcHBBc3NldAIAAAAsN2FwU0p4TG54REt1bmI3YUJHYXVnNXFmVFg4OGpwYzNSMjI0OXBidUpVMngAAAADAAAAAmE4AQAAAARpbml0AAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAxM1BQSDd4N2lxb2JXNXppeWlSQ2ljMTlyUXFLcjZuUFlhSzFfYXNzZXRfYmFsYW5jZQAAAAAAAAAAAAUAAAADbmlsAAAAAmE4AQAAAARjYWxsAAAAAAQAAAACYTkJAARDAAAABwIAAAAGQXNzZXQxAgAAAA9Bc3NldCBmcm9tIGRBcHAAAAAAAAABhqAAAAAAAAAAAAIGBQAAAAR1bml0AAAAAAAAAAAABAAAAAJiMQkABDgAAAABBQAAAAJhOQkABEwAAAACCQEAAAALQmluYXJ5RW50cnkAAAACAgAAAANiaW4BAAAAAAkABEwAAAACCQEAAAAMQ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GYW1vdW50CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAGYW1vdW50CQACWQAAAAEFAAAACWRBcHBBc3NldAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAANcG9vbEFtb3VudEtleQUAAAANbmV3UG9vbEFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAARdXNlclBvb2xBbW91bnRLZXkFAAAAEW5ld1VzZXJQb29sQW1vdW50BQAAAANuaWwAAAABAAAAAmI2AQAAAAJiNwAAAAAJAAH0AAAAAwgFAAAAAmI2AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYjYAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACYjYAAAAPc2VuZGVyUHVibGljS2V5tK6u6w==", "height": 1711306, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2cnxR8XgG2QRYPY2fekjbgWFU9xAmcmMj5uhDH8c6XTz Next: AAMzRFUci6bYeAQhu9enXQwQiHyaLCmfnT6p1mj16Uab Diff:
OldNewDifferences
4040 }
4141 }
4242 let r = (m + h)
43- let s = (n + n)
43+ let s = (n + h)
4444 [ScriptTransfer(f.caller, h, fromBase58String(b)), IntegerEntry(j, r), IntegerEntry(l, s)]
4545 }
4646
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "Grfgpczccrn5AbruLctXwC941dgwipBy6HZYDaQXHbuk"
55
66 let b = "7apSJxLnxDKunb7aBGaug5qfTX88jpc3R2249pbuJU2x"
77
88 @Callable(c)
99 func init () = [IntegerEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_asset_balance", 0)]
1010
1111
1212
1313 @Callable(c)
1414 func call () = {
1515 let d = Issue("Asset1", "Asset from dApp", 100000, 2, true, unit, 0)
1616 let e = calculateAssetId(d)
1717 [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), d]
1818 }
1919
2020
2121
2222 @Callable(f)
2323 func deposit (g) = {
2424 let h = f.payments[0].amount
2525 let i = f.payments[0].assetId
2626 let j = (g + "_asset_balance")
2727 let k = toString(f.caller)
2828 let l = (((g + "_") + k) + "_asset_balance")
2929 let m = getIntegerValue(this, j)
3030 let n = {
3131 let o = getInteger(l)
3232 if ($isInstanceOf(o, "Int"))
3333 then {
3434 let p = o
3535 p
3636 }
3737 else {
3838 let q = o
3939 0
4040 }
4141 }
4242 let r = (m + h)
43- let s = (n + n)
43+ let s = (n + h)
4444 [ScriptTransfer(f.caller, h, fromBase58String(b)), IntegerEntry(j, r), IntegerEntry(l, s)]
4545 }
4646
4747
4848 @Verifier(t)
4949 func u () = sigVerify(t.bodyBytes, t.proofs[0], t.senderPublicKey)
5050

github/deemru/w8io/026f985 
18.30 ms