tx · HtMG7YkHjHWS2PRv44EvxBDmNfh9FCcfxmozci8QU6ds
3NBAHhwWxJHrkzHBWJvybsbM9zrzn5HDUkk: -0.00100000 Waves
2022.08.23 23:50 [2197628] smart account 3NBAHhwWxJHrkzHBWJvybsbM9zrzn5HDUkk > SELF 0.00000000 Waves
{
"type": 13,
"id": "HtMG7YkHjHWS2PRv44EvxBDmNfh9FCcfxmozci8QU6ds",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1661287890641,
"version": 2,
"chainId": 84,
"sender": "3NBAHhwWxJHrkzHBWJvybsbM9zrzn5HDUkk",
"senderPublicKey": "71vKvkrqbCGi8BPvzZBvuEB6ngcbMiXHHc5JwWse8WA8",
"proofs": [
"8QwYacDwxLAPz3cnKHQk3Q4MxXMXDBkxuvu2MiYfCxgbgNZy925Lpfc3oNP94Qij9w9quVbz3ENba7226vCsiLF"
],
"script": "base64:BgIaCAISBAoCCAgSBAoCCAgSBAoCCAgSBAoCCAIABAZpbnZva2UBBXRlc3QxAgdrZXlQcm9wCXZhbHVlUHJvcAkAlAoCCQDMCAIJAQtTdHJpbmdFbnRyeQIFB2tleVByb3AFCXZhbHVlUHJvcAUDbmlsBQR1bml0Bmludm9rZQEFdGVzdDICB2tleVByb3AJdmFsdWVQcm9wCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgUHa2V5UHJvcAkArAICCQCsAgIJAKQDAQkAsQIBBQl2YWx1ZVByb3ACASAJAKQDAQUGaGVpZ2h0BQNuaWwFBHVuaXQGaW52b2tlAQV0ZXN0MwIHa2V5UHJvcAl2YWx1ZVByb3AJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCBQdrZXlQcm9wCQCRAwIJALUJAgUJdmFsdWVQcm9wAgEuAAAFA25pbAUEdW5pdAZpbnZva2UBBXRlc3Q0AglhbGlhc1Byb3AHYXNzZXRJZAQFYWxpYXMJAQVBbGlhcwEFCWFsaWFzUHJvcAQBZgkA7wcBBQR0aGlzCQCUCgIJAMwIAgkBDEludGVnZXJFbnRyeQICA3R0dAkA8AcCCQCkCAEFBWFsaWFzBQdhc3NldElkCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgdibHdhdmVzCAUBZglhdmFpbGFibGUFA25pbAUEdW5pdABuOWT9",
"height": 2197628,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7DFUQU3cypricrP99TDAtdo3dHXzFMJSK1cRPasMZH2M
Next: none
Diff:
Old | New | | Differences |
---|
21 | 21 | | @Callable(invoke) |
---|
22 | 22 | | func test4 (aliasProp,assetId) = { |
---|
23 | 23 | | let alias = Alias(aliasProp) |
---|
24 | | - | $Tuple2([IntegerEntry("ttt", assetBalance(addressFromRecipient(alias), assetId))], unit) |
---|
| 24 | + | let f = wavesBalance(this) |
---|
| 25 | + | $Tuple2([IntegerEntry("ttt", assetBalance(addressFromRecipient(alias), assetId)), IntegerEntry("blwaves", f.available)], unit) |
---|
25 | 26 | | } |
---|
26 | 27 | | |
---|
27 | 28 | | |
---|
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 | 20 | | |
---|
21 | 21 | | @Callable(invoke) |
---|
22 | 22 | | func test4 (aliasProp,assetId) = { |
---|
23 | 23 | | let alias = Alias(aliasProp) |
---|
24 | | - | $Tuple2([IntegerEntry("ttt", assetBalance(addressFromRecipient(alias), assetId))], unit) |
---|
| 24 | + | let f = wavesBalance(this) |
---|
| 25 | + | $Tuple2([IntegerEntry("ttt", assetBalance(addressFromRecipient(alias), assetId)), IntegerEntry("blwaves", f.available)], unit) |
---|
25 | 26 | | } |
---|
26 | 27 | | |
---|
27 | 28 | | |
---|