tx · 6myAZyLfGm2vytLRNyANtiLSsTNpr6cgrn1y7rxPvNJF
3N4J3ofx2hexUsXjS4ngpcnCRYn5hAacwZD: -0.01400000 Waves
2019.12.17 19:58 [813171] smart account 3N4J3ofx2hexUsXjS4ngpcnCRYn5hAacwZD > SELF 0.00000000 Waves
{
"type": 13,
"id": "6myAZyLfGm2vytLRNyANtiLSsTNpr6cgrn1y7rxPvNJF",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1576601958182,
"version": 1,
"sender": "3N4J3ofx2hexUsXjS4ngpcnCRYn5hAacwZD",
"senderPublicKey": "Ajk7E6TyVCN7fa1Dr1vHe7mo2xzNjYHBwiVencs1ib73",
"proofs": [
"61AThsUCJjn4B78dupBB8XfGZLDiZWVSbtDHGCADEQbdNHf1sjMLG8nbdWcYjYiBU9S335aZNso2ztkdaWvn8BP"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAQEAAAAGc2V0S2V5AAAAAQAAAAdhZHJlc3NlCQABLAAAAAICAAAABGtleV8FAAAAB2FkcmVzc2UAAAABAAAACmludm9jYXRpb24BAAAAEGxhaXNzZXJVbk1lc3NhZ2UAAAABAAAAB21lc3NhZ2UEAAAAB2FkcmVzc2UJAAJYAAAAAQgIBQAAAAppbnZvY2F0aW9uAAAABmNhbGxlcgAAAAVieXRlcwQAAAADY2xlCQEAAAAGc2V0S2V5AAAAAQUAAAAHYWRyZXNzZQkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAA2NsZQUAAAAHbWVzc2FnZQUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAppbnZvY2F0aW9uAAAABmNhbGxlcgAAAAACVAvkAAUAAAAEdW5pdAUAAAADbmlsAAAAAOWGYLE=",
"chainId": 84,
"height": 813171,
"spentComplexity": 0
}
View: original | compacted
Prev: EjCnniHeXigLQUNNTSCrN2Kqf7pBQT6iZGRRXDBNMFxN
Next: GDetKpVdiUGT56BWm8MF63xVv2H3QGeocF1kDqZz7YtF
Diff:
Old | New | | Differences |
---|
8 | 8 | | func laisserUnMessage (message) = { |
---|
9 | 9 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
10 | 10 | | let cle = setKey(adresse) |
---|
11 | | - | WriteSet([DataEntry(cle, message)]) |
---|
| 11 | + | ScriptResult(WriteSet([DataEntry(cle, message)]), TransferSet([ScriptTransfer(invocation.caller, 10000000000, unit)])) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func setKey (adresse) = ("key_" + adresse) |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(invocation) |
---|
8 | 8 | | func laisserUnMessage (message) = { |
---|
9 | 9 | | let adresse = toBase58String(invocation.caller.bytes) |
---|
10 | 10 | | let cle = setKey(adresse) |
---|
11 | | - | WriteSet([DataEntry(cle, message)]) |
---|
| 11 | + | ScriptResult(WriteSet([DataEntry(cle, message)]), TransferSet([ScriptTransfer(invocation.caller, 10000000000, unit)])) |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|