tx · GDMGxkiiSRG5h35sE8Fn4n4ah5To7WVK6Uzg6vbXPG8R
3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA: -0.01400000 Waves
2019.10.25 20:48 [735959] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves
{
"type": 13,
"id": "GDMGxkiiSRG5h35sE8Fn4n4ah5To7WVK6Uzg6vbXPG8R",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1572025705888,
"version": 1,
"sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA",
"senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF",
"proofs": [
"3VLQF8hVboKHu45Tykxi2rR3jot7fvWrRcA8HE8UFBFQyqfnB8DgjHpBHovj2jG9kq73SRvAvPNUnzXrmkPvVH1M"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAJV3JpdGVOb3RlAAAAAQAAAARub3RlBAAAAA1TZW5kZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAACEZha2VOb3RlAgAAAAdKQiAyMDE5AwkAAAAAAAACBQAAAA1TZW5kZXJBZGRyZXNzAgAAACMzTXJxQmFlcmc4aURiY2ZiNlBYMTdxUXhTZVJldkF1M0hLQgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAANU2VuZGVyQWRkcmVzcwUAAAAEbm90ZQUAAAADbmlsCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAhGYWtlTm90ZQUAAAADbmlsAAAAAJmH9XM=",
"chainId": 84,
"height": 735959,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: G9P2Gft6Ar1UNqFyv1ekoXbEgJ7w1BKFjEYPPSCxG8mg
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func WriteNote (note) = { |
---|
| 8 | + | let SenderAddress = toBase58String(i.caller.bytes) |
---|
| 9 | + | let FakeNote = "JB 2019" |
---|
| 10 | + | if ((SenderAddress == "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")) |
---|
| 11 | + | then WriteSet([DataEntry(SenderAddress, note)]) |
---|
| 12 | + | else WriteSet([DataEntry(SenderAddress, FakeNote)]) |
---|
| 13 | + | } |
---|
| 14 | + | |
---|
| 15 | + | |
---|