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