tx · 5mtGMHUQqKkywwAm26ttJ4mmoocUqYVLQn3g9FxnQYcN

3N7b5RREJBhrQwb5AiKUB2upCxMSfNw4nok:  -0.05000000 Waves

2019.11.17 11:38 [768888] smart account 3N7b5RREJBhrQwb5AiKUB2upCxMSfNw4nok > SELF 0.00000000 Waves

{ "type": 13, "id": "5mtGMHUQqKkywwAm26ttJ4mmoocUqYVLQn3g9FxnQYcN", "fee": 5000000, "feeAssetId": null, "timestamp": 1573979943670, "version": 1, "sender": "3N7b5RREJBhrQwb5AiKUB2upCxMSfNw4nok", "senderPublicKey": "DmGuFUH4FowzKombiviDc5zueFtTtRAcEYoEs9d8Rmd4", "proofs": [ "5hWZkJ4S7GSGdHAGFR8JVm5agsaaAHpLnK5iwF2C3uaobitQNmz8swV3XQ29MLcuxoCxqGBTzCm394jQae6VfAAg" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50AwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAACFjYW4gaG9kbCB3YXZlcyBvbmx5IGF0IHRoZSBtb21lbnQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAASeHh4SW52ZXN0b3JCYWxhbmNlCQABLAAAAAIJAAEsAAAAAgUAAAAKY3VycmVudEtleQIAAAABXwIAAAACaWIEAAAADWN1cnJlbnRBbW91bnQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAASeHh4SW52ZXN0b3JCYWxhbmNlAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAACW5ld0Ftb3VudAkAAGQAAAACBQAAAA1jdXJyZW50QW1vdW50CAUAAAADcG10AAAABmFtb3VudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAASeHh4SW52ZXN0b3JCYWxhbmNlBQAAAAluZXdBbW91bnQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABYwUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAEAAAAgvaPHIlTQg/OUw69fgteVXCmutUNxvvKDOEFdq9Vp0AsHm6nBxw==", "chainId": 84, "height": 768888, "spentComplexity": 0 } View: original | compacted Prev: CggdF6N8cWFKKRAfnDCkMuwPDrUxwAnbvxLh5WfQ5wvH Next: none Diff:
OldNewDifferences
2929 @Verifier(i)
3030 func j () = {
3131 let f = i
32- if ($isInstanceOf(f, "SetScriptTransaction"))
32+ if ($isInstanceOf(f, "InvokeScriptTransaction"))
3333 then {
3434 let k = f
35- sigVerify(i.bodyBytes, i.proofs[0], base58'DmGuFUH4FowzKombiviDc5zueFtTtRAcEYoEs9d8Rmd4')
35+ true
3636 }
37- else false
37+ else if ($isInstanceOf(f, "DataTransaction"))
38+ then {
39+ let l = f
40+ true
41+ }
42+ else if ($isInstanceOf(f, "SetScriptTransaction"))
43+ then {
44+ let m = f
45+ sigVerify(i.bodyBytes, i.proofs[0], base58'DmGuFUH4FowzKombiviDc5zueFtTtRAcEYoEs9d8Rmd4')
46+ }
47+ else false
3848 }
3949
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func deposit () = {
88 let b = extract(a.payment)
99 if (isDefined(b.assetId))
1010 then throw("can hodl waves only at the moment")
1111 else {
1212 let c = toBase58String(a.caller.bytes)
1313 let d = ((c + "_") + "ib")
1414 let e = {
1515 let f = getInteger(this, d)
1616 if ($isInstanceOf(f, "Int"))
1717 then {
1818 let g = f
1919 g
2020 }
2121 else 0
2222 }
2323 let h = (e + b.amount)
2424 WriteSet([DataEntry(d, h)])
2525 }
2626 }
2727
2828
2929 @Verifier(i)
3030 func j () = {
3131 let f = i
32- if ($isInstanceOf(f, "SetScriptTransaction"))
32+ if ($isInstanceOf(f, "InvokeScriptTransaction"))
3333 then {
3434 let k = f
35- sigVerify(i.bodyBytes, i.proofs[0], base58'DmGuFUH4FowzKombiviDc5zueFtTtRAcEYoEs9d8Rmd4')
35+ true
3636 }
37- else false
37+ else if ($isInstanceOf(f, "DataTransaction"))
38+ then {
39+ let l = f
40+ true
41+ }
42+ else if ($isInstanceOf(f, "SetScriptTransaction"))
43+ then {
44+ let m = f
45+ sigVerify(i.bodyBytes, i.proofs[0], base58'DmGuFUH4FowzKombiviDc5zueFtTtRAcEYoEs9d8Rmd4')
46+ }
47+ else false
3848 }
3949

github/deemru/w8io/026f985 
21.27 ms