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 a = base58'9hCLxoMBQCbNqrY8PkTe2ayo4AnDTYPh3uu2kR9Js8Cv' |
---|
| 5 | + | |
---|
| 6 | + | let b = base58'EieuPZ2m8Bd1szmWtA9L4uCxyYPoQkUTvqvgiP51vy79' |
---|
| 7 | + | |
---|
| 8 | + | |
---|
| 9 | + | @Verifier(c) |
---|
| 10 | + | func d () = { |
---|
| 11 | + | let e = c |
---|
| 12 | + | if ($isInstanceOf(e, "SetScriptTransaction")) |
---|
| 13 | + | then { |
---|
| 14 | + | let f = e |
---|
| 15 | + | if (sigVerify(c.bodyBytes, c.proofs[0], a)) |
---|
| 16 | + | then sigVerify(c.bodyBytes, c.proofs[1], b) |
---|
| 17 | + | else throw("you can't set script") |
---|
| 18 | + | } |
---|
| 19 | + | else sigVerify(c.bodyBytes, c.proofs[0], c.senderPublicKey) |
---|
| 20 | + | } |
---|
| 21 | + | |
---|