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:
Old | New | | Differences |
---|
16 | 16 | | } |
---|
17 | 17 | | else 0 |
---|
18 | 18 | | } |
---|
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)]) |
---|
20 | 29 | | } |
---|
21 | 30 | | |
---|
22 | 31 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func tellme () = { |
---|
8 | 8 | | let b = toBase58String(a.caller.bytes) |
---|
9 | 9 | | let c = addressFromStringValue("3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu") |
---|
10 | 10 | | let d = { |
---|
11 | 11 | | let e = getInteger(c, "waves_btc_8") |
---|
12 | 12 | | if ($isInstanceOf(e, "Int")) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let f = e |
---|
15 | 15 | | f |
---|
16 | 16 | | } |
---|
17 | 17 | | else 0 |
---|
18 | 18 | | } |
---|
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)]) |
---|
20 | 29 | | } |
---|
21 | 30 | | |
---|
22 | 31 | | |
---|