tx · 2tcM3tV1nz8ixjNfATMS2mCqFbcDhYymnnwEcVrD8SrM

3NAVJcqMw8AsPecAtd74CeNtAG2qRV2V1so:  -0.04000000 Waves

2022.05.20 18:48 [2060202] smart account 3NAVJcqMw8AsPecAtd74CeNtAG2qRV2V1so > SELF 0.00000000 Waves

{ "type": 13, "id": "2tcM3tV1nz8ixjNfATMS2mCqFbcDhYymnnwEcVrD8SrM", "fee": 4000000, "feeAssetId": null, "timestamp": 1653061733039, "version": 2, "chainId": 84, "sender": "3NAVJcqMw8AsPecAtd74CeNtAG2qRV2V1so", "senderPublicKey": "EpvN8tsbEWeeqZSLaEVCda8PZfKa1JAF3ZFp7hRq1gWj", "proofs": [ "3GrNiLV78Hm3MZUWenAjjnaudr3UsKB3M2zFFjZQKCWpw8wpzEwn2dcenE5XEogzFgMSSDQnaxXgXsAs7VF41QiP" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAGdXNkbklEAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAAAAAGZXRVU0ROAQAAACAK4G3B+vJa1mRJTBFVzWlpaRuAr4r9KwHwm717XF9N5QAAAAAIaXNTdG9wZWQHAAAAAQAAAAFpAQAAAAdkZXBvc2l0AAAAAAQAAAADcG10CQEAAAAFdmFsdWUAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAAJhbQgFAAAAA3BtdAAAAAZhbW91bnQEAAAABXRvSXNzCQAAaQAAAAIFAAAAAmFtAAAAAAAAAABkAwkBAAAAAiE9AAAAAggFAAAAA3BtdAAAAAdhc3NldElkBQAAAAZ1c2RuSUQJAAACAAAAAQIAAAANSW52YWxpZCB0b2tlbgMFAAAACGlzU3RvcGVkCQAAAgAAAAECAAAAD2RBcHAgaXMgc3RvcHBlZAQAAAABcgkBAAAAB1JlaXNzdWUAAAADBQAAAAZldFVTRE4FAAAAAmFtBgQAAAADdHJ4CQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABXRvSXNzBQAAAAZldFVTRE4JAARMAAAAAgUAAAABcgkABEwAAAACBQAAAAN0cngFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5+s+qyg==", "height": 2060202, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Gz4dPDe5PSnDbLAbfKpCRhstT7SavPENmpPH1UKz8jxM Next: 7p9xqf7UL9Dx82D4GBN3Vr7TtyQTuKLLsEUcrfD6BmW9 Diff:
OldNewDifferences
1111 func deposit () = {
1212 let pmt = value(i.payments[0])
1313 let am = pmt.amount
14- let toIss = (am * 100)
14+ let toIss = (am / 100)
1515 if ((pmt.assetId != usdnID))
1616 then throw("Invalid token")
1717 else if (isStoped)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let usdnID = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
55
66 let etUSDN = base58'jTZeaNjsi7iJK5mTo42VgYjRBHdHawAdhYykMQUnx7v'
77
88 let isStoped = false
99
1010 @Callable(i)
1111 func deposit () = {
1212 let pmt = value(i.payments[0])
1313 let am = pmt.amount
14- let toIss = (am * 100)
14+ let toIss = (am / 100)
1515 if ((pmt.assetId != usdnID))
1616 then throw("Invalid token")
1717 else if (isStoped)
1818 then throw("dApp is stopped")
1919 else {
2020 let r = Reissue(etUSDN, am, true)
2121 let trx = ScriptTransfer(i.caller, toIss, etUSDN)
2222 [r, trx]
2323 }
2424 }
2525
2626
2727 @Verifier(tx)
2828 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2929

github/deemru/w8io/169f3d6 
23.05 ms