tx · 4KNkU5CYPv4UVTTokV3RNTtDpGkRadv27TAk3xiYHU9c

3N7y2TP4pmoteerwLYjqziJDTRUqQQGQuM9:  -0.01000000 Waves

2022.05.19 03:01 [2057804] smart account 3N7y2TP4pmoteerwLYjqziJDTRUqQQGQuM9 > SELF 0.00000000 Waves

{ "type": 13, "id": "4KNkU5CYPv4UVTTokV3RNTtDpGkRadv27TAk3xiYHU9c", "fee": 1000000, "feeAssetId": null, "timestamp": 1652918548836, "version": 2, "chainId": 84, "sender": "3N7y2TP4pmoteerwLYjqziJDTRUqQQGQuM9", "senderPublicKey": "8Wi8LHN4dTGjqNSQrUfmNXjBWMx1ryZZGkTNX5Hmisgx", "proofs": [ "EDQcLUbhVTnUS2kBM29nPw9oAPCYRUAYDcK6oYN88QYe8djYoLVpbLE2SunaCg8xa2pgFHkpoqwbFcRry8rVj95" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIYVRvQlJhdGUAAAAAAAAAAAoAAAAABmFzc2V0QQEAAAAg0cKFmntUkAJzbvD4Ka+nq1x21XWyCqGRwRTO/+By2gYAAAAABmFzc2V0QgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAABAAAAAWkBAAAACmV4Y2hhbmdlQUIAAAAAAwkAAAAAAAACCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAAZhc3NldEEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAUAAAAIYVRvQlJhdGUFAAAABmFzc2V0QgUAAAADbmlsCQAAAgAAAAECAAAAEHVuZXhwZWN0ZWQgdG9rZW4AAAAAkUyr+Q==", "height": 2057804, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GuxQfDVQnCdxrjNbLBt5hhbsxCQac9PC1fhGw8rQKYJi Next: GX3WvYdNHaWUahcERDfVbnkLJxMMp1JYyjuZDywBAufx Diff:
OldNewDifferences
55
66 let assetA = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
77
8-let assetB = base58'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
8+let assetB = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
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'8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
8+let assetB = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
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 
31.00 ms