tx · 2rES9P5FKjBucvoVxPLLxiwWhJTHX3HFHaWxQqzLUXp5
3Mq5upPvyutNuEDeYttuzZfQHv4Y4uXuvv5: -0.05000000 Waves
2021.08.13 12:40 [1656420] smart account 3Mq5upPvyutNuEDeYttuzZfQHv4Y4uXuvv5 > SELF 0.00000000 Waves
{
"type": 13,
"id": "2rES9P5FKjBucvoVxPLLxiwWhJTHX3HFHaWxQqzLUXp5",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1628847660439,
"version": 2,
"chainId": 84,
"sender": "3Mq5upPvyutNuEDeYttuzZfQHv4Y4uXuvv5",
"senderPublicKey": "97jE6RtnPXGL5TBusvVdFPvxKvHs6wgfQhjd2MphH8ot",
"proofs": [
"3YPNXmrKi58GqJjfru1zbzzCf4L4tAwBpJpB91T7qPNYhUkPA87xqW4noFfjD8CEyv4o8vxT7qiNAERtiPXATM6o"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAQAAAAAKc3dvcGZpRGFwcAEAAAAaAVS7fkwF5/jEJRcQSrDfBm+fkq1pHbOmsDQAAAABAAAAAWkBAAAAC3J1bkV4Y2hhbmdlAAAAAAQAAAAJJHQwMTc5MjU0CQAFFAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAQAAAAJcG10QW1vdW50CAUAAAAJJHQwMTc5MjU0AAAAAl8xBAAAAApwbXRBc3NldElkCAUAAAAJJHQwMTc5MjU0AAAAAl8yBAAAAAdwYXltZW50CQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAKcG10QXNzZXRJZAUAAAAJcG10QW1vdW50BAAAAAFyCQAD/AAAAAQJAQAAAAdBZGRyZXNzAAAAAQUAAAAKc3dvcGZpRGFwcAIAAAAIZXhjaGFuZ2UJAARMAAAAAgAAAAAAAAAAAQUAAAADbmlsCQAETAAAAAIFAAAAB3BheW1lbnQFAAAAA25pbAMJAAAAAAAAAgUAAAABcgUAAAABcgUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V56cf67w==",
"height": 1656420,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BPq45CTEXZUHREhccLyhZdX7rsXYURJT4qVfWor1XWZk
Next: G8k4qTBpBxQEEdmNeBz8tMwd5SbMi2dJF9siW1bDqf9c
Diff:
Old | New | | Differences |
---|
4 | 4 | | let a = base58'3N71TS4RSqLDJgLw2h9cdwUwhfQ7aBoaFb1' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | | - | func exchange () = { |
---|
| 7 | + | func runExchange () = { |
---|
8 | 8 | | let c = $Tuple2(b.payments[0].amount, b.payments[0].assetId) |
---|
9 | 9 | | let d = c._1 |
---|
10 | 10 | | let e = c._2 |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'3N71TS4RSqLDJgLw2h9cdwUwhfQ7aBoaFb1' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | | - | func exchange () = { |
---|
| 7 | + | func runExchange () = { |
---|
8 | 8 | | let c = $Tuple2(b.payments[0].amount, b.payments[0].assetId) |
---|
9 | 9 | | let d = c._1 |
---|
10 | 10 | | let e = c._2 |
---|
11 | 11 | | let f = AttachedPayment(e, d) |
---|
12 | 12 | | let g = invoke(Address(a), "exchange", [1], [f]) |
---|
13 | 13 | | if ((g == g)) |
---|
14 | 14 | | then nil |
---|
15 | 15 | | else throw("Strict value is not equal to itself.") |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | @Verifier(h) |
---|
20 | 20 | | func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey) |
---|
21 | 21 | | |
---|