tx · ECxzn7pKkzLxiAfhAVgXqajRxZLC9794SrJ4HqJjzonm
3MxtWkDXBWvKpPjxDU4nsoFbQ3X2kJTuGJS: -0.01000000 Waves
2024.10.08 14:56 [3317812] smart account 3MxtWkDXBWvKpPjxDU4nsoFbQ3X2kJTuGJS > SELF 0.00000000 Waves
{
"type": 13,
"id": "ECxzn7pKkzLxiAfhAVgXqajRxZLC9794SrJ4HqJjzonm",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1728388595088,
"version": 2,
"chainId": 84,
"sender": "3MxtWkDXBWvKpPjxDU4nsoFbQ3X2kJTuGJS",
"senderPublicKey": "Co9G9JVga8MtPFZeq5ExZKr8iGwxT53gZeroaQrFWKRU",
"proofs": [
"4azgcdn5SFfkZF3Ctf5oVK71UAtWzfPGpZAtog4nh4gGdkQLunCV8d9K8zJqCALY655TK16b49BuyXCt93rJiLKh"
],
"script": "base64:BgICCAICAAlXZm5BZG1pbjEBIIEpjf7zo2fMC9x6/gxFkAhyBtCLJk+kDQ2dTKn9WKgPAAlXZm5BZG1pbjIBIMvTmb53WHUHJvV9nqBghPU+veJnI4FBwS8hYxX1FasMAAECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACFFNldFNjcmlwdFRyYW5zYWN0aW9uBAJzcwUHJG1hdGNoMAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFCVdmbkFkbWluMQkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUJV2ZuQWRtaW4yCQACAQIUeW91IGNhbid0IHNldCBzY3JpcHQJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXm5iEy8",
"height": 3317812,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: HR4zXSAaSf3QsEcQFJkpejjQPq1vdCaMTR1j9ynhDkzi
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 | + | |
---|