tx · F9L7mjreyXqbmBP8R9s5duPXaP8GBGMJidQScMrCmkeq 3MyscWBUbD5NcoKByG3j39MUGyAn2JXp42s: -0.01000000 Waves 2022.12.23 20:05 [2373197] smart account 3MyscWBUbD5NcoKByG3j39MUGyAn2JXp42s > SELF 0.00000000 Waves
{ "type": 13, "id": "F9L7mjreyXqbmBP8R9s5duPXaP8GBGMJidQScMrCmkeq", "fee": 1000000, "feeAssetId": null, "timestamp": 1671815210261, "version": 2, "chainId": 84, "sender": "3MyscWBUbD5NcoKByG3j39MUGyAn2JXp42s", "senderPublicKey": "Aac6UGVZtr3TJVmxgXdHy7GbA2A2FvyXvaEG5WsA5FW9", "proofs": [ "2Fsw1pvn6aGAh7x1VXBGDxW2LH3VfWLADzT6pVhQkzf8tbupkyiwvCTGSvGvHAhB8vwxcnLAaCdtugN5CpEC3C1U" ], "script": "base64:BgIECAISAAIADHZpcmVzVmVzdGluZwkBB0FkZHJlc3MBARoBV3US3ZOCD1veJXYVOctJ1R9TKAnE6HFeJwASd2hpdGVsaXN0ZWRBZGRyZXNzCQEHQWRkcmVzcwEBGgFXbTmpMnI9Wcs9CVewTqGDeZw0WPqYDKiSAQFpARV3aXRoZHJhd1Zlc3RlZEFsbFVTRE4AAwMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkBAiE9AggFAWkGY2FsbGVyBRJ3aGl0ZWxpc3RlZEFkZHJlc3MHCQACAQINQWNjZXNzIERlbmllZAQEY2FsbAkA/AcEBQx2aXJlc1Zlc3RpbmcCFXdpdGhkcmF3VmVzdGVkQWxsVVNETgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUEY2FsbAUEY2FsbAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EA2ludgUHJG1hdGNoMAMJAAACCQCkCAEIBQNpbnYEZEFwcAUEdGhpcwYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkU+etT", "height": 2373197, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3xaWpmyoQiv9xARLQCbXArps2pK6h2aPXN52jYry3enm Next: DPWVoUD3DAM82dz72BadypD3xmrkBQgCFxgqirPzsAm Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let viresVesting = Address(base58'3PCbvPVQfSvVu88ip8Fm5YjwJhjEYk1Txhk') | |
5 | 5 | ||
6 | 6 | let whitelistedAddress = Address(base58'3PBtRTWNTLcmFFccELJizbjHdrgYrSmwy1b') | |
7 | 7 | ||
8 | 8 | @Callable(i) | |
9 | 9 | func withdrawVestedAllUSDN () = if (if ((i.caller != this)) | |
10 | 10 | then (i.caller != whitelistedAddress) | |
11 | 11 | else false) | |
12 | 12 | then throw("Access Denied") | |
13 | 13 | else { | |
14 | 14 | let call = invoke(viresVesting, "withdrawVestedAllUSDN", [false, true], nil) | |
15 | 15 | if ((call == call)) | |
16 | 16 | then nil | |
17 | 17 | else throw("Strict value is not equal to itself.") | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | @Verifier(tx) | |
22 | 22 | func verify () = match tx { | |
23 | 23 | case inv: InvokeScriptTransaction => | |
24 | 24 | if ((addressFromRecipient(inv.dApp) == this)) | |
25 | 25 | then true | |
26 | 26 | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
27 | 27 | case _ => | |
28 | 28 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
29 | 29 | } | |
30 | 30 |
github/deemru/w8io/169f3d6 34.54 ms ◑