tx · EPnGs6itYQfqq8bkYaNkFJTRpnaVerVUtmSLuns7qU2C

3Moz6HJhucpFh4V3VScXhd9efei4Curytfj:  -0.01000000 Waves

2023.11.23 19:51 [2856293] smart account 3Moz6HJhucpFh4V3VScXhd9efei4Curytfj > SELF 0.00000000 Waves

{ "type": 13, "id": "EPnGs6itYQfqq8bkYaNkFJTRpnaVerVUtmSLuns7qU2C", "fee": 1000000, "feeAssetId": null, "timestamp": 1700758292510, "version": 2, "chainId": 84, "sender": "3Moz6HJhucpFh4V3VScXhd9efei4Curytfj", "senderPublicKey": "Ec1VLg3r1E7mwHmaNidmoKrFAUJ55UVJFq3J1YKRy5Zm", "proofs": [ "m6s5YjFsHqfPTsU39KAAQHw4BCuZugvpRFDb1yuU1fHXRqGZn8M4TnT15wmWDkZGtdMX7honLFeJXpUcS7GyRif" ], "script": "base64:BgIECAISAAIABEpzb24CJnsndGVzdDEnOiAndmFsdWUxJywgJ3Rlc3QyJzogJ3ZhbHVlMid9AQlwYXJzZUpzb24BBGpzb24EDG1vZGlmaWVkSnNvbgkAsAICBQRqc29uAAEEDW1vZGlmaWVkSnNvbjIJALMCAgUMbW9kaWZpZWRKc29uAAEEBnNwbGl0MQkAtQkCBQ1tb2RpZmllZEpzb24yAgEsBAlrZXlWYWx1ZTEJALUJAgkAkQMCBQZzcGxpdDEAAAIBOgQEa2V5MQkAkQMCBQlrZXlWYWx1ZTEAAAQGdmFsdWUxCQCRAwIFCWtleVZhbHVlMQABBAlrZXlWYWx1ZTIJALUJAgkAkQMCBQZzcGxpdDEAAQIBOgQEa2V5MgkAkQMCBQlrZXlWYWx1ZTIAAAQGdmFsdWUyCQCRAwIFCWtleVZhbHVlMgABCQCUCgIFBnZhbHVlMQUGdmFsdWUyAQFpAQRjYWxsAAQEZGFwcAkA2QQBAiMzTjczZGN2MmprVG9iZFE5VFJMU1g0UHR2cUhianNpS3hpUAQGdmFsdWVzCQEJcGFyc2VKc29uAQUESnNvbgQBegkA/AcECQEHQWRkcmVzcwEFBGRhcHACBGNhbGwFA25pbAUDbmlsAwkBAiE9AgUBegUBegkAAgECE1NvbWV0aGluZyB3ZW50IHdyb24JAMwIAgkBC1N0cmluZ0VudHJ5AgIFVGVzdDMCBVRlc3Q0CQDMCAIJAQtTdHJpbmdFbnRyeQICBVRlc3Q0AgVUZXN0NQkAzAgCCQELU3RyaW5nRW50cnkCAgR2YWwxCAUGdmFsdWVzAl8xCQDMCAIJAQtTdHJpbmdFbnRyeQICBVRlc3Q0CAUGdmFsdWVzAl8yBQNuaWwBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V50nLn9g==", "height": 2856293, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3VdDcf3UtSkhzrP7hJADcYgJdQxNDqj2sQL85P6v9ZqJ Next: 88goykMfZkvVJ6peNwC8jPaQyuHKzcEpHYLqw39eMimj Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let a = "{'test1': 'value1', 'test2': 'value2'}"
45
5-
6-@Callable(a)
7-func call () = {
8- let b = Issue("Asset", "", 1, 0, true, unit, 0)
9- let c = calculateAssetId(b)
10- let d = fromBase58String("3N73dcv2jkTobdQ9TRLSX4PtvqHbjsiKxiP")
11- let e = invoke(Address(d), "call", nil, nil)
12- if ((e != e))
13- then throw("Something went wron")
14- else [StringEntry("Test3", "Test4"), StringEntry("Test4", "Test5")]
6+func b (c) = {
7+ let d = drop(c, 1)
8+ let e = dropRight(d, 1)
9+ let f = split(e, ",")
10+ let g = split(f[0], ":")
11+ let h = g[0]
12+ let i = g[1]
13+ let j = split(f[1], ":")
14+ let k = j[0]
15+ let l = j[1]
16+ $Tuple2(i, l)
1517 }
1618
1719
18-@Verifier(f)
19-func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey)
20+@Callable(m)
21+func call () = {
22+ let n = fromBase58String("3N73dcv2jkTobdQ9TRLSX4PtvqHbjsiKxiP")
23+ let o = b(a)
24+ let p = invoke(Address(n), "call", nil, nil)
25+ if ((p != p))
26+ then throw("Something went wron")
27+ else [StringEntry("Test3", "Test4"), StringEntry("Test4", "Test5"), StringEntry("val1", o._1), StringEntry("Test4", o._2)]
28+ }
29+
30+
31+@Verifier(q)
32+func r () = sigVerify(q.bodyBytes, q.proofs[0], q.senderPublicKey)
2033

github/deemru/w8io/169f3d6 
22.21 ms