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