tx · 9S81mDLxuV5TrZ2Su7x6T6JhCTNu7396RXDFxrgU1Yw4

3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD:  -0.01000000 Waves

2022.05.21 01:26 [2060600] smart account 3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD > SELF 0.00000000 Waves

{ "type": 13, "id": "9S81mDLxuV5TrZ2Su7x6T6JhCTNu7396RXDFxrgU1Yw4", "fee": 1000000, "feeAssetId": null, "timestamp": 1653085657126, "version": 2, "chainId": 84, "sender": "3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD", "senderPublicKey": "8F4ZcsWSMR7Eu5DunBcTmqoL1d4mtprsCG5Ra67VKXNC", "proofs": [ "44htGdbP8zRtcADNeJEEsa2y3Zpc78gys4F3vGF3Aj3gkcqKReuQjYGiW27WvCTgAPacdLknzRpRhbxFm5ZgVp8A" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIYVRvQlJhdGUAAAAAAAAAAAEAAAAABmFzc2V0QQEAAAAgwzkhWcvAfIIFEnoK+0v/D4UvhRJvJa6nfVKIDS6ICYYAAAAABmFzc2V0QgEAAAAg0cKFmntUkAJzbvD4Ka+nq1x21XWyCqGRwRTO/+By2gYAAAABAAAAAWkBAAAACmV4Y2hhbmdlQUIAAAAAAwkAAAAAAAACCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAAZhc3NldEEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAUAAAAIYVRvQlJhdGUFAAAABmFzc2V0QgUAAAADbmlsCQAAAgAAAAECAAAAEHVuZXhwZWN0ZWQgdG9rZW4AAAAAWqzKlQ==", "height": 2060600, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2KPWzwWLBFnRrLnEEQ7gLfpXtRNDqA6EghwKiEKFc3Di Next: 4fQ8wuFqdMJTq1fZEHq3cLuSn5yQGxV9vhoF7UvRdEye Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let aToBRate = 10
4+let aToBRate = 1
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
4+let aToBRate = 1
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 
37.48 ms