tx · 3fma4CCNNreBFyq9zfCW6BG366CyqL2ELzK89QGWDeBD

3MyY8HWSxxH8SLxnBHgYZQh26FVgybkTTp9:  -0.00100000 Waves

2022.07.27 15:17 [2158210] smart account 3MyY8HWSxxH8SLxnBHgYZQh26FVgybkTTp9 > SELF 0.00000000 Waves

{ "type": 13, "id": "3fma4CCNNreBFyq9zfCW6BG366CyqL2ELzK89QGWDeBD", "fee": 100000, "feeAssetId": null, "timestamp": 1658924239580, "version": 2, "chainId": 84, "sender": "3MyY8HWSxxH8SLxnBHgYZQh26FVgybkTTp9", "senderPublicKey": "69whdb3wz2NxWkDP633fGFWMnqmhZSDPJ5ThCu3x47jU", "proofs": [ "467Hhy4LMEEuHTPWTzNJtf8sqkSahJinHdMuWAraHXDzMU7NdThLqR2hBDUuKzgd9u69btByqHnJBu1av57VLifi" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAgEAAAAKbGF6eUlzR29vZAAAAAAEAAAAAWECAAAAA0JvYgQAAAABYgQAAAABeAAAAAAAAAAAAQIAAAAFQWxpY2UGAQAAAApnZXRQYXltZW50AAAAAQAAAAFpAwkAAAAAAAACCQABkAAAAAEIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAACQAAAgAAAAECAAAAGFBheW1lbnQgbXVzdCBiZSBhdHRhY2hlZAQAAAADcG10CQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAACdUaGlzIGZ1bmN0aW9uIGFjY2VwdHMgV0FWRVMgdG9rZW5zIG9ubHkIBQAAAANwbXQAAAAGYW1vdW50AAAAAQAAAAFpAQAAAANwYXkAAAAABAAAAAZhbW91bnQJAQAAAApnZXRQYXltZW50AAAAAQUAAAABaQkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMFAAAABmFtb3VudAUAAAADbmlsBQAAAAR1bml0AAAAAMG2hrA=", "height": 2158210, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8CDSkyELmkU1XYj2dohrxU4LpKh4dwJS9688Z9eR5QJf Next: 5UQ78zBbgLvtCfq8SBxWMJLUsKBn9kasdGgGQtPUhtNF Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func lazyIsGood () = {
5+ let a = "Bob"
6+ let b = {
7+ let x = 1
8+ "Alice"
9+ }
10+ true
11+ }
12+
13+
414 func getPayment (i) = if ((size(i.payments) == 0))
515 then throw("Payment must be attached")
616 else {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+func lazyIsGood () = {
5+ let a = "Bob"
6+ let b = {
7+ let x = 1
8+ "Alice"
9+ }
10+ true
11+ }
12+
13+
414 func getPayment (i) = if ((size(i.payments) == 0))
515 then throw("Payment must be attached")
616 else {
717 let pmt = i.payments[0]
818 if (isDefined(pmt.assetId))
919 then throw("This function accepts WAVES tokens only")
1020 else pmt.amount
1121 }
1222
1323
1424 @Callable(i)
1525 func pay () = {
1626 let amount = getPayment(i)
1727 $Tuple2([IntegerEntry(toBase58String(i.caller.bytes), amount)], unit)
1828 }
1929
2030

github/deemru/w8io/169f3d6 
33.61 ms