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:
Old | New | | Differences |
---|
16 | 16 | | else if (c) |
---|
17 | 17 | | then throw("dApp is stopped") |
---|
18 | 18 | | else { |
---|
19 | | - | let g = Reissue(b, f, true) |
---|
20 | | - | let h = ScriptTransfer(d.caller, (f * 100000000), b) |
---|
21 | | - | [g, h] |
---|
| 19 | + | let g = (f * 100000000) |
---|
| 20 | + | let h = Reissue(b, g, true) |
---|
| 21 | + | let i = ScriptTransfer(d.caller, g, b) |
---|
| 22 | + | [h, i] |
---|
22 | 23 | | } |
---|
23 | 24 | | } |
---|
24 | 25 | | |
---|
25 | 26 | | |
---|
26 | | - | @Verifier(i) |
---|
27 | | - | func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
| 27 | + | @Verifier(j) |
---|
| 28 | + | func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
28 | 29 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' |
---|
5 | 5 | | |
---|
6 | 6 | | let b = base58'jTZeaNjsi7iJK5mTo42VgYjRBHdHawAdhYykMQUnx7v' |
---|
7 | 7 | | |
---|
8 | 8 | | let c = false |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(d) |
---|
11 | 11 | | func deposit () = { |
---|
12 | 12 | | let e = value(d.payments[0]) |
---|
13 | 13 | | let f = e.amount |
---|
14 | 14 | | if ((e.assetId != a)) |
---|
15 | 15 | | then throw("Invalid token") |
---|
16 | 16 | | else if (c) |
---|
17 | 17 | | then throw("dApp is stopped") |
---|
18 | 18 | | else { |
---|
19 | | - | let g = Reissue(b, f, true) |
---|
20 | | - | let h = ScriptTransfer(d.caller, (f * 100000000), b) |
---|
21 | | - | [g, h] |
---|
| 19 | + | let g = (f * 100000000) |
---|
| 20 | + | let h = Reissue(b, g, true) |
---|
| 21 | + | let i = ScriptTransfer(d.caller, g, b) |
---|
| 22 | + | [h, i] |
---|
22 | 23 | | } |
---|
23 | 24 | | } |
---|
24 | 25 | | |
---|
25 | 26 | | |
---|
26 | | - | @Verifier(i) |
---|
27 | | - | func j () = sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey) |
---|
| 27 | + | @Verifier(j) |
---|
| 28 | + | func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
28 | 29 | | |
---|