tx · CYL5RD4wCW98Cw1jYDiHT77QX52SFraTFmYk319qFkev
3MzAqDpFv8E4p16B4M1JMYMhBtFyKx1rFfz: -0.01400000 Waves
2020.03.18 13:26 [914607] smart account 3MzAqDpFv8E4p16B4M1JMYMhBtFyKx1rFfz > SELF 0.00000000 Waves
{
"type": 13,
"id": "CYL5RD4wCW98Cw1jYDiHT77QX52SFraTFmYk319qFkev",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1584527259095,
"version": 1,
"sender": "3MzAqDpFv8E4p16B4M1JMYMhBtFyKx1rFfz",
"senderPublicKey": "9S3B24ePPYFoDnpXPyNMSX4g85tLPB6Bp6bXzhSsuFPL",
"proofs": [
"5GG3iFVskcDutS87ZjTG31mBY1EwsCEkM8rH9onNzrMCDsaZAbLhwPpwzDwFbmk1L6DSJKay7BfNG3ikX6dsHZvf"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQEAAAAJY3JlZXJDbGVmAAAAAQAAAAdhZHJlc3NlCQABLAAAAAICAAAABGtleF8FAAAAB2FkcmVzc2UAAAABAAAACmludm9jYXRpb24BAAAAEGxhaXNzZXJVbk1lc3NhZ2UAAAABAAAAB21lc3NhZ2UEAAAAD2FkcmVzc2VBcHBlbGFudAkAAlgAAAABCAgFAAAACmludm9jYXRpb24AAAAGY2FsbGVyAAAABWJ5dGVzBAAAAARjbGVmCQEAAAAJY3JlZXJDbGVmAAAAAQUAAAAPYWRyZXNzZUFwcGVsYW50CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAARjbGVmBQAAAAdtZXNzYWdlBQAAAANuaWwAAAAAclLvgQ==",
"chainId": 84,
"height": 914607,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func creerClef (adresse) = ("kex_" + adresse) |
---|
| 5 | + | |
---|
| 6 | + | |
---|
| 7 | + | @Callable(invocation) |
---|
| 8 | + | func laisserUnMessage (message) = { |
---|
| 9 | + | let adresseAppelant = toBase58String(invocation.caller.bytes) |
---|
| 10 | + | let clef = creerClef(adresseAppelant) |
---|
| 11 | + | WriteSet([DataEntry(clef, message)]) |
---|
| 12 | + | } |
---|
| 13 | + | |
---|
| 14 | + | |
---|