tx · 5Yig5VXrpuaK8d1KVusLmPidTxhLpkvoXvdNeL6gwovL

3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8:  -0.01400000 Waves

2021.01.11 07:06 [1348277] smart account 3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8 > SELF 0.00000000 Waves

{ "type": 13, "id": "5Yig5VXrpuaK8d1KVusLmPidTxhLpkvoXvdNeL6gwovL", "fee": 1400000, "feeAssetId": null, "timestamp": 1610337997528, "version": 2, "chainId": 84, "sender": "3NCy4rT9no9CGLr89UrnyH8s75P8JjkSap8", "senderPublicKey": "62prNgRbWHRQAXh3a5sG95EtrJoYEsuUAgwkg3F4Kt6k", "proofs": [ "tK2iQC35bLmsRaPtn6yYAm84kXduduSTTC1hFwKoMyquT3z6QKnTURFJhE8totoubpTSxn2o9H7KAERUrkLmBbz" ], "script": "base64:AAIEAAAAAAAAAAYIAhIAEgAAAAACAAAAAAhzemN6ZXBhbgkAAlkAAAABAgAAACxHb0o3eDRib1lyRk1jbmZmWjJraXA0bWdHc0Z5NEt5WnJ5Rzlqb29MdEdYbwAAAAAJc3pjemVwYW4yCQACWQAAAAECAAAALDl5NG40bnFjUlVRVkxpYVBHVmV6eEI2Q1diUEhCNjI3TDlwWjdHU2FhWnp1AAAAAgAAAAFpAQAAAAtacm9icHJ6ZWxldwAAAAAEAAAABWtvbnRvCAUAAAABaQAAAAZjYWxsZXIEAAAABUlsb3NjCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAZhbW91bnQEAAAABndhbHV0YQgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAQAAAAQZGVub21pbm93YW5pbG9zYwkAAGsAAAADBQAAAAVJbG9zYwAAAAAAAAAAAQAAAAAAAA9CQAQAAAAPcG9vZGplY2l1b3BsYXR5CQAAawAAAAMFAAAAEGRlbm9taW5vd2FuaWxvc2MAAAAAAAAAAGEAAAAAAAAAAG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wYW4yCQAETAAAAAIJAQAAAARCdXJuAAAAAgUAAAAIc3pjemVwYW4FAAAABUlsb3NjBQAAAANuaWwDCQAAAAAAAAIFAAAABndhbHV0YQUAAAAJc3pjemVwYW4yCQAETAAAAAIJAQAAAAdSZWlzc3VlAAAAAwUAAAAIc3pjemVwYW4FAAAAD3Bvb2RqZWNpdW9wbGF0eQYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAFa29udG8FAAAAD3Bvb2RqZWNpdW9wbGF0eQUAAAAIc3pjemVwYW4JAARMAAAAAgkBAAAABEJ1cm4AAAACBQAAAAlzemN6ZXBhbjIFAAAABUlsb3NjBQAAAANuaWwJAAACAAAAAQIAAAAfVGVqIHdhbHV0eSBuaWUgbW96ZXN6IHd5bWllbmnEhwAAAADoUFdl", "height": 1348277, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CGyoQ44a7XNUWpmY4Q2SshgpmDpTGsK4KpFkww1ZST2Q Next: 7Sn5pvjrKTskrZL5jKmUbGKq2VQ9pwJ8kLv1VySkJUui Diff:
OldNewDifferences
3030 let f = c.payments[0].assetId
3131 let h = fraction(e, 97, 100)
3232 if ((f == a))
33- then [Reissue(b, e, true), ScriptTransfer(d, h, b), Burn(a, e)]
33+ then [Reissue(b, h, true), ScriptTransfer(d, h, b), Burn(a, e)]
3434 else if ((f == b))
35- then [Reissue(a, e, true), ScriptTransfer(d, h, a), Burn(b, e)]
35+ then [Reissue(a, h, true), ScriptTransfer(d, h, a), Burn(b, e)]
3636 else throw("Tej waluty nie mozesz wymienić")
3737 }
3838
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = fromBase58String("GoJ7x4boYrFMcnffZ2kip4mgGsFy4KyZryG9jooLtGXo")
55
66 let b = fromBase58String("9y4n4nqcRUQVLiaPGVezxB6CWbPHB627L9pZ7GSaaZzu")
77
88 @Callable(c)
99 func Zrobprzelew () = {
1010 let d = c.caller
1111 let e = c.payments[0].amount
1212 let f = c.payments[0].assetId
1313 let g = fraction(e, 1, 1000000)
1414 let h = fraction(g, 97, 100)
1515 let i = fraction(e, 1000000, 1)
1616 let j = fraction(i, 97, 100)
1717 if ((f == unit))
1818 then [ScriptTransfer(d, h, a)]
1919 else if ((f == a))
2020 then [ScriptTransfer(d, j, unit)]
2121 else throw("Tej waluty nie możesz wymienić")
2222 }
2323
2424
2525
2626 @Callable(c)
2727 func SzczepanNAszczepan () = {
2828 let d = c.caller
2929 let e = c.payments[0].amount
3030 let f = c.payments[0].assetId
3131 let h = fraction(e, 97, 100)
3232 if ((f == a))
33- then [Reissue(b, e, true), ScriptTransfer(d, h, b), Burn(a, e)]
33+ then [Reissue(b, h, true), ScriptTransfer(d, h, b), Burn(a, e)]
3434 else if ((f == b))
35- then [Reissue(a, e, true), ScriptTransfer(d, h, a), Burn(b, e)]
35+ then [Reissue(a, h, true), ScriptTransfer(d, h, a), Burn(b, e)]
3636 else throw("Tej waluty nie mozesz wymienić")
3737 }
3838
3939

github/deemru/w8io/026f985 
51.15 ms