tx · AgGMKBsY7gM3PbeJe6uDRAtY4FZuBMVkF2HD3YsATBcj
3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB: -0.01400000 Waves
2019.09.25 12:50 [691705] smart account 3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB > SELF 0.00000000 Waves
{
"type": 13,
"id": "AgGMKBsY7gM3PbeJe6uDRAtY4FZuBMVkF2HD3YsATBcj",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1569405073907,
"version": 1,
"sender": "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB",
"senderPublicKey": "2MZ7G3dRo9TWFpxs8jRhyTRyANoeNQRVMwWheecu6Lg4",
"proofs": [
"qwUoHEKKjVkqKoiQdDck1psF91C46QHsaCMr4EsJS7Cb5DmLTQWCAUD1ebp2GBmpq8V7rXtwBkiMsHAmuTjx3yS"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAQAAAAFpAQAAAAtXcml0ZU5vdGVWMgAAAAEAAAAEbm90ZQQAAAANU2VuZGVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAARub3RlBQAAAANuaWwAAAAAHEov3w==",
"chainId": 84,
"height": 691705,
"spentComplexity": 0
}
View: original | compacted
Prev: 44D3VPrUvq8LfYiCcWTu7iMdXxSRtpHCYxVMdvSNhM4Y
Next: 5Adyhxn2eEoVfEXv794rDm1mQvwdttGkDeg2M5M3nMYK
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func WriteNote (note) = { |
---|
| 7 | + | func WriteNoteV2 (note) = { |
---|
8 | 8 | | let SenderAddress = toBase58String(i.caller.bytes) |
---|
9 | | - | let FakeNote = "Nope nope nope" |
---|
10 | | - | if ((SenderAddress == "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")) |
---|
11 | | - | then WriteSet([DataEntry(SenderAddress, note)]) |
---|
12 | | - | else WriteSet([DataEntry(SenderAddress, FakeNote)]) |
---|
| 9 | + | WriteSet([DataEntry(SenderAddress, note)]) |
---|
13 | 10 | | } |
---|
14 | 11 | | |
---|
15 | 12 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func WriteNote (note) = { |
---|
| 7 | + | func WriteNoteV2 (note) = { |
---|
8 | 8 | | let SenderAddress = toBase58String(i.caller.bytes) |
---|
9 | | - | let FakeNote = "Nope nope nope" |
---|
10 | | - | if ((SenderAddress == "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB")) |
---|
11 | | - | then WriteSet([DataEntry(SenderAddress, note)]) |
---|
12 | | - | else WriteSet([DataEntry(SenderAddress, FakeNote)]) |
---|
| 9 | + | WriteSet([DataEntry(SenderAddress, note)]) |
---|
13 | 10 | | } |
---|
14 | 11 | | |
---|
15 | 12 | | |
---|