tx · 9QLyKPYcF1VtEoam3kxtSNf1CzS5MafyhkZGbSt3ZxPB

3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD:  -0.01000000 Waves

2022.05.21 02:05 [2060637] smart account 3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD > SELF 0.00000000 Waves

{ "type": 13, "id": "9QLyKPYcF1VtEoam3kxtSNf1CzS5MafyhkZGbSt3ZxPB", "fee": 1000000, "feeAssetId": null, "timestamp": 1653088016598, "version": 2, "chainId": 84, "sender": "3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD", "senderPublicKey": "8F4ZcsWSMR7Eu5DunBcTmqoL1d4mtprsCG5Ra67VKXNC", "proofs": [ "5aWSqeyEM14LjqEVzVG9o2Pt7dktGBDk8REUYWvqKanqX23zUwJVqR5dyeXPvMTtAgAB5wL6YWEkB3RsjzK5zgqC" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIYVRvQlJhdGUJAABpAAAAAgD//////////wAAAAAAAAAACgAAAAAGYXNzZXRBAQAAACDDOSFZy8B8ggUSegr7S/8PhS+FEm8lrqd9UogNLogJhgAAAAAGYXNzZXRCAQAAACDRwoWae1SQAnNu8Pgpr6erXHbVdbIKoZHBFM7/4HLaBgAAAAEAAAABaQEAAAAKZXhjaGFuZ2VBQgAAAAADCQAAAAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQFAAAABmFzc2V0QQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABoAAAAAggJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BQAAAAhhVG9CUmF0ZQUAAAAGYXNzZXRCBQAAAANuaWwJAAACAAAAAQIAAAAQdW5leHBlY3RlZCB0b2tlbgAAAACgfbUp", "height": 2060637, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HRkiZ5M8x6JhanuJT9Vft7o4GaeAmbjDcbbAMqAuXjyf Next: EzAT1VhzRTN5eQTfjKHXkVu5DykCVSUsE4AsJQneFRun Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let aToBRate = (10 / 1)
4+let aToBRate = (-1 / 10)
55
66 let assetA = base58'E952b58BUAU6VPQN8MwW9XHmgbQ4V1T9fgQoJqW8ii6h'
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let aToBRate = (10 / 1)
4+let aToBRate = (-1 / 10)
55
66 let assetA = base58'E952b58BUAU6VPQN8MwW9XHmgbQ4V1T9fgQoJqW8ii6h'
77
88 let assetB = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
99
1010 @Callable(i)
1111 func exchangeAB () = if ((i.payments[0].assetId == assetA))
1212 then [ScriptTransfer(i.caller, (i.payments[0].amount * aToBRate), assetB)]
1313 else throw("unexpected token")
1414
1515

github/deemru/w8io/169f3d6 
36.09 ms