tx · AEomJnxmqr64SiE1V9Ve5h2zkCcv3y1MHLjvWn6E3Rec
3N3evGP2tTeuXuq3iHz13Wrjm7BonuiSMd2: -0.01000000 Waves
2022.12.21 13:16 [2369927] smart account 3N3evGP2tTeuXuq3iHz13Wrjm7BonuiSMd2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "AEomJnxmqr64SiE1V9Ve5h2zkCcv3y1MHLjvWn6E3Rec",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671617811398,
"version": 2,
"chainId": 84,
"sender": "3N3evGP2tTeuXuq3iHz13Wrjm7BonuiSMd2",
"senderPublicKey": "3XEAduJnZeFRL74JfaQk7MgrGDo9a9xREYyfLvyivREU",
"proofs": [
"2sjVxBs2QsPUydfdkZBj4WkrMDxMVGfuaKqVSByr2vANaSqMR1UdauhPkrtW1yCE5L76sXTS8Jiv5xTMknqqSPrg"
],
"script": "base64:BgIMCAISAwoBCBIDCgEIAgAPTUVTU0FHRV9DT1VOVEVSAg9tZXNzYWdlX2NvdW50ZXIADUZPTExPV19TVFJJTkcCB2ZvbGxvd3MCAWkBBmZvbGxvdwEHYWRkcmVzcwQGc2VuZGVyCQClCAEIBQFpBmNhbGxlcgQJZm9sbG93S2V5CQCsAgIJAKwCAgkArAICCQCsAgIFBnNlbmRlcgIBXwUNRk9MTE9XX1NUUklORwIBXwUHYWRkcmVzcwkAzAgCCQEMQm9vbGVhbkVudHJ5AgUJZm9sbG93S2V5BgUDbmlsAWkBBXR3ZWV0AQdtZXNzYWdlBA5tZXNzYWdlQ291bnRlcgkBEUBleHRyTmF0aXZlKDEwNTApAgUEdGhpcwUPTUVTU0FHRV9DT1VOVEVSBAZzZW5kZXIJAKUIAQgFAWkGY2FsbGVyBAR0eElkCQCwCQEIBQFpDXRyYW5zYWN0aW9uSWQEBm1zZ0tleQkArAICCQCsAgIFBnNlbmRlcgIBXwUEdHhJZAkAzAgCCQELU3RyaW5nRW50cnkCBQZtc2dLZXkFB21lc3NhZ2UJAMwIAgkBDEludGVnZXJFbnRyeQIFD01FU1NBR0VfQ09VTlRFUgkAZAIFDm1lc3NhZ2VDb3VudGVyAAEFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkkYiKD",
"height": 2369927,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 7covVun4yb5d4BHNARbfB95CciN32yrBPR9CAkrMH4YC
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = "message_counter" |
---|
| 5 | + | |
---|
| 6 | + | let b = "follows" |
---|
| 7 | + | |
---|
| 8 | + | @Callable(c) |
---|
| 9 | + | func follow (d) = { |
---|
| 10 | + | let e = toString(c.caller) |
---|
| 11 | + | let f = ((((e + "_") + b) + "_") + d) |
---|
| 12 | + | [BooleanEntry(f, true)] |
---|
| 13 | + | } |
---|
| 14 | + | |
---|
| 15 | + | |
---|
| 16 | + | |
---|
| 17 | + | @Callable(c) |
---|
| 18 | + | func tweet (g) = { |
---|
| 19 | + | let h = getIntegerValue(this, a) |
---|
| 20 | + | let e = toString(c.caller) |
---|
| 21 | + | let i = toUtf8String(c.transactionId) |
---|
| 22 | + | let j = ((e + "_") + i) |
---|
| 23 | + | [StringEntry(j, g), IntegerEntry(a, (h + 1))] |
---|
| 24 | + | } |
---|
| 25 | + | |
---|
| 26 | + | |
---|
| 27 | + | @Verifier(k) |
---|
| 28 | + | func l () = sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey) |
---|
| 29 | + | |
---|