tx · PRE32GEqXMQr7GJyVYC7jyCJ8LsECErPzpFrT6inoiv

3N3evGP2tTeuXuq3iHz13Wrjm7BonuiSMd2:  -0.05000000 Waves

2022.12.21 14:06 [2369970] smart account 3N3evGP2tTeuXuq3iHz13Wrjm7BonuiSMd2 > SELF 0.00000000 Waves

{ "type": 13, "id": "PRE32GEqXMQr7GJyVYC7jyCJ8LsECErPzpFrT6inoiv", "fee": 5000000, "feeAssetId": null, "timestamp": 1671620837981, "version": 2, "chainId": 84, "sender": "3N3evGP2tTeuXuq3iHz13Wrjm7BonuiSMd2", "senderPublicKey": "3XEAduJnZeFRL74JfaQk7MgrGDo9a9xREYyfLvyivREU", "proofs": [ "5BfxN3KbkDAurSnTQwP8gA8JDWK5MuYmxHGtkGtKAc6vp28csQVcYXNdvHaehW4haagbtn6K8zvZzSTmxciqZwer" ], "script": "base64:BgIRCAISAwoBCBIDCgEIEgMKAQgDAA9NRVNTQUdFX0NPVU5URVICD21lc3NhZ2VfY291bnRlcgANRk9MTE9XX1NUUklORwIHZm9sbG93cwERZ2V0TWVzc2FnZUNvdW50ZXIACQELdmFsdWVPckVsc2UCCQCfCAEFD01FU1NBR0VfQ09VTlRFUgAAAwFpAQZmb2xsb3cBB2FkZHJlc3MEBnNlbmRlcgkApQgBCAUBaQZjYWxsZXIECWZvbGxvd0tleQkArAICCQCsAgIJAKwCAgkArAICBQZzZW5kZXICAV8FDUZPTExPV19TVFJJTkcCAV8FB2FkZHJlc3MJAMwIAgkBDEJvb2xlYW5FbnRyeQIFCWZvbGxvd0tleQYFA25pbAFpAQh1bmZvbGxvdwEHYWRkcmVzcwQGc2VuZGVyCQClCAEIBQFpBmNhbGxlcgQJZm9sbG93S2V5CQCsAgIJAKwCAgkArAICCQCsAgIFBnNlbmRlcgIBXwUNRk9MTE9XX1NUUklORwIBXwUHYWRkcmVzcwkAzAgCCQELRGVsZXRlRW50cnkBBQlmb2xsb3dLZXkFA25pbAFpAQV0d2VldAEHbWVzc2FnZQQObWVzc2FnZUNvdW50ZXIJARFnZXRNZXNzYWdlQ291bnRlcgAEBnNlbmRlcgkApQgBCAUBaQZjYWxsZXIEBHR4SWQJANgEAQgFAWkNdHJhbnNhY3Rpb25JZAQGbXNnS2V5CQCsAgIJAKwCAgUGc2VuZGVyAgFfBQR0eElkCQDMCAIJAQtTdHJpbmdFbnRyeQIFBm1zZ0tleQUHbWVzc2FnZQkAzAgCCQEMSW50ZWdlckVudHJ5AgUPTUVTU0FHRV9DT1VOVEVSCQBkAgUObWVzc2FnZUNvdW50ZXIAAQUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleVVApJI=", "height": 2369970, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Bx9ht7EedCbdEBnDNhhKnPhCWw6ZrL6DHLWpu5Rb59J3 Next: CLpirwaS6k9K9CEqrFDHbYCGdK9RGZCFQkp5FM5ELsC9 Diff:
OldNewDifferences
1313 let f = toString(d.caller)
1414 let g = ((((f + "_") + b) + "_") + e)
1515 [BooleanEntry(g, true)]
16+ }
17+
18+
19+
20+@Callable(d)
21+func unfollow (e) = {
22+ let f = toString(d.caller)
23+ let g = ((((f + "_") + b) + "_") + e)
24+[DeleteEntry(g)]
1625 }
1726
1827
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "message_counter"
55
66 let b = "follows"
77
88 func c () = valueOrElse(getInteger(a), 0)
99
1010
1111 @Callable(d)
1212 func follow (e) = {
1313 let f = toString(d.caller)
1414 let g = ((((f + "_") + b) + "_") + e)
1515 [BooleanEntry(g, true)]
16+ }
17+
18+
19+
20+@Callable(d)
21+func unfollow (e) = {
22+ let f = toString(d.caller)
23+ let g = ((((f + "_") + b) + "_") + e)
24+[DeleteEntry(g)]
1625 }
1726
1827
1928
2029 @Callable(d)
2130 func tweet (h) = {
2231 let i = c()
2332 let f = toString(d.caller)
2433 let j = toBase58String(d.transactionId)
2534 let k = ((f + "_") + j)
2635 [StringEntry(k, h), IntegerEntry(a, (i + 1))]
2736 }
2837
2938
3039 @Verifier(l)
3140 func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey)
3241

github/deemru/w8io/169f3d6 
21.85 ms