tx · ArbuQpGVzN7qbX8C5Nfc2BmGyLHp6ZoFR1mfnjYHCngf
3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.00100000 Waves
2023.11.09 15:26 [2835807] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{
"type": 13,
"id": "ArbuQpGVzN7qbX8C5Nfc2BmGyLHp6ZoFR1mfnjYHCngf",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1699532815078,
"version": 2,
"chainId": 84,
"sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez",
"senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf",
"proofs": [
"2PfhSJWyADN1BshdEVS4uyczc43xNbxnDLi6cQrmDYhRYNch7bHmhwDMecTZLNmuzCshBsrdR21nDUWHE2FUDg7"
],
"script": "base64:BgIECAISAAIBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDHRyeUdldFN0cmluZwEDa2V5BAckbWF0Y2gwCQCdCAIFBHRoaXMFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWIFByRtYXRjaDAFAWICAAEBaQEIcmVnaXN0ZXIACQDMCAIJAQxJbnRlZ2VyRW50cnkCAhFBbW91bnQgUmVnaXN0ZXJlZAkAZAIJAQ10cnlHZXRJbnRlZ2VyAQIRQW1vdW50IFJlZ2lzdGVyZWQAAQkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgICElJlZ2lzdGVyIGFkZHJlc3M6IAkApAMBCQBkAgkBDXRyeUdldEludGVnZXIBAhFBbW91bnQgUmVnaXN0ZXJlZAABCQClCAEIBQFpBmNhbGxlcgkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJAKUIAQgFAWkGY2FsbGVyAhJBZGRyZXNzIHJlZ2lzdGVyZWQJAKUIAQgFAWkGY2FsbGVyBQNuaWwA0BgZMg==",
"height": 2835807,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6wt8HkEaoY6Jg2sUwNatpiX5v8cB8Q4XP9kRRXXQgq5j
Next: 7e3xGWG2gi1bCHtMhstNHtkEgkj9WNLQv3hECsuK6NzD
Diff:
Old | New | | Differences |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(i) |
---|
21 | | - | func register () = [IntegerEntry("Amount Registered", (tryGetInteger("Amount Registered") + 1)), StringEntry(("Register address" + toString((tryGetInteger("Amount Registered") + 1))), toString(i.caller)), StringEntry((toString(i.caller) + "Address registered"), toString(i.caller))] |
---|
| 21 | + | func register () = [IntegerEntry("Amount Registered", (tryGetInteger("Amount Registered") + 1)), StringEntry(("Register address: " + toString((tryGetInteger("Amount Registered") + 1))), toString(i.caller)), StringEntry((toString(i.caller) + "Address registered"), toString(i.caller))] |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func tryGetInteger (key) = match getInteger(this, key) { |
---|
5 | 5 | | case b: Int => |
---|
6 | 6 | | b |
---|
7 | 7 | | case _ => |
---|
8 | 8 | | 0 |
---|
9 | 9 | | } |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | func tryGetString (key) = match getString(this, key) { |
---|
13 | 13 | | case b: String => |
---|
14 | 14 | | b |
---|
15 | 15 | | case _ => |
---|
16 | 16 | | "" |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(i) |
---|
21 | | - | func register () = [IntegerEntry("Amount Registered", (tryGetInteger("Amount Registered") + 1)), StringEntry(("Register address" + toString((tryGetInteger("Amount Registered") + 1))), toString(i.caller)), StringEntry((toString(i.caller) + "Address registered"), toString(i.caller))] |
---|
| 21 | + | func register () = [IntegerEntry("Amount Registered", (tryGetInteger("Amount Registered") + 1)), StringEntry(("Register address: " + toString((tryGetInteger("Amount Registered") + 1))), toString(i.caller)), StringEntry((toString(i.caller) + "Address registered"), toString(i.caller))] |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|