tx · 6xYAGNXgo9H2k6jptZhdqfNSRBE7tCdPLu8Q2gf5XS5p
3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat: -0.00500000 Waves
2022.09.29 15:07 [2250376] smart account 3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat > SELF 0.00000000 Waves
{
"type": 13,
"id": "6xYAGNXgo9H2k6jptZhdqfNSRBE7tCdPLu8Q2gf5XS5p",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1664453238682,
"version": 2,
"chainId": 84,
"sender": "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat",
"senderPublicKey": "AwWYbCDs6GDxAT6diG2mfEqD7tFz9JXu9k234FS135kR",
"proofs": [
"39Ep3dU2TDAYzA6RNhsUJQCEan6DtwZ6GGHvJ7ZaAa72cju8TK7r91tgtVjsjqYYZZg78bwsCAVWw2xZvCXX191D"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAAAAAABAAAAAWkBAAAABHN3YXAAAAACAAAACGFzc2V0T3V0AAAAB21pbmltdW0EAAAAA3BtdAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAHYXNzZXRJbgkBAAAABXZhbHVlAAAAAQgFAAAAA3BtdAAAAAdhc3NldElkBAAAAAhhbW91bnRJbgkBAAAABXZhbHVlAAAAAQgFAAAAA3BtdAAAAAZhbW91bnQDBgkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAARJRDogCQACWgAAAAEFAAAAB2Fzc2V0SW4CAAAACiwgYW1vdW50OiAJAAGkAAAAAQUAAAAIYW1vdW50SW4JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAAm9wAAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQd9hYU=",
"height": 2250376,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 99r3WxsxVG6fmd3Fmv9YPBJGATxJ8SMrcJQKiQpQq7Uk
Next: ATN1rUjfZodnigVCL11Zpt8AifdsQBsNGuXTaUgqhWwR
Diff:
Old | New | | Differences |
---|
9 | 9 | | let assetIn = value(pmt.assetId) |
---|
10 | 10 | | let amountIn = value(pmt.amount) |
---|
11 | 11 | | if (true) |
---|
12 | | - | then throw("Errr") |
---|
| 12 | + | then throw(((("ID: " + toBase64String(assetIn)) + ", amount: ") + toString(amountIn))) |
---|
13 | 13 | | else [IntegerEntry("op", 1)] |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func swap (assetOut,minimum) = { |
---|
8 | 8 | | let pmt = i.payments[0] |
---|
9 | 9 | | let assetIn = value(pmt.assetId) |
---|
10 | 10 | | let amountIn = value(pmt.amount) |
---|
11 | 11 | | if (true) |
---|
12 | | - | then throw("Errr") |
---|
| 12 | + | then throw(((("ID: " + toBase64String(assetIn)) + ", amount: ") + toString(amountIn))) |
---|
13 | 13 | | else [IntegerEntry("op", 1)] |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Verifier(tx) |
---|
18 | 18 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
19 | 19 | | |
---|