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