tx · EevvGhJDZRVT9wS9oATjHWcopesVJYhprABws4LMjJou

3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP:  -0.05000000 Waves

2021.07.25 16:25 [1629227] smart account 3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP > SELF 0.00000000 Waves

{ "type": 13, "id": "EevvGhJDZRVT9wS9oATjHWcopesVJYhprABws4LMjJou", "fee": 5000000, "feeAssetId": null, "timestamp": 1627219557362, "version": 2, "chainId": 84, "sender": "3N22BYqtPzVTSgJBrhE8yYUSZPRCmkXmtcP", "senderPublicKey": "2uZLPvTfcSdSqd6m8q85ZpiWEmxSkGWzb5ocbziqSzCj", "proofs": [ "5ijVDhJ7sWiM6SN8Gkd8nUVHXjWpuziXsmnvsDrXJvR3WDgbgb2GFr3H93unNi9jVGQn41K9ZieyCMSZiKiRhJHf" ], "script": "base64:AAIFAAAAAAAAAAgIAhIAEgASAAAAAAAAAAADAAAAAWkBAAAABGNhbGwAAAAABAAAAANpbnYJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM01zTmJ1cEtRMVpmNXlWbzk1MkFrRmlLdTJyaDRvZXZXZUMCAAAADGxvY2tOZXV0cmlubwUAAAADbmlsCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACCQACWQAAAAECAAAALDI1RkVxRWpSa3FLNnlDa2lUN0x6NlNBWXo3Z1VGQ3R4ZkNDaG5yVkZENUFUAAAAAAAAAYagBQAAAANuaWwDCQAAAAAAAAIFAAAAA2ludgUAAAADaW52CQAETAAAAAIJAQAAAAtCaW5hcnlFbnRyeQAAAAICAAAAA2JpbgEAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAARib29sBgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADaW50AAAAAAAAAAABCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA3N0cgIAAAAABQAAA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AAICAAAACHBheW1lbnQgBQAAAAR0eElkCAUAAAAHcGF5bWVudAAAAAZhbW91bnQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAHYmVmb3JlIAUAAAAEdHhJZAUAAAAOYXZhaWxhYmxlV2F2ZXMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAAGYWZ0ZXIgBQAAAAR0eElkBQAAABRhdmFpbGFibGVQbHVzUGF5bWVudAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnj/jnB", "height": 1629227, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3j1xV4kAEYEhE2paoNNNrEqPvquchpuZGiUxhsSfjLEo Next: 9emsfUh27naRtrYYvZ34XcAk96GGkqw1VWMKmgkQMvu6 Diff:
OldNewDifferences
2222 }
2323
2424
25-@Verifier(c)
26-func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey)
25+
26+@Callable(a)
27+func checkBalancest () = {
28+ let c = value(a.payments[0])
29+ let d = wavesBalance(this).available
30+ let e = (d + c.amount)
31+ let f = toBase58String(a.transactionId)
32+[IntegerEntry(("payment " + f), c.amount), IntegerEntry(("before " + f), d), IntegerEntry(("after " + f), e)]
33+ }
34+
35+
36+@Verifier(g)
37+func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
2738
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func call () = {
88 let b = invoke(addressFromStringValue("3MsNbupKQ1Zf5yVo952AkFiKu2rh4oevWeC"), "lockNeutrino", nil, [AttachedPayment(fromBase58String("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), 100000)])
99 if ((b == b))
1010 then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", "")]
1111 else throw("Strict value is not equal to itself.")
1212 }
1313
1414
1515
1616 @Callable(a)
1717 func callUnlock () = {
1818 let b = invoke(addressFromStringValue("3MsNbupKQ1Zf5yVo952AkFiKu2rh4oevWeC"), "unlockNeutrino", [100000, "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"], nil)
1919 if ((b == b))
2020 then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", "")]
2121 else throw("Strict value is not equal to itself.")
2222 }
2323
2424
25-@Verifier(c)
26-func d () = sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey)
25+
26+@Callable(a)
27+func checkBalancest () = {
28+ let c = value(a.payments[0])
29+ let d = wavesBalance(this).available
30+ let e = (d + c.amount)
31+ let f = toBase58String(a.transactionId)
32+[IntegerEntry(("payment " + f), c.amount), IntegerEntry(("before " + f), d), IntegerEntry(("after " + f), e)]
33+ }
34+
35+
36+@Verifier(g)
37+func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey)
2738

github/deemru/w8io/169f3d6 
29.54 ms