tx · F3odAY6e1Gw7PHopDFkV5urkvkSUYBoHS46zmvikzVR9
3N18HTDoQXAtrNGG6nDqkDSGEB7vXUDeMW7: -0.01000000 Waves
2022.12.20 00:02 [2367696] smart account 3N18HTDoQXAtrNGG6nDqkDSGEB7vXUDeMW7 > SELF 0.00000000 Waves
{
"type": 13,
"id": "F3odAY6e1Gw7PHopDFkV5urkvkSUYBoHS46zmvikzVR9",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671483781562,
"version": 2,
"chainId": 84,
"sender": "3N18HTDoQXAtrNGG6nDqkDSGEB7vXUDeMW7",
"senderPublicKey": "2pbKiFz4WQ3TPMYPyQQqnrePzvUS9ZiAX2koEmMYp6BT",
"proofs": [
"4MHvRXe9Kx9rLCP3RGu7u4vmXJ9GNTv4dwQSWXX6mUnbDXirfZCp6H3cbsC5DRAE3FVTT4BSkP799V3yPFmaWoNx"
],
"script": "base64:BgEEBkFkbWluMQEg4FpcJMjAYbIll84pMJmfwVw5Ys5pFvEd5cuKWJwyGFgEBkFkbWluMgEgkVqwN8XHi0SW5H6gGgzqNry7fpAkhOk6hsvpfR+G30oEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAAAIIBQF0BGRBcHAJAKYIAQIjM01yQWc1dldYTEZ3aFd5ZEpteHJzUExMNnJkclNVZUROYnYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAiHQutC+0LvQtdC10LUsINC/0L7Qu9GD0YfQuCDQu9C4ID8DCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQZBZG1pbjEJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFBkFkbWluMgeYLlg/",
"height": 2367696,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let Admin1 = base58'G6nEsHCof8Evf9ZZSjfiRotP8uE37cHU2Hrx4r3xiSqV' |
---|
| 4 | + | let Admin2 = base58'AnQKeEVCP9qDgbAqsFmMX7DfpVKdAMxgUHJhFKP8xvGh' |
---|
| 5 | + | match tx { |
---|
| 6 | + | case t: InvokeScriptTransaction => |
---|
| 7 | + | if ((t.dApp == addressFromString("3MrAg5vWXLFwhWydJmxrsPLL6rdrSUeDNbv"))) |
---|
| 8 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 9 | + | else throw("колеее, получи ли ?") |
---|
| 10 | + | case _ => |
---|
| 11 | + | if (sigVerify(tx.bodyBytes, tx.proofs[0], Admin1)) |
---|
| 12 | + | then sigVerify(tx.bodyBytes, tx.proofs[1], Admin2) |
---|
| 13 | + | else false |
---|
| 14 | + | } |
---|