tx · 5R2VgWJ9WCL8oFFYhVnwCAdmhMaAUKzDUXzgkAudCMcT

3MpTrfRhg53gCpMfQYE5Tc8DH8jynkPX7Mw:  -0.00100000 Waves

2022.09.13 07:00 [2226819] smart account 3MpTrfRhg53gCpMfQYE5Tc8DH8jynkPX7Mw > SELF 0.00000000 Waves

{ "type": 13, "id": "5R2VgWJ9WCL8oFFYhVnwCAdmhMaAUKzDUXzgkAudCMcT", "fee": 100000, "feeAssetId": null, "timestamp": 1663041715347, "version": 2, "chainId": 84, "sender": "3MpTrfRhg53gCpMfQYE5Tc8DH8jynkPX7Mw", "senderPublicKey": "AZagFBYfQhNpk6VXgrAn9xKm9zkAcZGyhzbvSYJSMMHM", "proofs": [ "2oMpwLGaRknyM5n13BoC9KWsnHFvXAg1s79jrpjaFrNGXhqVtrHr2S6mYkQMjiwWyNphVqCUGNxhyUZ4j7rt2G2w" ], "script": "base64:BgIKCAISBgoECAgEBAEABWFkbWluCQERQGV4dHJOYXRpdmUoMTA2MikBAiMzUFBpck5NUjhaZHA4VlBBaEphaVdadmtpNTEyVlRyS01oMwEBaQEOd2l0aGRyYXdWZXN0ZWQEAWEBYgFjAWQDCQECIT0CCAUBaQZjYWxsZXIFBWFkbWluCQACAQIBIQQDaW52CQD8BwQJARFAZXh0ck5hdGl2ZSgxMDYyKQEFAWEFAWIJAMwIAgUBYwkAzAgCBQFkBQNuaWwFA25pbAMJAAACBQNpbnYFA2ludgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkAyBMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleXMEssg=", "height": 2226819, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: NufugYfuSSq6cuLN7gdRYKLnzTL695yGGFdoiqGfLYE Next: FB8PWr6haaFGMXsYWj7wu1ijFUNPzdRTwC3AjNPgGgeL Diff:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let admin = addressFromStringValue("3P2ETTTFbquK5SSiRPUZwjsX3JxbMKnrBx1")
5-
6-let main = addressFromStringValue("3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT")
7-
8-let assetStrings = ["6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ", "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ", "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"]
9-
10-let reserves = [addressFromStringValue("3PGCkrHBxFMi7tz1xqnxgBpeNvn5E4M4g8S"), addressFromStringValue("3PEiD1zJWTMZNWSCyzhvBw9pxxAWeEwaghR"), addressFromStringValue("3PCwFXSq8vj8iKitA5zrrLRbuqehfmimpce")]
4+let admin = addressFromStringValue("3PPirNMR8Zdp8VPAhJaiWZvki512VTrKMh3")
115
126 @Callable(i)
13-func w (bb,p,maxLimit) = if ((i.caller != admin))
7+func withdrawVested (a,b,c,d) = if ((i.caller != admin))
148 then throw("!")
159 else {
16- let assetIdString = assetStrings[bb]
17- let assetId = fromBase58String(assetIdString)
18- let reserve = reserves[bb]
19- let available = assetBalance(reserve, assetId)
20- let v = if ((available > maxLimit))
21- then maxLimit
22- else available
23- let ret = invoke(main, "withdraw", [assetIdString, v], nil)
24- nil
10+ let inv = invoke(addressFromStringValue(a), b, [c, d], nil)
11+ if ((inv == inv))
12+ then nil
13+ else throw("Strict value is not equal to itself.")
2514 }
2615
2716
Full:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let admin = addressFromStringValue("3P2ETTTFbquK5SSiRPUZwjsX3JxbMKnrBx1")
5-
6-let main = addressFromStringValue("3PAZv9tgK1PX7dKR7b4kchq5qdpUS3G5sYT")
7-
8-let assetStrings = ["6XtHjpXbs9RRJP2Sr9GUyVqzACcby9TkThHXnjVC5CDJ", "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ", "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"]
9-
10-let reserves = [addressFromStringValue("3PGCkrHBxFMi7tz1xqnxgBpeNvn5E4M4g8S"), addressFromStringValue("3PEiD1zJWTMZNWSCyzhvBw9pxxAWeEwaghR"), addressFromStringValue("3PCwFXSq8vj8iKitA5zrrLRbuqehfmimpce")]
4+let admin = addressFromStringValue("3PPirNMR8Zdp8VPAhJaiWZvki512VTrKMh3")
115
126 @Callable(i)
13-func w (bb,p,maxLimit) = if ((i.caller != admin))
7+func withdrawVested (a,b,c,d) = if ((i.caller != admin))
148 then throw("!")
159 else {
16- let assetIdString = assetStrings[bb]
17- let assetId = fromBase58String(assetIdString)
18- let reserve = reserves[bb]
19- let available = assetBalance(reserve, assetId)
20- let v = if ((available > maxLimit))
21- then maxLimit
22- else available
23- let ret = invoke(main, "withdraw", [assetIdString, v], nil)
24- nil
10+ let inv = invoke(addressFromStringValue(a), b, [c, d], nil)
11+ if ((inv == inv))
12+ then nil
13+ else throw("Strict value is not equal to itself.")
2514 }
2615
2716
2817 @Verifier(tx)
2918 func verify () = sigVerify_128Kb(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3019

github/deemru/w8io/169f3d6 
32.97 ms