tx · 6xpz7d37bqQjsrEKX1o1qRFQosubEveKhHDgGfnHE5Gc
3MvTsZLYhU4bGijfdULLDAUEiZVryxJVQPJ: -0.01400000 Waves
2023.01.15 03:48 [2405365] smart account 3MvTsZLYhU4bGijfdULLDAUEiZVryxJVQPJ > SELF 0.00000000 Waves
{
"type": 13,
"id": "6xpz7d37bqQjsrEKX1o1qRFQosubEveKhHDgGfnHE5Gc",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1673743769064,
"version": 2,
"chainId": 84,
"sender": "3MvTsZLYhU4bGijfdULLDAUEiZVryxJVQPJ",
"senderPublicKey": "6hSe4di8vdVexXUoSJQ1unZB3n287fgHNBP7PberpTez",
"proofs": [
"3Qd2Khhd7RSykN1xJtsr8giDV3T1S9XJzM2FBWV43utMZpHXH8LFteRYwxCet398saq4LVuQ4moc1xgQPtCPmBpW"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAEAAAAHQ291bnRlcgQAAAAKZ2V0YnRjZGF0YQkBAAAAEUBleHRyTmF0aXZlKDEwNTMpAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAgVKaoONATBQVjHZETve+AnZbyHkYlcF8UpqarvVSvuUsJAAEsAAAAAgIAAAAHMW1fYnRjXwkAAaQAAAABBQAAAAdDb3VudGVyBAAAAAZzd2FwTGkJAAS1AAAAAgUAAAAKZ2V0YnRjZGF0YQIAAAABXwQAAAAFcHJpY2UJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAAABAAAAAR0aW1lCQABkQAAAAIFAAAABnN3YXBMaQAAAAAAAAAAAQQAAAALYmxvY2toZWlnaHQJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAACBAAAAANkaXYJAAGRAAAAAgUAAAAGc3dhcExpAAAAAAAAAAADCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABXByaWNlCQABkQAAAAIFAAAABnN3YXBMaQAAAAAAAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAR0aW1lCQABkQAAAAIFAAAABnN3YXBMaQAAAAAAAAAAAQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAtibG9ja2hlaWdodAkAAZEAAAACBQAAAAZzd2FwTGkAAAAAAAAAAAIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAADZGl2CQABkQAAAAIFAAAABnN3YXBMaQAAAAAAAAAAAwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlMje1n",
"height": 2405365,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Hn8dvG2pDLuGiB6ovb8tzmt8jGFPQWTKQNPEAmm6bVax
Next: HmU4v35aw1xQKrN28EczbjnRQKfajb5SrZaVbc3LGFK6
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func call (Counter) = { |
---|
8 | | - | let getbtcdata = getStringValue(addressFromPublicKey(base58'6hSe4di8vdVexXUoSJQ1unZB3n287fgHNBP7PberpTez'), ("1m_btc" + toString(Counter))) |
---|
| 8 | + | let getbtcdata = getStringValue(addressFromPublicKey(base58'6hSe4di8vdVexXUoSJQ1unZB3n287fgHNBP7PberpTez'), ("1m_btc_" + toString(Counter))) |
---|
9 | 9 | | let swapLi = split(getbtcdata, "_") |
---|
10 | 10 | | let price = swapLi[0] |
---|
11 | 11 | | let time = swapLi[1] |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func call (Counter) = { |
---|
8 | | - | let getbtcdata = getStringValue(addressFromPublicKey(base58'6hSe4di8vdVexXUoSJQ1unZB3n287fgHNBP7PberpTez'), ("1m_btc" + toString(Counter))) |
---|
| 8 | + | let getbtcdata = getStringValue(addressFromPublicKey(base58'6hSe4di8vdVexXUoSJQ1unZB3n287fgHNBP7PberpTez'), ("1m_btc_" + toString(Counter))) |
---|
9 | 9 | | let swapLi = split(getbtcdata, "_") |
---|
10 | 10 | | let price = swapLi[0] |
---|
11 | 11 | | let time = swapLi[1] |
---|
12 | 12 | | let blockheight = swapLi[2] |
---|
13 | 13 | | let div = swapLi[3] |
---|
14 | 14 | | [StringEntry("price", swapLi[0]), StringEntry("time", swapLi[1]), StringEntry("blockheight", swapLi[2]), StringEntry("div", swapLi[3])] |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | @Verifier(tx) |
---|
19 | 19 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
20 | 20 | | |
---|