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