tx · ChfPyEo3ji1jaJ2DtNPNsnE3HySnggE3js7TiVg8D6Ji
3NC7GJvfMCykyTMSe9KU2rJmVygk1fzzKpC: -0.00100000 Waves
2024.10.08 14:03 [3317756] smart account 3NC7GJvfMCykyTMSe9KU2rJmVygk1fzzKpC > SELF 0.00000000 Waves
{
"type": 13,
"id": "ChfPyEo3ji1jaJ2DtNPNsnE3HySnggE3js7TiVg8D6Ji",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1728385493020,
"version": 1,
"sender": "3NC7GJvfMCykyTMSe9KU2rJmVygk1fzzKpC",
"senderPublicKey": "BNrrKkZSXXCbcCtXLT3VMQnSAJt2jt8TLnZWaB5US3Ci",
"proofs": [
"2Vzc3BUPCbBddyA1C7Dn2vvSDBBFLtScSnUrL9y4VrfCRTFfHRiemnjKAtuJFgF9i6gox3xdjBvpqKsbz8FVXvxn"
],
"script": "base64:BwIJCAISABIDCgEYAAIBaQEGZm9vYmFyAAQLc3RyaW5nVmFsdWUJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwIJc3RyaW5nS2V5AgZ4eXphYmMEA2ZvbwkArwICBQtzdHJpbmdWYWx1ZQADCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgIJc3RyaW5nS2V5AgZhYmNkZWYFA25pbAkA/AcEBQR0aGlzAgNiYXoJAMwIAgkAzAgCBQNmb28FA25pbAUDbmlsBQNuaWwBaQEDYmF6AQlzdHJpbmdBcmcJAMwIAgkBC1N0cmluZ0VudHJ5AgIEa2V5MwkAkQMCBQlzdHJpbmdBcmcAAAUDbmlsACqQneA=",
"chainId": 84,
"height": 3317756,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2atFVpjRqHrHdoPc1DJiJLWiVoF58QbbGe4FMjKbRTsT
Next: 5tKNBE8ghut89tnUknQPTcWWGEkUfKCXRb5syRtUFZRx
Diff:
Old | New | | Differences |
---|
7 | 7 | | func foobar () = { |
---|
8 | 8 | | let stringValue = valueOrElse(getString(this, "stringKey"), "xyzabc") |
---|
9 | 9 | | let foo = take(stringValue, 3) |
---|
10 | | - | $Tuple2([BooleanEntry("key1", (foo == "abc")), StringEntry("key2", foo), StringEntry("stringKey", "abcdef")], invoke(this, "baz", [foo], nil)) |
---|
| 10 | + | $Tuple2([StringEntry("stringKey", "abcdef")], invoke(this, "baz", [[foo]], nil)) |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | | - | func baz (stringArg) = [StringEntry("key3", stringArg)] |
---|
| 16 | + | func baz (stringArg) = [StringEntry("key3", stringArg[0])] |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
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 | 8 | | let stringValue = valueOrElse(getString(this, "stringKey"), "xyzabc") |
---|
9 | 9 | | let foo = take(stringValue, 3) |
---|
10 | | - | $Tuple2([BooleanEntry("key1", (foo == "abc")), StringEntry("key2", foo), StringEntry("stringKey", "abcdef")], invoke(this, "baz", [foo], nil)) |
---|
| 10 | + | $Tuple2([StringEntry("stringKey", "abcdef")], invoke(this, "baz", [[foo]], nil)) |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | | - | func baz (stringArg) = [StringEntry("key3", stringArg)] |
---|
| 16 | + | func baz (stringArg) = [StringEntry("key3", stringArg[0])] |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|