tx · D9Rb9ywnPMWS67DiUsyKuXgWM8fSEptXKbXnXMFWjNLM 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X: -0.00100000 Waves 2022.09.07 14:50 [2218652] smart account 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X > SELF 0.00000000 Waves
{ "type": 13, "id": "D9Rb9ywnPMWS67DiUsyKuXgWM8fSEptXKbXnXMFWjNLM", "fee": 100000, "feeAssetId": null, "timestamp": 1662551450858, "version": 2, "chainId": 84, "sender": "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X", "senderPublicKey": "7DRdJkCr5JgAyJLsUMLziE9ikak86Nwx7wG7iBySTcfT", "proofs": [ "4reuB3iEEBgMpNnwkUaXCPkwU9WrcQ63V6mSqW218wVsGfRHab8PtyDTT23pNcM76wQ9mHgFg7FJWp4Xp27U9K1N" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAABAAAAAAEVVNETgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAAAC3plZnRBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUWNrxmjmLLW4wpSmJ7QSSgepPBatxqnRMAAAAAAx6ZWZ0QWRkcmVzczEJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSZN1zMQsUTwYnpFLfF9+FuX1mJ02dsbcsAAAAADHplZnRBZGRyZXNzMgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVHgMpkVAFKqWqyz2ZP2ykaWHaI/6fqNX8wAAAAEAAAABaQEAAAAGY2FsbF8xAAAAAAQAAAAFYWRtaW4CAAAAIzNNeDF1WEhFY0VIV1lVTDh6UlY4ZGdWYUNUcnczS2RqZzZYAwkBAAAAAiE9AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAABWFkbWluCQAAAgAAAAECAAAAEW9ubHkgYWRtaW4gY2FuIGRvBAAAAAZyZXN1bHQJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM04zdERVdllUVWtQajk5WEs2YWhZWTFzZUtRc3NTUFNVeGECAAAACHVzZG5fMTAwBQAAAANuaWwFAAAAA25pbAQAAAAHcmVzdWx0MgkAA/wAAAAECQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXpycjFxcEdzRHcyWVQxYmVwa2hqdW1NY2luRHZDS21veAIAAAAIdXNkbl8xMDAFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAAZyZXN1bHQFAAAAB3Jlc3VsdDIFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAATLcXxg==", "height": 2218652, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: pCJEXPfYKZYBhb6oiWwS5R7WcDEPqsVqLA5drAmRMJP Next: 4RDy1pjNkEPAoWbd8jFYbWpnVFWzsvd86fLSQDvfMWqy Diff:
Old | New | Differences | |
---|---|---|---|
17 | 17 | else { | |
18 | 18 | let result = invoke(addressFromStringValue("3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa"), "usdn_100", nil, nil) | |
19 | 19 | let result2 = invoke(addressFromStringValue("3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox"), "usdn_100", nil, nil) | |
20 | - | if (( | |
20 | + | if ((result == result2)) | |
21 | 21 | then nil | |
22 | 22 | else throw("Strict value is not equal to itself.") | |
23 | 23 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let USDN = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
5 | 5 | ||
6 | 6 | let zeftAddress = Address(base58'3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X') | |
7 | 7 | ||
8 | 8 | let zeftAddress1 = Address(base58'3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa') | |
9 | 9 | ||
10 | 10 | let zeftAddress2 = Address(base58'3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox') | |
11 | 11 | ||
12 | 12 | @Callable(i) | |
13 | 13 | func call_1 () = { | |
14 | 14 | let admin = "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X" | |
15 | 15 | if ((toString(i.caller) != admin)) | |
16 | 16 | then throw("only admin can do") | |
17 | 17 | else { | |
18 | 18 | let result = invoke(addressFromStringValue("3N3tDUvYTUkPj99XK6ahYY1seKQssSPSUxa"), "usdn_100", nil, nil) | |
19 | 19 | let result2 = invoke(addressFromStringValue("3Mzrr1qpGsDw2YT1bepkhjumMcinDvCKmox"), "usdn_100", nil, nil) | |
20 | - | if (( | |
20 | + | if ((result == result2)) | |
21 | 21 | then nil | |
22 | 22 | else throw("Strict value is not equal to itself.") | |
23 | 23 | } | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 |
github/deemru/w8io/026f985 30.69 ms ◑