tx · EFejbFENusveLWbRkdZuNkUxbHHmioE6CkfrAfP3nixu

3MqRnEd83AoPWjTCHP2PVpFpWg6KbBPCJyo:  -0.01500000 Waves

2019.09.08 13:53 [667003] smart account 3MqRnEd83AoPWjTCHP2PVpFpWg6KbBPCJyo > SELF 0.00000000 Waves

{ "type": 13, "id": "EFejbFENusveLWbRkdZuNkUxbHHmioE6CkfrAfP3nixu", "fee": 1500000, "feeAssetId": null, "timestamp": 1567939994057, "version": 1, "sender": "3MqRnEd83AoPWjTCHP2PVpFpWg6KbBPCJyo", "senderPublicKey": "C1VF5w6S6GzcSydWsAbL2czedDrjFAPUeyZ5HknvisxJ", "proofs": [ "6muaimrWoMY7sU31eKb5a5N9GbBfdSq3rp8qx9yK5QgcNgqnAeYpESMvQJRLfRcd5TGpcNqg33XoVXaCMuTrz6M" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAAZ0ZWxsbWUAAAAABAAAAA1jYWxsZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABW15YWRyCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAECAAAAIzNOQWNvZVdkVVRXbjhjc1hKUEc0N3YxRmp0amNmcXhiNXR1BAAAAA9jb3JyZWN0UHJpY2VCVEMEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAFbXlhZHICAAAAC3dhdmVzX2J0Y184AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAAD2NvcnJlY3RQcmljZVVTRAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAVteWFkcgIAAAALd2F2ZXNfdXNkXzIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAA1jYWxsZXJBZGRyZXNzAgAAAARfQlRDBQAAAA9jb3JyZWN0UHJpY2VCVEMJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAANY2FsbGVyQWRkcmVzcwIAAAAEX1VTRAUAAAAPY29ycmVjdFByaWNlVVNEBQAAAANuaWwAAAAAqYGwug==", "chainId": 84, "height": 667003, "spentComplexity": 0 } View: original | compacted Prev: 7DRkYGZQ6KW7S1uMiX2tBzKD1zGsq5umwjQ3eDYUs1gS Next: G33SqMQNLwvpDeF2SYmk9g6r4LFJA6KHuYWCPAhe1cWw Diff:
OldNewDifferences
1616 }
1717 else 0
1818 }
19- WriteSet([DataEntry((b + "_BTC"), d)])
19+ let g = {
20+ let e = getInteger(c, "waves_usd_2")
21+ if ($isInstanceOf(e, "Int"))
22+ then {
23+ let f = e
24+ f
25+ }
26+ else 0
27+ }
28+ WriteSet([DataEntry((b + "_BTC"), d), DataEntry((b + "_USD"), g)])
2029 }
2130
2231
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func tellme () = {
88 let b = toBase58String(a.caller.bytes)
99 let c = addressFromStringValue("3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu")
1010 let d = {
1111 let e = getInteger(c, "waves_btc_8")
1212 if ($isInstanceOf(e, "Int"))
1313 then {
1414 let f = e
1515 f
1616 }
1717 else 0
1818 }
19- WriteSet([DataEntry((b + "_BTC"), d)])
19+ let g = {
20+ let e = getInteger(c, "waves_usd_2")
21+ if ($isInstanceOf(e, "Int"))
22+ then {
23+ let f = e
24+ f
25+ }
26+ else 0
27+ }
28+ WriteSet([DataEntry((b + "_BTC"), d), DataEntry((b + "_USD"), g)])
2029 }
2130
2231

github/deemru/w8io/169f3d6 
45.93 ms