tx · 9wa3JDmiDuSPzAFEpdjXwvvuWHzHhkb47cGDNg1yAaTB

3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD:  -0.01000000 Waves

2022.05.28 22:01 [2071906] smart account 3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD > SELF 0.00000000 Waves

{ "type": 13, "id": "9wa3JDmiDuSPzAFEpdjXwvvuWHzHhkb47cGDNg1yAaTB", "fee": 1000000, "feeAssetId": null, "timestamp": 1653764498396, "version": 2, "chainId": 84, "sender": "3NCed7Sa796vCpoqBQNy7abWjxd6Njs6EuD", "senderPublicKey": "8F4ZcsWSMR7Eu5DunBcTmqoL1d4mtprsCG5Ra67VKXNC", "proofs": [ "2TZ1G3vhUQveVw6aahKw7k6M3MQ21HLN6wn1SqpHWxUGJNeQca3QqfZ1cGAC3SGENfXKYXhC9WrTGfFWvFhuaSPW" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIYVRvQlJhdGUAAAAAAAAAAAoAAAAABmFzc2V0QQEAAAAg0cKFmntUkAJzbvD4Ka+nq1x21XWyCqGRwRTO/+By2gYAAAAABmFzc2V0QgEAAAAgkvazDSUKkOsL7P/wOzvqeJqrEocuGaH6C1DimRy9h+0AAAABAAAAAWkBAAAACmV4Y2hhbmdlQUIAAAAAAwkAAAAAAAACCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAAZhc3NldEEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaQAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAUAAAAIYVRvQlJhdGUFAAAABmFzc2V0QgUAAAADbmlsCQAAAgAAAAECAAAAEHVuZXhwZWN0ZWQgdG9rZW4AAAAA/tnYNA==", "height": 2071906, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4CtZBs9S5aaCxjwrsR33hd3aDTCzk8E3TnDNM5M5JeqH Next: none Diff:
OldNewDifferences
55
66 let assetA = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
77
8-let assetB = base58'8f6H2o9GAuXyyGrCJDAAVWBtLEecRD9sedNXi8zfotZz'
8+let assetB = base58'AtghxHfy4ekkx1X83drW8FMhyquaVBcRHvYJ3n9Jbmcp'
99
1010 @Callable(i)
1111 func exchangeAB () = if ((i.payments[0].assetId == assetA))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let aToBRate = 10
55
66 let assetA = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
77
8-let assetB = base58'8f6H2o9GAuXyyGrCJDAAVWBtLEecRD9sedNXi8zfotZz'
8+let assetB = base58'AtghxHfy4ekkx1X83drW8FMhyquaVBcRHvYJ3n9Jbmcp'
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 
40.65 ms