tx · 2YDMcb6cMf6vJMdafP7G8dn4LMJHVCVo5X2R4Ev3oCY9 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X: -0.00100000 Waves 2022.09.07 14:45 [2218647] smart account 3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X > SELF 0.00000000 Waves
{ "type": 13, "id": "2YDMcb6cMf6vJMdafP7G8dn4LMJHVCVo5X2R4Ev3oCY9", "fee": 100000, "feeAssetId": null, "timestamp": 1662551162296, "version": 2, "chainId": 84, "sender": "3Mx1uXHEcEHWYUL8zRV8dgVaCTrw3Kdjg6X", "senderPublicKey": "7DRdJkCr5JgAyJLsUMLziE9ikak86Nwx7wG7iBySTcfT", "proofs": [ "3LpSh8F3MvTNC2SYriCEyqJrLBhCyVRmwwEoE4tRVTHpwG4gKKwembbBX4XjRcFkyV6WMWjmzb3sQf7ytPV2uyBo" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAABAAAAAAEVVNETgEAAAAgtiYpwwT1zlORpA5LdSQvZIxRsfrfr1QpvUjSHSqyqtEAAAAAC3plZnRBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUWNrxmjmLLW4wpSmJ7QSSgepPBatxqnRMAAAAAAx6ZWZ0QWRkcmVzczEJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSZN1zMQsUTwYnpFLfF9+FuX1mJ02dsbcsAAAAADHplZnRBZGRyZXNzMgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVHgMpkVAFKqWqyz2ZP2ykaWHaI/6fqNX8wAAAAEAAAABaQEAAAAGY2FsbF8xAAAAAAQAAAAFYWRtaW4CAAAAIzNNeDF1WEhFY0VIV1lVTDh6UlY4ZGdWYUNUcnczS2RqZzZYAwkBAAAAAiE9AAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAABWFkbWluCQAAAgAAAAECAAAAEW9ubHkgYWRtaW4gY2FuIGRvBAAAAAZyZXN1bHQJAAP8AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM04zdERVdllUVWtQajk5WEs2YWhZWTFzZUtRc3NTUFNVeGECAAAACHVzZG5fMTAwBQAAAANuaWwFAAAAA25pbAQAAAAHcmVzdWx0MgkAA/wAAAAECQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABAgAAACMzTXpycjFxcEdzRHcyWVQxYmVwa2hqdW1NY2luRHZDS21veAIAAAAIdXNkbl8xMDAFAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAAZyZXN1bHQFAAAABnJlc3VsdAkAAAIAAAABAgAAAAxtYWluIHN1Y2Nlc3MJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAALFFNbA=", "height": 2218647, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E2DQv2R7HVoY1ZYKtEujgXaZ1AFeZb6kmWkyw3drzX4c Next: 5pz2N2JWLfDi6q5BvZuN7bSGszE37faHTq7ecx9JvEb2 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 == result)) | |
21 | 21 | then throw("main success") | |
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 == result)) | |
21 | 21 | then throw("main success") | |
22 | 22 | else throw("Strict value is not equal to itself.") | |
23 | 23 | } | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 |
github/deemru/w8io/169f3d6 28.44 ms ◑