tx · 43yrV5R1kvpJ5Eb1VsC8emjFirUyuvNtRMX9bJo9wtUi
3NBP2r5HznA6UNRcu8Wo15zSwN2Aemz4W6J: -0.01000000 Waves
2024.10.08 13:23 [3317715] smart account 3NBP2r5HznA6UNRcu8Wo15zSwN2Aemz4W6J > SELF 0.00000000 Waves
{
"type": 13,
"id": "43yrV5R1kvpJ5Eb1VsC8emjFirUyuvNtRMX9bJo9wtUi",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1728383096669,
"version": 2,
"chainId": 84,
"sender": "3NBP2r5HznA6UNRcu8Wo15zSwN2Aemz4W6J",
"senderPublicKey": "2Dq54eQvDnEgvvvhyarxrTDPk8pbs1DyqDswzuCMfSLP",
"proofs": [
"3dZaGeH2skrpugg9fqkxEbBuXkxjYRYYBC8ZS8dd658qgMmo3YaRHuudszbd3hp3TGjiaSgskd58f252Y1VcMATD"
],
"script": "base64:BgICCAICAAlXZm5BZG1pbjEBIIEpjf7zo2fMC9x6/gxFkAhyBtCLJk+kDQ2dTKn9WKgPAAlXZm5BZG1pbjIBIMvTmb53WHUHJvV9nqBghPU+veJnI4FBwS8hYxX1FasMAAECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACFFNldFNjcmlwdFRyYW5zYWN0aW9uBAJzcwUHJG1hdGNoMAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFCVdmbkFkbWluMQkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUJV2ZuQWRtaW4yCQACAQIUeW91IGNhbid0IHNldCBzY3JpcHQJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXm5iEy8",
"height": 3317715,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: J3Y82er11FW1bRQrFdKUCw3Wysmj46VWJimXsJEWQVzV
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let WfnAdmin1 = base58'9hCLxoMBQCbNqrY8PkTe2ayo4AnDTYPh3uu2kR9Js8Cv' |
---|
| 5 | + | |
---|
| 6 | + | let WfnAdmin2 = base58'EieuPZ2m8Bd1szmWtA9L4uCxyYPoQkUTvqvgiP51vy79' |
---|
| 7 | + | |
---|
| 8 | + | |
---|
| 9 | + | @Verifier(tx) |
---|
| 10 | + | func verify () = match tx { |
---|
| 11 | + | case ss: SetScriptTransaction => |
---|
| 12 | + | if (sigVerify(tx.bodyBytes, tx.proofs[0], WfnAdmin1)) |
---|
| 13 | + | then sigVerify(tx.bodyBytes, tx.proofs[1], WfnAdmin2) |
---|
| 14 | + | else throw("you can't set script") |
---|
| 15 | + | case _ => |
---|
| 16 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 17 | + | } |
---|
| 18 | + | |
---|