tx · 8Y6Gk7bwb2QDjxHXaYm1GWZrfBDybVSmcceeyF3RA3yd
3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -0.01400000 Waves
2020.12.15 01:23 [1308950] smart account 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "8Y6Gk7bwb2QDjxHXaYm1GWZrfBDybVSmcceeyF3RA3yd",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1607984619413,
"version": 2,
"chainId": 84,
"sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8",
"senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k",
"proofs": [
"4FQokjSD1EhWimvMNkCPmGVHnoZxZxoguSgz1iXXNTToK56eKf5x8f788Ze17ZBfoAqkepq9TqSTn5KS3tzdSVM2"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAALWnJvYnByemVsZXcAAAAABAAAAAVrb250bwgFAAAAAWkAAAAGY2FsbGVyBAAAAAVJbG9zYwgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAAZ3YWx1dGEICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQEAAAACHN6Y3plcGFuCQACWQAAAAECAAAALEdvSjd4NGJvWXJGTWNuZmZaMmtpcDRtZ0dzRnk0S3lacnlHOWpvb0x0R1hvBAAAABBkZW5vbWlub3dhbmlsb3NjCQAAawAAAAMFAAAABUlsb3NjAAAAAAAAAAABAAAAAAAAD0JABAAAAA9wb29kamVjaXVvcGxhdHkJAABrAAAAAwUAAAAQZGVub21pbm93YW5pbG9zYwAAAAAAAAAAYQAAAAAAAAAAZAQAAAAYZGVub21pbm93YW5pbG9zY29kd3JvdG5hCQAAawAAAAMFAAAABUlsb3NjAAAAAAAAD0JAAAAAAAAAAAABBAAAABBwb29kamVjaXVvcGxhdHkyCQAAawAAAAMFAAAAGGRlbm9taW5vd2FuaWxvc2NvZHdyb3RuYQAAAAAAAAAAYQAAAAAAAAAAZAMJAAAAAAAAAgUAAAAGd2FsdXRhBQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABWtvbnRvBQAAAA9wb29kamVjaXVvcGxhdHkFAAAACHN6Y3plcGFuBQAAAANuaWwDCQAAAAAAAAIFAAAABndhbHV0YQUAAAAIc3pjemVwYW4JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAFa29udG8FAAAAEHBvb2RqZWNpdW9wbGF0eTIFAAAABHVuaXQFAAAAA25pbAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAVrb250bwAAAAAAAAAAAAUAAAAEdW5pdAUAAAADbmlsAAAAAHx/JU0=",
"height": 1308950,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7zabXinUtJRXHo8JCdyTPbnuLQkmAXHuoYs3MBdqd46v
Next: GtQueQdBj3gmhrv6VsMoDGFm7BL9PMTMDJ6g3GrMUmT6
Diff:
Old | New | | Differences |
---|
8 | 8 | | let b = a.caller |
---|
9 | 9 | | let c = a.payments[0].amount |
---|
10 | 10 | | let d = a.payments[0].assetId |
---|
11 | | - | let e = fromBase58String("9y4n4nqcRUQVLiaPGVezxB6CWbPHB627L9pZ7GSaaZzu") |
---|
| 11 | + | let e = fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo") |
---|
12 | 12 | | let f = fraction(c, 1, 1000000) |
---|
13 | 13 | | let g = fraction(f, 97, 100) |
---|
14 | 14 | | let h = fraction(c, 1000000, 1) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func Zrobprzelew () = { |
---|
8 | 8 | | let b = a.caller |
---|
9 | 9 | | let c = a.payments[0].amount |
---|
10 | 10 | | let d = a.payments[0].assetId |
---|
11 | | - | let e = fromBase58String("9y4n4nqcRUQVLiaPGVezxB6CWbPHB627L9pZ7GSaaZzu") |
---|
| 11 | + | let e = fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo") |
---|
12 | 12 | | let f = fraction(c, 1, 1000000) |
---|
13 | 13 | | let g = fraction(f, 97, 100) |
---|
14 | 14 | | let h = fraction(c, 1000000, 1) |
---|
15 | 15 | | let i = fraction(h, 97, 100) |
---|
16 | 16 | | if ((d == unit)) |
---|
17 | 17 | | then [ScriptTransfer(b, g, e)] |
---|
18 | 18 | | else if ((d == e)) |
---|
19 | 19 | | then [ScriptTransfer(b, i, unit)] |
---|
20 | 20 | | else [ScriptTransfer(b, 0, unit)] |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|