tx · 3SWxDxatWxYmrMebQghJuLBAVLxfVdXGS6NmS1AdJTcd

3N8qSbKKrQztCYcZyhcRqNkgxQ1gcv2gN1D:  -0.00100000 Waves

2022.07.13 22:38 [2138388] smart account 3N8qSbKKrQztCYcZyhcRqNkgxQ1gcv2gN1D > SELF 0.00000000 Waves

{ "type": 13, "id": "3SWxDxatWxYmrMebQghJuLBAVLxfVdXGS6NmS1AdJTcd", "fee": 100000, "feeAssetId": null, "timestamp": 1657740988680, "version": 2, "chainId": 84, "sender": "3N8qSbKKrQztCYcZyhcRqNkgxQ1gcv2gN1D", "senderPublicKey": "5Y54ygDeR7kKoUTD7MTiRm9VhShh4jyPhqyHznn4wFJ4", "proofs": [ "3WZA3TeAkN6YkTK3M8q1Y1vp3oKNtKtQ3uCsm5d4a1TQpXF433XomMPFBnCg8MnfrcpcH48aqNYjeJueJM8Wk9gb" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAgAAAAAHZ2dUb2tlbgEAAAAga1Tox7/3HEAXiWVv82Ao2SO9iJd/R/dNeL5vvO7cxZABAAAACnN0YXJ0TG90dG8AAAABAAAAA2ludgQAAAADcG10CQEAAAAHZXh0cmFjdAAAAAEIBQAAAANpbnYAAAAHcGF5bWVudAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAAHZ2dUb2tlbgkAAAIAAAABAgAAAE5nZ1Rva2VuIDhEeWlkdnE4eWtXeG12NkN4WlpYUXRkajFha3Rpd1B2NGliZ0dXVGd4bzVoIHRva2VucyBvbmx5IGF0IHRoZSBtb21lbnQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAA1jdXJyZW50QW1vdW50BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAACmN1cnJlbnRLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAQAAAAJbmV3QW1vdW50CQAAZAAAAAIFAAAADWN1cnJlbnRBbW91bnQIBQAAAANwbXQAAAAGYW1vdW50CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAApjdXJyZW50S2V5BQAAAAluZXdBbW91bnQFAAAAA25pbAAAAAEAAAADaW52AQAAAAdkZXBvc2l0AAAAAAkBAAAACnN0YXJ0TG90dG8AAAABBQAAAANpbnYAAAAA3xVbfQ==", "height": 2138388, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: Eqoq9oCA2F4T66fveqxApo9aYaZAfVXZdCqdnA6dkzUi Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = base58'8Dyidvq8ykWxmv6CxZZXQtdj1aktiwPv4ibgGWTgxo5h'
5+
6+func b (c) = {
7+ let d = extract(c.payment)
8+ if ((d.assetId != a))
9+ then throw("ggToken 8Dyidvq8ykWxmv6CxZZXQtdj1aktiwPv4ibgGWTgxo5h tokens only at the moment")
10+ else {
11+ let e = toBase58String(c.caller.bytes)
12+ let f = {
13+ let g = getInteger(this, e)
14+ if ($isInstanceOf(g, "Int"))
15+ then {
16+ let h = g
17+ h
18+ }
19+ else 0
20+ }
21+ let i = (f + d.amount)
22+ WriteSet([DataEntry(e, i)])
23+ }
24+ }
25+
26+
27+@Callable(c)
28+func deposit () = b(c)
29+
30+

github/deemru/w8io/fabc49c 
14.53 ms