tx · 2pUwbrsRqBuywErVUbHH9NcaKnw1kmzqNg7U6B2vxsfY

3MwLcJy3MSb2kq6dUaUR5uBgm8zCKZMjz2S:  -0.01400000 Waves

2021.03.26 21:34 [1455077] smart account 3MwLcJy3MSb2kq6dUaUR5uBgm8zCKZMjz2S > SELF 0.00000000 Waves

{ "type": 13, "id": "2pUwbrsRqBuywErVUbHH9NcaKnw1kmzqNg7U6B2vxsfY", "fee": 1400000, "feeAssetId": null, "timestamp": 1616783682648, "version": 2, "chainId": 84, "sender": "3MwLcJy3MSb2kq6dUaUR5uBgm8zCKZMjz2S", "senderPublicKey": "CgByewRUvLk7UtWSfRMLSYw4Ap2wT5dcdVYKideqDp9M", "proofs": [ "kKUYEYBwcr1QWK7mhrztFpFeZoB1hGR7aomqUt9dcbpPXRsXYynwRWGh4yL5yRNnHgE7Eyb8iiKmqecG5A24CHm" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAACQAAAAAOdG90YWxGZWVFdGhLZXkCAAAADXRvdGFsX2ZlZV9ldGgAAAAADnRvdGFsRmVlVXNkS2V5AgAAAA10b3RhbF9mZWVfdXNkAAAAABJ0b3RhbEZlZUR5enJhcHRLZXkCAAAAEXRvdGFsX2ZlZV9keXpyYXB0AAAAAA1vcmFjbGVBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUvj/uzYkPvAWmBY0l0o79qoW9wh0kW3OWAQAAAAxnZXRGZWVBbW91bnQAAAABAAAABmFtb3VudAQAAAADZmVlCQAAawAAAAMFAAAABmFtb3VudAAAAAAAAAAAAwAAAAAAAAAAZAUAAAADZmVlAQAAAA1nZXRJbnRLZXlEYXRhAAAAAQAAAANrZXkEAAAAAXYJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAAAAAAAABQAAAAF2AQAAAA5nZXRUb3RhbEZlZUV0aAAAAAAJAQAAAA1nZXRJbnRLZXlEYXRhAAAAAQUAAAAOdG90YWxGZWVFdGhLZXkBAAAADmdldFRvdGFsRmVlVXNkAAAAAAkBAAAADWdldEludEtleURhdGEAAAABBQAAAA50b3RhbEZlZVVzZEtleQEAAAASZ2V0VG90YWxGZWVEeXpyYXB0AAAAAAkBAAAADWdldEludEtleURhdGEAAAABBQAAABJ0b3RhbEZlZUR5enJhcHRLZXkAAAABAAAAAWkBAAAABHRlc3QAAAAACQAAAgAAAAECAAAADWhlbGxvLCBzY3JpcHQAAAAAURTUFA==", "height": 1455077, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2aze6aCRWp6PrP1ytWvDywVTVXPWf5TFVxsEy4Fi3gSv Next: ACVEotrYwkso5TiPA5hcEyT2QDcd2SvqDzwvL1RtFWxU Diff:
OldNewDifferences
66 let totalFeeUsdKey = "total_fee_usd"
77
88 let totalFeeDyzraptKey = "total_fee_dyzrapt"
9+
10+let oracleAddress = Address(base58'3N7G2kVtBTh94aEnDHQ9dpi4EdsDxAiDXjB')
911
1012 func getFeeAmount (amount) = {
1113 let fee = fraction(amount, 3, 100)
2830 func getTotalFeeDyzrapt () = getIntKeyData(totalFeeDyzraptKey)
2931
3032
33+@Callable(i)
34+func test () = throw("hello, script")
35+
3136
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let totalFeeEthKey = "total_fee_eth"
55
66 let totalFeeUsdKey = "total_fee_usd"
77
88 let totalFeeDyzraptKey = "total_fee_dyzrapt"
9+
10+let oracleAddress = Address(base58'3N7G2kVtBTh94aEnDHQ9dpi4EdsDxAiDXjB')
911
1012 func getFeeAmount (amount) = {
1113 let fee = fraction(amount, 3, 100)
1214 fee
1315 }
1416
1517
1618 func getIntKeyData (key) = {
1719 let v = valueOrElse(getInteger(this, key), 0)
1820 v
1921 }
2022
2123
2224 func getTotalFeeEth () = getIntKeyData(totalFeeEthKey)
2325
2426
2527 func getTotalFeeUsd () = getIntKeyData(totalFeeUsdKey)
2628
2729
2830 func getTotalFeeDyzrapt () = getIntKeyData(totalFeeDyzraptKey)
2931
3032
33+@Callable(i)
34+func test () = throw("hello, script")
35+
3136

github/deemru/w8io/169f3d6 
38.76 ms