tx · 5XRaEbZcodhLAPvMkEtZTKK4qbcwnc35W6yZezyuqLDq
3N4boZRUJ2LxY5jLyp6hmxGktqnawQidu6H: -0.00100000 Waves
2022.08.13 17:44 [2182841] smart account 3N4boZRUJ2LxY5jLyp6hmxGktqnawQidu6H > SELF 0.00000000 Waves
{
"type": 13,
"id": "5XRaEbZcodhLAPvMkEtZTKK4qbcwnc35W6yZezyuqLDq",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1660401857925,
"version": 2,
"chainId": 84,
"sender": "3N4boZRUJ2LxY5jLyp6hmxGktqnawQidu6H",
"senderPublicKey": "BDeCphaaC4MZvfmbJqQZ78EvuEBZTJ1VEW7fbxue8BUu",
"proofs": [
"3eu8wz1Ky8AGH3MrXNVF7iqoySBeWsPT5mn3saaNoAxpwYjTwDhbDAynfaRByRD6Pfq3Qi77eGemvVH47qTA7jBR"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAKaGVsbG9Xb3JsZAAAAAEAAAAEbmFtZQQAAAAGYW1vdW50CQEAAAAFdmFsdWUAAAABCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAZhbW91bnQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAGYW5zd2VyCQABLAAAAAICAAAAFEhlbGxvIFdvcmxkISBIZWxsbywgBQAAAARuYW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAdwYXltZW50BQAAAAZhbW91bnQFAAAAA25pbAAAAAB9yOTl",
"height": 2182841,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2xTe1XpD4hpJxpY6odCQHhE1XoGYsnyg7GGHRvezghWP
Next: G5HsWEG4PSvPz3RHYLs256AAF6n9Vgcnoesi12ECVouG
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func helloWorld (name) = [StringEntry("answer", ("Hello World! Hello, " + name))] |
---|
| 7 | + | func helloWorld (name) = { |
---|
| 8 | + | let amount = value(i.payments[0].amount) |
---|
| 9 | + | [StringEntry("answer", ("Hello World! Hello, " + name)), IntegerEntry("payment", amount)] |
---|
| 10 | + | } |
---|
8 | 11 | | |
---|
9 | 12 | | |
---|
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 | | - | func helloWorld (name) = [StringEntry("answer", ("Hello World! Hello, " + name))] |
---|
| 7 | + | func helloWorld (name) = { |
---|
| 8 | + | let amount = value(i.payments[0].amount) |
---|
| 9 | + | [StringEntry("answer", ("Hello World! Hello, " + name)), IntegerEntry("payment", amount)] |
---|
| 10 | + | } |
---|
8 | 11 | | |
---|
9 | 12 | | |
---|