tx · DmEvoNtfouYRyRk238qN5fQS7bFnas6Bprh9gb4DoamK

3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt:  -0.05000000 Waves

2023.03.22 11:40 [2501003] smart account 3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt > SELF 0.00000000 Waves

{ "type": 13, "id": "DmEvoNtfouYRyRk238qN5fQS7bFnas6Bprh9gb4DoamK", "fee": 5000000, "feeAssetId": null, "timestamp": 1679474457243, "version": 2, "chainId": 84, "sender": "3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt", "senderPublicKey": "FACNGaFYnR8yFbQFg9sRBpzGVCyzMyLeVw3JMhGQT1wn", "proofs": [ "3EwYnbwgWjiDQqjguToh5BgZVYquQDXi6o5jULwsnPYMj7bQq3TYqgJSSdncp2S86CTG5Kk1KWytqfmTcepHAQ6i" ], "script": "base64:BgIGCAISABIABAATcGVwZUNvbnRyYWN0QWRkcmVzcwIjM040a1haSEdrZTZ5UnEzWjU3cTdCVGdDclQyU0N2UUNZRVIADnNXYXZlc0lkU3RyaW5nAixGWGlGeGVkUDc2Q21nMXY0WEdORFlKcE5FOWdUR1BSRzF6amZrbVVzR2hGbQAMcGVwZUNvbnRyYWN0CQERQGV4dHJOYXRpdmUoMTA2MikBBRNwZXBlQ29udHJhY3RBZGRyZXNzAAZzV2F2ZXMJANkEAQUOc1dhdmVzSWRTdHJpbmcCAWkBB2dldFJhdGUABAdyZXN1bHRzCQD8BwQFDHBlcGVDb250cmFjdAIHZ2V0UmF0ZQUDbmlsBQNuaWwEByRtYXRjaDAFB3Jlc3VsdHMDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF0BQckbWF0Y2gwCQCUCgIFA25pbAUBdAkAAgECBUVycm9yAWkBB2RlcG9zaXQABAxzdGFydEJhbGFuY2UJAPAHAgUEdGhpcwUGc1dhdmVzAwkAAAIFDHN0YXJ0QmFsYW5jZQUMc3RhcnRCYWxhbmNlBAdyZXN1bHRzCQD8BwQFDHBlcGVDb250cmFjdAIHZGVwb3NpdAUDbmlsCAUBaQhwYXltZW50cwQHJG1hdGNoMAUHcmVzdWx0cwMJAAECBQckbWF0Y2gwAgRVbml0BAFhBQckbWF0Y2gwBApuZXdCYWxhbmNlCQDwBwIFBHRoaXMFBnNXYXZlcwkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIJAGUCBQpuZXdCYWxhbmNlBQxzdGFydEJhbGFuY2UFBnNXYXZlcwUDbmlsCQACAQINRXJyb3IgZGVwb3NpdAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgCj3/dK", "height": 2501003, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6dqSR13AkJcTe5n48uyEH118aPSDkV82espR2dK82kZs Next: D1Zxi7LVxf9iCyNDmz6ur6unYyY37eyBjF8cjNGaPrYE Diff:
OldNewDifferences
2626 @Callable(e)
2727 func deposit () = {
2828 let i = assetBalance(this, d)
29- let f = invoke(c, "deposit", nil, e.payments)
30- if ((f == f))
29+ if ((i == i))
3130 then {
31+ let f = invoke(c, "deposit", nil, e.payments)
3232 let g = f
3333 if ($isInstanceOf(g, "Unit"))
3434 then {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3N4kXZHGke6yRq3Z57q7BTgCrT2SCvQCYER"
55
66 let b = "FXiFxedP76Cmg1v4XGNDYJpNE9gTGPRG1zjfkmUsGhFm"
77
88 let c = addressFromStringValue(a)
99
1010 let d = fromBase58String(b)
1111
1212 @Callable(e)
1313 func getRate () = {
1414 let f = invoke(c, "getRate", nil, nil)
1515 let g = f
1616 if ($isInstanceOf(g, "String"))
1717 then {
1818 let h = g
1919 $Tuple2(nil, h)
2020 }
2121 else throw("Error")
2222 }
2323
2424
2525
2626 @Callable(e)
2727 func deposit () = {
2828 let i = assetBalance(this, d)
29- let f = invoke(c, "deposit", nil, e.payments)
30- if ((f == f))
29+ if ((i == i))
3130 then {
31+ let f = invoke(c, "deposit", nil, e.payments)
3232 let g = f
3333 if ($isInstanceOf(g, "Unit"))
3434 then {
3535 let j = g
3636 let k = assetBalance(this, d)
3737 [ScriptTransfer(e.caller, (k - i), d)]
3838 }
3939 else throw("Error deposit")
4040 }
4141 else throw("Strict value is not equal to itself.")
4242 }
4343
4444

github/deemru/w8io/026f985 
23.84 ms