tx · 9SucZkgRaeQN42bYCtauYD2TMv2mbjgek8XUwbKR43jH

3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq:  -0.01000000 Waves

2023.06.20 10:23 [2630655] smart account 3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq > SELF 0.00000000 Waves

{ "type": 13, "id": "9SucZkgRaeQN42bYCtauYD2TMv2mbjgek8XUwbKR43jH", "fee": 1000000, "feeAssetId": null, "timestamp": 1687245822589, "version": 2, "chainId": 84, "sender": "3MpMuGN8rW9EpPwzETAQz88Pe9TQhSwiriq", "senderPublicKey": "57SkjQUEwC1ayCqLbXLuzBqifK6B6SR6rfxtGsbAo3zW", "proofs": [ "5Y6iZMms77wWfD4uuXYpHb8BBrmDiyZT6fMiCmnHNcXcZMZuEakH1smjPjJy6x2a8zQ2EiVCQWp9XkgwVd4RB8KB" ], "script": "base64:BgICCAIBARFnZXRBZGRyZXNzQmFsYW5jZQINYWRkcmVzc1N0cmluZw1hc3NldElkU3RyaW5nBAdhZGRyZXNzCQERQGV4dHJOYXRpdmUoMTA2MikBBQ1hZGRyZXNzU3RyaW5nAwkAAAIFDWFzc2V0SWRTdHJpbmcCBVdBVkVTCAkA7wcBBQdhZGRyZXNzB3JlZ3VsYXIEB2Fzc2V0SWQJANkEAQUNYXNzZXRJZFN0cmluZwkA8AcCBQdhZGRyZXNzBQdhc3NldElkAADu/GW/", "height": 2630655, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GEAmUSPSdbA6jcRtyGUL26pQsScaZfjVTMSN6pYwQchv Next: 9KfYKRG3dzxJHQ5fRNycES6AMrv4WDrAYGV1ybFovkdA Diff:
OldNewDifferences
66 if ((assetIdString == "WAVES"))
77 then wavesBalance(address).regular
88 else {
9- let assetId = toBytes(assetIdString)
9+ let assetId = fromBase58String(assetIdString)
1010 assetBalance(address, assetId)
1111 }
1212 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getAddressBalance (addressString,assetIdString) = {
55 let address = addressFromStringValue(addressString)
66 if ((assetIdString == "WAVES"))
77 then wavesBalance(address).regular
88 else {
9- let assetId = toBytes(assetIdString)
9+ let assetId = fromBase58String(assetIdString)
1010 assetBalance(address, assetId)
1111 }
1212 }
1313
1414
1515

github/deemru/w8io/169f3d6 
22.76 ms