tx · TmX8ZFXCsTgNuqJTiECVPZog76TF78bnSWmaKZgcbqK
3N1gsqwXYg8gzCUgWxFBEmXzdXcceHnxLYJ: -0.01400000 Waves
2019.10.01 14:39 [700589] smart account 3N1gsqwXYg8gzCUgWxFBEmXzdXcceHnxLYJ > SELF 0.00000000 Waves
{
"type": 13,
"id": "TmX8ZFXCsTgNuqJTiECVPZog76TF78bnSWmaKZgcbqK",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1569929970317,
"version": 1,
"sender": "3N1gsqwXYg8gzCUgWxFBEmXzdXcceHnxLYJ",
"senderPublicKey": "GzzGWTSDwbVY7NZnRGa8ouk4Ho8y59pWSXSK7rBg4854",
"proofs": [
"zEeczMEBhTh9zFieDbmJh8E5ABHhEfsoYQWJGGF1CGQ9of9iK3P2kYzz12vx9axBpiDgukaueNwvFHkMwNxqgin"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAARtYWluAAAAAQAAAAZ2YWxldXIEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAABnAAAAAgUAAAAGdmFsZXVyAAAAAAAAAAAFCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAZ2YWxldXIFAAAAA25pbAkAAAIAAAABAgAAABd2YWxldXIgaW5mw6lyaWV1cmUgw6AgNQAAAAD8hAEj",
"chainId": 84,
"height": 700589,
"spentComplexity": 0
}
View: original | compacted
Prev: 5LFCgi7eE2fzJ4HSXELn3nFrJiYFjsVJQRs1AbQ16Nwo
Next: 7isk9bHGW9w4NL8eStkJ1kr4aaEofLPm3k5n7DGVPy7Z
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func second (valeur) = if ((valeur > 0)) |
---|
5 | | - | then "valeur positive" |
---|
6 | | - | else "valeur égale ou inférieure à 0" |
---|
7 | 4 | | |
---|
8 | 5 | | |
---|
9 | 6 | | @Callable(i) |
---|
10 | 7 | | func main (valeur) = { |
---|
11 | 8 | | let SenderAddress = toBase58String(i.caller.bytes) |
---|
12 | | - | WriteSet([DataEntry(SenderAddress, valeur)]) |
---|
| 9 | + | if ((valeur >= 5)) |
---|
| 10 | + | then WriteSet([DataEntry(SenderAddress, valeur)]) |
---|
| 11 | + | else throw("valeur inférieure à 5") |
---|
13 | 12 | | } |
---|
14 | 13 | | |
---|
15 | 14 | | |
---|