tx · FnQnSg5RcfYwrmNeiQJY3HMmVtbtD9gbLX3ZRA8EhJZZ

3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6:  -0.04000000 Waves

2021.04.21 14:35 [1492166] smart account 3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6 > SELF 0.00000000 Waves

{ "type": 13, "id": "FnQnSg5RcfYwrmNeiQJY3HMmVtbtD9gbLX3ZRA8EhJZZ", "fee": 4000000, "feeAssetId": null, "timestamp": 1619004971399, "version": 2, "chainId": 84, "sender": "3NApHaksvsb9ZLCMrFNmz4AnUpV5EEytdG6", "senderPublicKey": "G6gPQLsHXcXB4mNCeRfD2nra9dBGiPpeXEKYz1oWTzZ1", "proofs": [ "5T6x4LbYM3HC4XUsDCV1pdJuJiYyCSy2VkeNLSnxgt1EDQhuapoqQyeWEnrDyoUEacEVrTwUjdL6yjUFzdc2brdu" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAATZ2V0RGF0YUZyb21DdXN0b21lcgAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEAAAABAAAAAWkBAAAAB2NoZWNrQlQAAAAABAAAAA1rdW5kZW5BZHJlc3NlCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAACXNlYXJjaEtleQIAAAAWdGVzdEV4Y2VsU21hcnRDb250cmFjdAQAAAAIdGVzdERhdGEJAQAAABNnZXREYXRhRnJvbUN1c3RvbWVyAAAAAgUAAAANa3VuZGVuQWRyZXNzZQUAAAAJc2VhcmNoS2V5AwkBAAAAAiE9AAAAAgUAAAAIdGVzdERhdGECAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAp0ZXN0T3V0cHV0AgAAAAxoYXQgZ2VrbGFwcHQFAAAAA25pbAkAAAIAAAABAgAAACBTbWFydENvbnRyYWN0IGhhdCBuaWNodCBnZWtsYXBwdAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgYG11aTZg==", "height": 1492166, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8odmb9wc9a6y7nSBkyKKqRfLKeRkMGbDYEsMDcS4dojD Next: 4v5rC1PinuF6fTaezkJr5txRVLeWCe3iTGqdbPfDw4Qj Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
5-
6-@Callable(a)
7-func checkPH () = {
8- let b = addressFromPublicKey(a.callerPublicKey)
9- let c = {
10- let d = getString(b, "")
11- if ($isInstanceOf(d, "String"))
4+func a (b,c) = {
5+ let d = {
6+ let e = getString(b, c)
7+ if ($isInstanceOf(e, "String"))
128 then {
13- let e = d
14- e
9+ let f = e
10+ f
1511 }
1612 else ""
1713 }
18- if ((c == "halo"))
19- then [ScriptTransfer(b, 1000000, a.feeAssetId)]
20- else throw("nothing to see here")
14+ d
2115 }
2216
2317
24-@Verifier(f)
25-func g () = {
26- let d = f
27- if ($isInstanceOf(d, "DataTransaction"))
18+@Callable(g)
19+func checkBT () = {
20+ let h = addressFromPublicKey(g.callerPublicKey)
21+ let i = "testExcelSmartContract"
22+ let j = a(h, i)
23+ if ((j != ""))
24+ then [StringEntry("testOutput", "hat geklappt")]
25+ else throw("SmartContract hat nicht geklappt")
26+ }
27+
28+
29+@Verifier(k)
30+func l () = {
31+ let e = k
32+ if ($isInstanceOf(e, "DataTransaction"))
2833 then true
29- else if ($isInstanceOf(d, "SetScriptTransaction"))
34+ else if ($isInstanceOf(e, "SetScriptTransaction"))
3035 then true
3136 else true
3237 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-
5-
6-@Callable(a)
7-func checkPH () = {
8- let b = addressFromPublicKey(a.callerPublicKey)
9- let c = {
10- let d = getString(b, "")
11- if ($isInstanceOf(d, "String"))
4+func a (b,c) = {
5+ let d = {
6+ let e = getString(b, c)
7+ if ($isInstanceOf(e, "String"))
128 then {
13- let e = d
14- e
9+ let f = e
10+ f
1511 }
1612 else ""
1713 }
18- if ((c == "halo"))
19- then [ScriptTransfer(b, 1000000, a.feeAssetId)]
20- else throw("nothing to see here")
14+ d
2115 }
2216
2317
24-@Verifier(f)
25-func g () = {
26- let d = f
27- if ($isInstanceOf(d, "DataTransaction"))
18+@Callable(g)
19+func checkBT () = {
20+ let h = addressFromPublicKey(g.callerPublicKey)
21+ let i = "testExcelSmartContract"
22+ let j = a(h, i)
23+ if ((j != ""))
24+ then [StringEntry("testOutput", "hat geklappt")]
25+ else throw("SmartContract hat nicht geklappt")
26+ }
27+
28+
29+@Verifier(k)
30+func l () = {
31+ let e = k
32+ if ($isInstanceOf(e, "DataTransaction"))
2833 then true
29- else if ($isInstanceOf(d, "SetScriptTransaction"))
34+ else if ($isInstanceOf(e, "SetScriptTransaction"))
3035 then true
3136 else true
3237 }
3338

github/deemru/w8io/026f985 
36.67 ms