tx · 93p9e9XKZSiTU9jf3s2rq1s8MNhEaBMzJhxDSosUgB72

3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD:  -0.01000000 Waves

2022.05.21 02:41 [2060669] smart account 3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD > SELF 0.00000000 Waves

{ "type": 13, "id": "93p9e9XKZSiTU9jf3s2rq1s8MNhEaBMzJhxDSosUgB72", "fee": 1000000, "feeAssetId": null, "timestamp": 1653090159821, "version": 2, "chainId": 84, "sender": "3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD", "senderPublicKey": "8F4ZcsWSMR7Eu5DunBcTmqoL1d4mtprsCG5Ra67VKXNC", "proofs": [ "Y69ZsAfE8fQt2bVYVwzFdefZvQJYaht3Z6dx6zRkak1fhrGQcGuKrkEeYY1Wd5rWLc3GAhyKt7aZySo8fFPRxVQ" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIYVRvQlJhdGUAAAAAAAAAAAoAAAAABmFzc2V0QQEAAAAgwzkhWcvAfIIFEnoK+0v/D4UvhRJvJa6nfVKIDS6ICYYAAAAABmFzc2V0QgEAAAAg0cKFmntUkAJzbvD4Ka+nq1x21XWyCqGRwRTO/+By2gYAAAABAAAAAWkBAAAACmV4Y2hhbmdlQUIAAAAAAwkAAAAAAAACCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAAZhc3NldEEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaQAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAUAAAAIYVRvQlJhdGUFAAAABmFzc2V0QgUAAAADbmlsCQAAAgAAAAECAAAAEHVuZXhwZWN0ZWQgdG9rZW4AAAAAQ3fWBQ==", "height": 2060669, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7DLAdxiAiRta9QmqALydMDATQtXmTjZqbVPi9JgNJqMN Next: CS9FErp42C7ddnA39eUq31bmwEPi6SHB9y15fP5mQGVv Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = (10 / 1)
4+let a = 10
55
66 let b = base58'E952b58BUAU6VPQN8MwW9XHmgbQ4V1T9fgQoJqW8ii6h'
77
99
1010 @Callable(d)
1111 func exchangeAB () = if ((d.payments[0].assetId == b))
12- then [ScriptTransfer(d.caller, (d.payments[0].amount * a), c)]
12+ then [ScriptTransfer(d.caller, (d.payments[0].amount / a), c)]
1313 else throw("unexpected token")
1414
1515
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = (10 / 1)
4+let a = 10
55
66 let b = base58'E952b58BUAU6VPQN8MwW9XHmgbQ4V1T9fgQoJqW8ii6h'
77
88 let c = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
99
1010 @Callable(d)
1111 func exchangeAB () = if ((d.payments[0].assetId == b))
12- then [ScriptTransfer(d.caller, (d.payments[0].amount * a), c)]
12+ then [ScriptTransfer(d.caller, (d.payments[0].amount / a), c)]
1313 else throw("unexpected token")
1414
1515

github/deemru/w8io/169f3d6 
42.45 ms