tx · 4KN29U3TUbr4dtnoZ7yziYhudxhDXnGLhsgDJ6WLSqe8
3MwUT9eqXHZVH4mipVZDRcLhqsjNnpPJKLV: -0.01400000 Waves
2019.06.22 12:02 [553017] smart account 3MwUT9eqXHZVH4mipVZDRcLhqsjNnpPJKLV > SELF 0.00000000 Waves
{
"type": 13,
"id": "4KN29U3TUbr4dtnoZ7yziYhudxhDXnGLhsgDJ6WLSqe8",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1561194194059,
"version": 1,
"sender": "3MwUT9eqXHZVH4mipVZDRcLhqsjNnpPJKLV",
"senderPublicKey": "Bk1amW8KVtdKMKnrFQuduBaMWYBxgVAMdiULbDR861hs",
"proofs": [
"57Zz24rPq2GkD7tzZbP5AQLuMbBc3T7yFVt1D3RGPbFUVmJG4mHrgsme36n7HKJi12xT6CwPpwfbBVLJEyTit8SU"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAAR3RXVyAQAAACClhqGo076a8zyBwOfLl6EVCDPW+Yx0ufxPXDElCmQCzAAAAAEAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAB3BheW1lbnQJAQAAAAdleHRyYWN0AAAAAQgFAAAAAWkAAAAHcGF5bWVudAMJAQAAAAIhPQAAAAIIBQAAAAdwYXltZW50AAAAB2Fzc2V0SWQFAAAABHdFdXIJAAACAAAAAQIAAAAeT25seSB3RXVyIGRlcG9zaXRzIGFyZSBhbGxvd2VkBAAAAAdhZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAD3ByZXZpb3VzQmFsYW5jZQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAAdhZGRyZXNzAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAACm5ld0JhbGFuY2UJAABkAAAAAgUAAAAPcHJldmlvdXNCYWxhbmNlCAUAAAAHcGF5bWVudAAAAAZhbW91bnQJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAB2FkZHJlc3MFAAAACm5ld0JhbGFuY2UFAAAAA25pbAAAAABMTlsg",
"chainId": 84,
"height": 553017,
"spentComplexity": 0
}
View: original | compacted
Prev: 8S1hKmtkqGiNMLhRmY3bGxQHqJej1RoxGVHcfZVLqpTQ
Next: F7XecAJQRWdzatVhr6pKJiPPL9KqbAU1YRocH2YTn44a
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = base58'' |
---|
| 4 | + | let a = base58'C99Lf3hGnc9UFgYduxxxveKS8ECWCZfxXfFpnpUgRCc3' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func deposit () = { |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let a = base58'' |
---|
| 4 | + | let a = base58'C99Lf3hGnc9UFgYduxxxveKS8ECWCZfxXfFpnpUgRCc3' |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func deposit () = { |
---|
8 | 8 | | let c = extract(b.payment) |
---|
9 | 9 | | if ((c.assetId != a)) |
---|
10 | 10 | | then throw("Only wEur deposits are allowed") |
---|
11 | 11 | | else { |
---|
12 | 12 | | let d = toBase58String(b.caller.bytes) |
---|
13 | 13 | | let e = { |
---|
14 | 14 | | let f = getInteger(this, d) |
---|
15 | 15 | | if ($isInstanceOf(f, "Int")) |
---|
16 | 16 | | then { |
---|
17 | 17 | | let g = f |
---|
18 | 18 | | g |
---|
19 | 19 | | } |
---|
20 | 20 | | else 0 |
---|
21 | 21 | | } |
---|
22 | 22 | | let h = (e + c.amount) |
---|
23 | 23 | | WriteSet([DataEntry(d, h)]) |
---|
24 | 24 | | } |
---|
25 | 25 | | } |
---|
26 | 26 | | |
---|
27 | 27 | | |
---|