tx · 8XvPz115AK5N1sfMeoHQR4n2mTrGXbtMwC3UVJEFqLsr
3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA: -0.01400000 Waves
2019.10.26 15:30 [737107] smart account 3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA > SELF 0.00000000 Waves
{
"type": 13,
"id": "8XvPz115AK5N1sfMeoHQR4n2mTrGXbtMwC3UVJEFqLsr",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1572093032928,
"version": 1,
"sender": "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA",
"senderPublicKey": "CaLwDVLXcV8Cr9MBZ4fzmW3emUhYEjcGz9uw12Fyf7SF",
"proofs": [
"7TikyvpyiLvxRyfvdNqrJ2X4TJV8K49HPsFPT6dbEG3KsnVLodt79GwxKWRoUQQoy3S26FpgMdPLXaqpiqM3u51"
],
"script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAAAAAABAAAAAWkBAAAAAldOAAAAAgAAAARrZXl4AAAABG5vdGUEAAAADVNlbmRlckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAIRmFrZU5vdGUCAAAABERlbnkEAAAABUFkZHIxAgAAACMzTjJ0d2o4ZVQ2S1NzbkFuOXBtQ2c4MWZqMnpNd25EZW1VQQQAAAAES2V5MQIAAAAGTXlLZXkxBAAAAAVBZGRyMgIAAAAjM01ycUJhZXJnOGlEYmNmYjZQWDE3cVF4U2VSZXZBdTNIS0IEAAAABUFkZHIzCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAECAAAAIzNNcnFCYWVyZzhpRGJjZmI2UFgxN3FReFNlUmV2QXUzSEtCBAAAAAZOZXdWYXIJAQAAAAdleHRyYWN0AAAAAQkABB0AAAACCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAABUFkZHIxBQAAAARLZXkxBAAAAAdOZXdWYXIyCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAVBZGRyMwUAAAAES2V5MQMJAAAAAAAAAgUAAAANU2VuZGVyQWRkcmVzcwUAAAAFQWRkcjIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABGtleXgFAAAABk5ld1ZhcgUAAAADbmlsCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1TZW5kZXJBZGRyZXNzBQAAAAhGYWtlTm90ZQUAAAADbmlsAAAAAEj/2xA=",
"chainId": 84,
"height": 737107,
"spentComplexity": 0
}
View: original | compacted
Prev: HVeHGdDuDQXtyyCv9y2KFbXb6rvf431FhYXtnbz899Hi
Next: A1D6YFYiymtQW8iCyUcVx4B3fesTxtnby2rF4VLp6HsP
Diff:
Old | New | | Differences |
---|
8 | 8 | | let SenderAddress = toBase58String(i.caller.bytes) |
---|
9 | 9 | | let FakeNote = "Deny" |
---|
10 | 10 | | let Addr1 = "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA" |
---|
| 11 | + | let Key1 = "MyKey1" |
---|
11 | 12 | | let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
12 | 13 | | let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
13 | | - | let Key1 = "MyKey1" |
---|
14 | 14 | | let NewVar = extract(getString(addressFromStringValue(Addr1), Key1)) |
---|
15 | 15 | | let NewVar2 = getStringValue(Addr3, Key1) |
---|
16 | 16 | | if ((SenderAddress == Addr2)) |
---|
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 | 7 | | func WN (keyx,note) = { |
---|
8 | 8 | | let SenderAddress = toBase58String(i.caller.bytes) |
---|
9 | 9 | | let FakeNote = "Deny" |
---|
10 | 10 | | let Addr1 = "3N2twj8eT6KSsnAn9pmCg81fj2zMwnDemUA" |
---|
| 11 | + | let Key1 = "MyKey1" |
---|
11 | 12 | | let Addr2 = "3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB" |
---|
12 | 13 | | let Addr3 = addressFromStringValue("3MrqBaerg8iDbcfb6PX17qQxSeRevAu3HKB") |
---|
13 | | - | let Key1 = "MyKey1" |
---|
14 | 14 | | let NewVar = extract(getString(addressFromStringValue(Addr1), Key1)) |
---|
15 | 15 | | let NewVar2 = getStringValue(Addr3, Key1) |
---|
16 | 16 | | if ((SenderAddress == Addr2)) |
---|
17 | 17 | | then WriteSet([DataEntry(keyx, NewVar)]) |
---|
18 | 18 | | else WriteSet([DataEntry(SenderAddress, FakeNote)]) |
---|
19 | 19 | | } |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|