tx · 4QZfiEKCSLSZyAsTS72kYGg8ix5c3xAKapW4VGjnts9V

3NAVJcqMw8AsPecAtd74CeNtAG2qRV2V1so:  -0.04000000 Waves

2022.05.20 18:52 [2060205] smart account 3NAVJcqMw8AsPecAtd74CeNtAG2qRV2V1so > SELF 0.00000000 Waves

{ "type": 13, "id": "4QZfiEKCSLSZyAsTS72kYGg8ix5c3xAKapW4VGjnts9V", "fee": 4000000, "feeAssetId": null, "timestamp": 1653061978240, "version": 2, "chainId": 84, "sender": "3NAVJcqMw8AsPecAtd74CeNtAG2qRV2V1so", "senderPublicKey": "EpvN8tsbEWeeqZSLaEVCda8PZfKa1JAF3ZFp7hRq1gWj", "proofs": [ "3wvtWPHujWMuk9ZTfigrnBQPrhjruBM69eqLnwqAe554BpLnqpGMt9FS25qFHBXNQC2UTQGc1B6cbzhteMGqaQZ9" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAGdXNkbklEAQAAACAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAAAAAGZXRVU0ROAQAAACAK4G3B+vJa1mRJTBFVzWlpaRuAr4r9KwHwm717XF9N5QAAAAAIaXNTdG9wZWQHAAAAAQAAAAFpAQAAAAdkZXBvc2l0AAAAAAQAAAADcG10CQEAAAAFdmFsdWUAAAABCQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAABAAAAAJhbQgFAAAAA3BtdAAAAAZhbW91bnQDCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAABnVzZG5JRAkAAAIAAAABAgAAAA1JbnZhbGlkIHRva2VuAwUAAAAIaXNTdG9wZWQJAAACAAAAAQIAAAAPZEFwcCBpcyBzdG9wcGVkBAAAAAV0b0lzcwkAAGgAAAACBQAAAAJhbQAAAAAABfXhAAQAAAABcgkBAAAAB1JlaXNzdWUAAAADBQAAAAZldFVTRE4FAAAABXRvSXNzBgQAAAADdHJ4CQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABXRvSXNzBQAAAAZldFVTRE4JAARMAAAAAgUAAAABcgkABEwAAAACBQAAAAN0cngFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5rEz5VQ==", "height": 2060205, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6B8QFnCL348VduWo7eiKkf5PZL7M12ousJxg9xZ1DQpz Next: 8G4BieYZdFxiCA9e2v1Jxfqmk2JBvpQVpcXzyQbY5U9k Diff:
OldNewDifferences
1616 else if (isStoped)
1717 then throw("dApp is stopped")
1818 else {
19- let r = Reissue(etUSDN, am, true)
20- let trx = ScriptTransfer(i.caller, (am * 100000000), etUSDN)
19+ let toIss = (am * 100000000)
20+ let r = Reissue(etUSDN, toIss, true)
21+ let trx = ScriptTransfer(i.caller, toIss, etUSDN)
2122 [r, trx]
2223 }
2324 }
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
1414 if ((pmt.assetId != usdnID))
1515 then throw("Invalid token")
1616 else if (isStoped)
1717 then throw("dApp is stopped")
1818 else {
19- let r = Reissue(etUSDN, am, true)
20- let trx = ScriptTransfer(i.caller, (am * 100000000), etUSDN)
19+ let toIss = (am * 100000000)
20+ let r = Reissue(etUSDN, toIss, true)
21+ let trx = ScriptTransfer(i.caller, toIss, etUSDN)
2122 [r, trx]
2223 }
2324 }
2425
2526
2627 @Verifier(tx)
2728 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2829

github/deemru/w8io/169f3d6 
25.22 ms