tx · 6nxy6pV64wN1uEwsW8kcvfLaWNMrtFc3QDTygatoeBUo 3MwLcJy3MSb2kq6dUaUR5uBgm8zCKZMjz2S: -0.01400000 Waves 2021.03.26 21:29 [1455071] smart account 3MwLcJy3MSb2kq6dUaUR5uBgm8zCKZMjz2S > SELF 0.00000000 Waves
{ "type": 13, "id": "6nxy6pV64wN1uEwsW8kcvfLaWNMrtFc3QDTygatoeBUo", "fee": 1400000, "feeAssetId": null, "timestamp": 1616783382995, "version": 2, "chainId": 84, "sender": "3MwLcJy3MSb2kq6dUaUR5uBgm8zCKZMjz2S", "senderPublicKey": "CgByewRUvLk7UtWSfRMLSYw4Ap2wT5dcdVYKideqDp9M", "proofs": [ "2x53Y26E6R7Qv9R9QdEojqMAyJ2ajYu7bkQrrbL3gEYsB6PCNfSBP2S7w4qQJg8PNqf4L7g1fWw7wfV7JCYFDiq1" ], "script": "base64:AAIEAAAAAAAAAAIIAgAAAAgAAAAADnRvdGFsRmVlRXRoS2V5AgAAAA10b3RhbF9mZWVfZXRoAAAAAA50b3RhbEZlZVVzZEtleQIAAAANdG90YWxfZmVlX3VzZAAAAAASdG90YWxGZWVEeXpyYXB0S2V5AgAAABF0b3RhbF9mZWVfZHl6cmFwdAEAAAAMZ2V0RmVlQW1vdW50AAAAAQAAAAZhbW91bnQEAAAAA2ZlZQkAAGsAAAADBQAAAAZhbW91bnQAAAAAAAAAAAMAAAAAAAAAAGQFAAAAA2ZlZQEAAAANZ2V0SW50S2V5RGF0YQAAAAEAAAADa2V5BAAAAAF2CQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQAAAAAAAAAAAAUAAAABdgEAAAAOZ2V0VG90YWxGZWVFdGgAAAAACQEAAAANZ2V0SW50S2V5RGF0YQAAAAEFAAAADnRvdGFsRmVlRXRoS2V5AQAAAA5nZXRUb3RhbEZlZVVzZAAAAAAJAQAAAA1nZXRJbnRLZXlEYXRhAAAAAQUAAAAOdG90YWxGZWVVc2RLZXkBAAAAEmdldFRvdGFsRmVlRHl6cmFwdAAAAAAJAQAAAA1nZXRJbnRLZXlEYXRhAAAAAQUAAAASdG90YWxGZWVEeXpyYXB0S2V5AAAAAAAAAABTo/4a", "height": 1455071, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 84zZmQ296Dz2yaYsb6kyJwRSA1pLGrjBGn9GZmzSNn6U Next: 2aze6aCRWp6PrP1ytWvDywVTVXPWf5TFVxsEy4Fi3gSv Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let totalFeeEthKey = "total_fee_eth" | |
5 | 5 | ||
6 | 6 | let totalFeeUsdKey = "total_fee_usd" | |
7 | 7 | ||
8 | 8 | let totalFeeDyzraptKey = "total_fee_dyzrapt" | |
9 | 9 | ||
10 | 10 | func getFeeAmount (amount) = { | |
11 | 11 | let fee = fraction(amount, 3, 100) | |
12 | 12 | fee | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func getIntKeyData (key) = { | |
17 | 17 | let v = valueOrElse(getInteger(this, key), 0) | |
18 | 18 | v | |
19 | 19 | } | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func getTotalFeeEth () = getIntKeyData(totalFeeEthKey) | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func getTotalFeeUsd () = getIntKeyData(totalFeeUsdKey) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func getTotalFeeDyzrapt () = getIntKeyData(totalFeeDyzraptKey) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 |
github/deemru/w8io/169f3d6 25.61 ms ◑