2023.02.28 20:22 [3535317] smart account 3P56jQQeNCb1dZXfT2VLUDwa8fB745uAeH2 > SELF 0.00000000 Waves

{ "type": 13, "id": "6CWH8pL1skhMvaSivVC18xo7EzpxZWjgYMuNPkjK8XJh", "fee": 1000000, "feeAssetId": null, "timestamp": 1677604888211, "version": 2, "chainId": 87, "sender": "3P56jQQeNCb1dZXfT2VLUDwa8fB745uAeH2", "senderPublicKey": "4f2cpw55QvfHfAwhwNG4bhT46QLVe1jy7rPjJ23WEUHg", "proofs": [ "5h3jD6qBDR4DjGbwVcLMDCCUc1pesT7L5ezeDcEukp2YxGd4yT8GGBA2Db2sJqPkPguAG5EpUjZkY2xr8Ph8Ratj" ], "script": null, "height": 3535317, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3g2i5LZUPWfWsn9DKGQZ9dwTteDfoAhKjtLo8X7er6jU Next: none Full:
OldNewDifferences
1-{-# STDLIB_VERSION 6 #-}
2-{-# SCRIPT_TYPE ACCOUNT #-}
3-{-# CONTENT_TYPE DAPP #-}
4-let USDN_ASSET = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
5-
6-let vestingDapp = Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk')
7-
8-let myCallerAddress = Address(base58'3P7CdVcnUPwvxX5HEsX8Y1DR1cCMLSYKvUb')
9-
10-@Callable(i)
11-func withdraw (whale,regular) = if ((i.caller != myCallerAddress))
12- then throw("only the specified user is allowed to call this DAPP")
13- else {
14- let withdrawalAmount = invoke(vestingDapp, "withdrawVestedAllUSDN", [whale, regular], nil)
15- if ((withdrawalAmount == withdrawalAmount))
16- then match withdrawalAmount {
17- case amount: Int =>
18- nil
19- case _ =>
20- throw("Strict value is not equal to itself.")
21- }
22- else throw("Strict value is not equal to itself.")
23- }
24-
25-
1+# no script

github/deemru/w8io/786bc32 
18.50 ms