tx · 7DFUQU3cypricrP99TDAtdo3dHXzFMJSK1cRPasMZH2M
3NBAHhwWxJHrkzHBWJvybsbM9zrzn5HDUkk: -0.00100000 Waves
2022.08.23 23:27 [2197606] smart account 3NBAHhwWxJHrkzHBWJvybsbM9zrzn5HDUkk > SELF 0.00000000 Waves
{
"type": 13,
"id": "7DFUQU3cypricrP99TDAtdo3dHXzFMJSK1cRPasMZH2M",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1661286480817,
"version": 2,
"chainId": 84,
"sender": "3NBAHhwWxJHrkzHBWJvybsbM9zrzn5HDUkk",
"senderPublicKey": "71vKvkrqbCGi8BPvzZBvuEB6ngcbMiXHHc5JwWse8WA8",
"proofs": [
"oveKNXYsVP4EL13TWd3koh2RpMhqkdUYxRT4Y4k7SeQgNpUTSmGXGDiygZ3YjUXd3FLwgABpW77c7W4CQwcZcnw"
],
"script": "base64:BgIaCAISBAoCCAgSBAoCCAgSBAoCCAgSBAoCCAIABAZpbnZva2UBBXRlc3QxAgdrZXlQcm9wCXZhbHVlUHJvcAkAlAoCCQDMCAIJAQtTdHJpbmdFbnRyeQIFB2tleVByb3AFCXZhbHVlUHJvcAUDbmlsBQR1bml0Bmludm9rZQEFdGVzdDICB2tleVByb3AJdmFsdWVQcm9wCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgUHa2V5UHJvcAkArAICCQCsAgIJAKQDAQkAsQIBBQl2YWx1ZVByb3ACASAJAKQDAQUGaGVpZ2h0BQNuaWwFBHVuaXQGaW52b2tlAQV0ZXN0MwIHa2V5UHJvcAl2YWx1ZVByb3AJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCBQdrZXlQcm9wCQCRAwIJALUJAgUJdmFsdWVQcm9wAgEuAAAFA25pbAUEdW5pdAZpbnZva2UBBXRlc3Q0AglhbGlhc1Byb3AHYXNzZXRJZAQFYWxpYXMJAQVBbGlhcwEFCWFsaWFzUHJvcAkAlAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgN0dHQJAPAHAgkApAgBBQVhbGlhcwUHYXNzZXRJZAUDbmlsBQR1bml0APwVYGQ=",
"height": 2197606,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DAQeZnn2CAhQtGRL5Q54pPfFrt9LSrVPcgK5jQ4Dp62s
Next: HtMG7YkHjHWS2PRv44EvxBDmNfh9FCcfxmozci8QU6ds
Diff:
Old | New | | Differences |
---|
17 | 17 | | func test3 (keyProp,valueProp) = $Tuple2([StringEntry(keyProp, split(valueProp, ".")[0])], unit) |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
| 20 | + | |
---|
| 21 | + | @Callable(invoke) |
---|
| 22 | + | func test4 (aliasProp,assetId) = { |
---|
| 23 | + | let alias = Alias(aliasProp) |
---|
| 24 | + | $Tuple2([IntegerEntry("ttt", assetBalance(addressFromRecipient(alias), assetId))], unit) |
---|
| 25 | + | } |
---|
| 26 | + | |
---|
| 27 | + | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(invoke) |
---|
7 | 7 | | func test1 (keyProp,valueProp) = $Tuple2([StringEntry(keyProp, valueProp)], unit) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
11 | 11 | | @Callable(invoke) |
---|
12 | 12 | | func test2 (keyProp,valueProp) = $Tuple2([StringEntry(keyProp, ((toString(size(valueProp)) + " ") + toString(height)))], unit) |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Callable(invoke) |
---|
17 | 17 | | func test3 (keyProp,valueProp) = $Tuple2([StringEntry(keyProp, split(valueProp, ".")[0])], unit) |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
| 20 | + | |
---|
| 21 | + | @Callable(invoke) |
---|
| 22 | + | func test4 (aliasProp,assetId) = { |
---|
| 23 | + | let alias = Alias(aliasProp) |
---|
| 24 | + | $Tuple2([IntegerEntry("ttt", assetBalance(addressFromRecipient(alias), assetId))], unit) |
---|
| 25 | + | } |
---|
| 26 | + | |
---|
| 27 | + | |
---|