tx · GX3WvYdNHaWUahcERDfVbnkLJxMMp1JYyjuZDywBAufx

3N7y2TP4pmoteerwLYjqziJDTRUqQQGQuM9:  -0.01000000 Waves

2022.05.19 03:13 [2057813] smart account 3N7y2TP4pmoteerwLYjqziJDTRUqQQGQuM9 > SELF 0.00000000 Waves

{ "type": 13, "id": "GX3WvYdNHaWUahcERDfVbnkLJxMMp1JYyjuZDywBAufx", "fee": 1000000, "feeAssetId": null, "timestamp": 1652919175227, "version": 2, "chainId": 84, "sender": "3N7y2TP4pmoteerwLYjqziJDTRUqQQGQuM9", "senderPublicKey": "8Wi8LHN4dTGjqNSQrUfmNXjBWMx1ryZZGkTNX5Hmisgx", "proofs": [ "39jTFuzGjnWE2NFeesPLGcqYwa92Qby89C7bAnpJJXKP7YeL561zitPK6uwoY6HhkquqDPQvabdpTkkKAAZbSrQe" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAAIYVRvQlJhdGUAAAAAAAAAAAoAAAAABmFzc2V0QQEAAAAg0cKFmntUkAJzbvD4Ka+nq1x21XWyCqGRwRTO/+By2gYAAAAABmFzc2V0QgEAAAAgwzkhWcvAfIIFEnoK+0v/D4UvhRJvJa6nfVKIDS6ICYYAAAABAAAAAWkBAAAACmV4Y2hhbmdlQUIAAAAAAwkAAAAAAAACCAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAAAAAdhc3NldElkBQAAAAZhc3NldEEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAABmFtb3VudAUAAAAIYVRvQlJhdGUFAAAABmFzc2V0QgUAAAADbmlsCQAAAgAAAAECAAAAEHVuZXhwZWN0ZWQgdG9rZW4AAAAA1uGC5w==", "height": 2057813, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4KNkU5CYPv4UVTTokV3RNTtDpGkRadv27TAk3xiYHU9c Next: EgAS8dTc2yeZirNUj3Ad5EiEjW4zehN79tHNuWqtUseT Diff:
OldNewDifferences
55
66 let assetA = base58'F7pFD6pwuLhnd3hsa5rKmmbGuVLvrkqTmzcrpUxRexZb'
77
8-let assetB = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
8+let assetB = base58'E952b58BUAU6VPQN8MwW9XHmgbQ4V1T9fgQoJqW8ii6h'
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'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
8+let assetB = base58'E952b58BUAU6VPQN8MwW9XHmgbQ4V1T9fgQoJqW8ii6h'
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 
47.43 ms