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