tx · 2atFVpjRqHrHdoPc1DJiJLWiVoF58QbbGe4FMjKbRTsT
3NC7GJvfMCykyTMSe9KU2rJmVygk1fzzKpC: -0.00100000 Waves
2024.10.08 14:02 [3317755] smart account 3NC7GJvfMCykyTMSe9KU2rJmVygk1fzzKpC > SELF 0.00000000 Waves
{
"type": 13,
"id": "2atFVpjRqHrHdoPc1DJiJLWiVoF58QbbGe4FMjKbRTsT",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1728385391617,
"version": 1,
"sender": "3NC7GJvfMCykyTMSe9KU2rJmVygk1fzzKpC",
"senderPublicKey": "BNrrKkZSXXCbcCtXLT3VMQnSAJt2jt8TLnZWaB5US3Ci",
"proofs": [
"46zNjRkyptkHZpyLmWht62YGBVz55zAWCUnWatvdLaNqsncU6zw6N5D62DJB7463c2pU6VYwgzDVH26cd6ACH17Y"
],
"script": "base64:BwIJCAISABIDCgEIAAIBaQEGZm9vYmFyAAQLc3RyaW5nVmFsdWUJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwIJc3RyaW5nS2V5AgZ4eXphYmMEA2ZvbwkArwICBQtzdHJpbmdWYWx1ZQADCQCUCgIJAMwIAgkBDEJvb2xlYW5FbnRyeQICBGtleTEJAAACBQNmb28CA2FiYwkAzAgCCQELU3RyaW5nRW50cnkCAgRrZXkyBQNmb28JAMwIAgkBC1N0cmluZ0VudHJ5AgIJc3RyaW5nS2V5AgZhYmNkZWYFA25pbAkA/AcEBQR0aGlzAgNiYXoJAMwIAgUDZm9vBQNuaWwFA25pbAFpAQNiYXoBCXN0cmluZ0FyZwkAzAgCCQELU3RyaW5nRW50cnkCAgRrZXkzBQlzdHJpbmdBcmcFA25pbAA1hB/K",
"chainId": 84,
"height": 3317755,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3hpsYCLaatigf1vAangV5Ez418TKtPe6KrdzRqfoWRqZ
Next: ChfPyEo3ji1jaJ2DtNPNsnE3HySnggE3js7TiVg8D6Ji
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func foobar () = { |
---|
8 | | - | let stringValue = "abcdef" |
---|
| 8 | + | let stringValue = valueOrElse(getString(this, "stringKey"), "xyzabc") |
---|
9 | 9 | | let foo = take(stringValue, 3) |
---|
10 | | - | $Tuple2([BooleanEntry("key1", (foo == "abc")), StringEntry("key2", foo)], invoke(this, "baz", [foo], nil)) |
---|
| 10 | + | $Tuple2([BooleanEntry("key1", (foo == "abc")), StringEntry("key2", foo), StringEntry("stringKey", "abcdef")], invoke(this, "baz", [foo], nil)) |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 7 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func foobar () = { |
---|
8 | | - | let stringValue = "abcdef" |
---|
| 8 | + | let stringValue = valueOrElse(getString(this, "stringKey"), "xyzabc") |
---|
9 | 9 | | let foo = take(stringValue, 3) |
---|
10 | | - | $Tuple2([BooleanEntry("key1", (foo == "abc")), StringEntry("key2", foo)], invoke(this, "baz", [foo], nil)) |
---|
| 10 | + | $Tuple2([BooleanEntry("key1", (foo == "abc")), StringEntry("key2", foo), StringEntry("stringKey", "abcdef")], invoke(this, "baz", [foo], nil)) |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | 16 | | func baz (stringArg) = [StringEntry("key3", stringArg)] |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|