tx · BfL7ySnDtgtEnmZSknfGFekhxwVwyuQg5HGDT6JYbd8T
3MqbTfLJ5nrYh6fUbS38Hfpe6T8MP5K5HiT: -0.01400000 Waves
2020.07.10 09:38 [1080805] smart account 3MqbTfLJ5nrYh6fUbS38Hfpe6T8MP5K5HiT > SELF 0.00000000 Waves
{
"type": 13,
"id": "BfL7ySnDtgtEnmZSknfGFekhxwVwyuQg5HGDT6JYbd8T",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1594363189714,
"version": 1,
"sender": "3MqbTfLJ5nrYh6fUbS38Hfpe6T8MP5K5HiT",
"senderPublicKey": "EzWkAi3pMjNqjjV3PpJiHWrButTm4aorR4p173qwdGeL",
"proofs": [
"y5bbTtYDp9PAez8yxfkpKT7vc3NQX5zuGRaSkUEy8gzGGGrqTy13jp59AuaBuoB2Dxm9XbcrYhRbYXqAHJ5YSB2"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAIc2F2ZURhdGEAAAABAAAAA2FyZwMJAAAAAAAAAgUAAAADYXJnAgAAAAR0ZXN0CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAC3Rlc3Rfc3RyaW5nBQAAAANuaWwJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAAPbm90X3Rlc3Rfc3RyaW5nBQAAAANuaWwAAAAA7SoF6A==",
"chainId": 84,
"height": 1080805,
"spentComplexity": 0
}
View: original | compacted
Prev: F4kdfzPnFAu9LWFhYupmH1VA412EffEqKzc5CFN2g6mt
Next: HiBFdABg6bBKwTh6QGg9w5i1jsn4wvrZgcSSus6vjcro
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func saveData (arg) = WriteSet([DataEntry(toBase58String(i.caller.bytes), arg)]) |
---|
| 7 | + | func saveData (arg) = if ((arg == "test")) |
---|
| 8 | + | then WriteSet([DataEntry(toBase58String(i.caller.bytes), "test_string")]) |
---|
| 9 | + | else WriteSet([DataEntry(toBase58String(i.caller.bytes), "not_test_string")]) |
---|
8 | 10 | | |
---|
9 | 11 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func saveData (arg) = WriteSet([DataEntry(toBase58String(i.caller.bytes), arg)]) |
---|
| 7 | + | func saveData (arg) = if ((arg == "test")) |
---|
| 8 | + | then WriteSet([DataEntry(toBase58String(i.caller.bytes), "test_string")]) |
---|
| 9 | + | else WriteSet([DataEntry(toBase58String(i.caller.bytes), "not_test_string")]) |
---|
8 | 10 | | |
---|
9 | 11 | | |
---|