tx · 7zabXinUtJRXHo8JCdyTPbnuLQkmAXHuoYs3MBdqd46v
3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8: -0.01400000 Waves
2020.12.15 00:58 [1308926] smart account 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00000000 Waves
{
"type": 13,
"id": "7zabXinUtJRXHo8JCdyTPbnuLQkmAXHuoYs3MBdqd46v",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1607983087862,
"version": 2,
"chainId": 84,
"sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8",
"senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k",
"proofs": [
"Uz6L5SqZzuakSvS8Nn6YDd6Qx2TpdFqQ7DfNhRQP9zKp8aRXhDXJQsMpCjTBJv1TAKLCDsWfn3JNJNWbZPkzdRx"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAALWnJvYnByemVsZXcAAAAABAAAAAVrb250bwgFAAAAAWkAAAAGY2FsbGVyBAAAAAVJbG9zYwgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAAZ3YWx1dGEICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQEAAAACHN6Y3plcGFuCQACWQAAAAECAAAALDl5NG40bnFjUlVRVkxpYVBHVmV6eEI2Q1diUEhCNjI3TDlwWjdHU2FhWnp1BAAAABBkZW5vbWlub3dhbmlsb3NjCQAAawAAAAMFAAAABUlsb3NjAAAAAAAAAAABAAAAAAAAD0JABAAAAA9wb29kamVjaXVvcGxhdHkJAABrAAAAAwUAAAAQZGVub21pbm93YW5pbG9zYwAAAAAAAAAAYQAAAAAAAAAAZAQAAAAYZGVub21pbm93YW5pbG9zY29kd3JvdG5hCQAAawAAAAMFAAAABUlsb3NjAAAAAAAAD0JAAAAAAAAAAAABBAAAABBwb29kamVjaXVvcGxhdHkyCQAAawAAAAMFAAAAGGRlbm9taW5vd2FuaWxvc2NvZHdyb3RuYQAAAAAAAAAAYQAAAAAAAAAAZAMJAAAAAAAAAgUAAAAGd2FsdXRhBQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAABWtvbnRvBQAAAA9wb29kamVjaXVvcGxhdHkFAAAACHN6Y3plcGFuBQAAAANuaWwDCQAAAAAAAAIFAAAABndhbHV0YQUAAAAIc3pjemVwYW4JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAFa29udG8FAAAAEHBvb2RqZWNpdW9wbGF0eTIFAAAABHVuaXQFAAAAA25pbAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAVrb250bwAAAAAAAAAAAAUAAAAEdW5pdAUAAAADbmlsAAAAALWOMms=",
"height": 1308926,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 5hWZLsepoXvNwamkio6Z7wtMra81WUUKP2ng14W488iu
Next: 8Y6Gk7bwb2QDjxHXaYm1GWZrfBDybVSmcceeyF3RA3yd
Diff:
Old | New | | Differences |
---|
8 | 8 | | let konto = i.caller |
---|
9 | 9 | | let Ilosc = i.payments[0].amount |
---|
10 | 10 | | let waluta = i.payments[0].assetId |
---|
11 | | - | let szczepan = fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo") |
---|
| 11 | + | let szczepan = fromBase58String("9y4n4nqcRUQVLiaPGVezxB6CWbPHB627L9pZ7GSaaZzu") |
---|
12 | 12 | | let denominowanilosc = fraction(Ilosc, 1, 1000000) |
---|
13 | 13 | | let poodjeciuoplaty = fraction(denominowanilosc, 97, 100) |
---|
14 | 14 | | let denominowaniloscodwrotna = fraction(Ilosc, 1000000, 1) |
---|
15 | 15 | | let poodjeciuoplaty2 = fraction(denominowaniloscodwrotna, 97, 100) |
---|
16 | 16 | | if ((waluta == unit)) |
---|
17 | | - | then [ScriptTransfer(konto, poodjeciuoplaty, fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo"))] |
---|
| 17 | + | then [ScriptTransfer(konto, poodjeciuoplaty, szczepan)] |
---|
18 | 18 | | else if ((waluta == szczepan)) |
---|
19 | 19 | | then [ScriptTransfer(konto, poodjeciuoplaty2, unit)] |
---|
20 | 20 | | else [ScriptTransfer(konto, 0, unit)] |
---|
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(i) |
---|
7 | 7 | | func Zrobprzelew () = { |
---|
8 | 8 | | let konto = i.caller |
---|
9 | 9 | | let Ilosc = i.payments[0].amount |
---|
10 | 10 | | let waluta = i.payments[0].assetId |
---|
11 | | - | let szczepan = fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo") |
---|
| 11 | + | let szczepan = fromBase58String("9y4n4nqcRUQVLiaPGVezxB6CWbPHB627L9pZ7GSaaZzu") |
---|
12 | 12 | | let denominowanilosc = fraction(Ilosc, 1, 1000000) |
---|
13 | 13 | | let poodjeciuoplaty = fraction(denominowanilosc, 97, 100) |
---|
14 | 14 | | let denominowaniloscodwrotna = fraction(Ilosc, 1000000, 1) |
---|
15 | 15 | | let poodjeciuoplaty2 = fraction(denominowaniloscodwrotna, 97, 100) |
---|
16 | 16 | | if ((waluta == unit)) |
---|
17 | | - | then [ScriptTransfer(konto, poodjeciuoplaty, fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo"))] |
---|
| 17 | + | then [ScriptTransfer(konto, poodjeciuoplaty, szczepan)] |
---|
18 | 18 | | else if ((waluta == szczepan)) |
---|
19 | 19 | | then [ScriptTransfer(konto, poodjeciuoplaty2, unit)] |
---|
20 | 20 | | else [ScriptTransfer(konto, 0, unit)] |
---|
21 | 21 | | } |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|