tx · ByVsw2Yqjiv3QUq9DT18QUE892YFnxz6kXCH44x6icLR
3MxC2ELFrGLqs4vLgJi94CxAEAsNGL6kyYz: -0.01000000 Waves
2022.12.20 00:32 [2367732] smart account 3MxC2ELFrGLqs4vLgJi94CxAEAsNGL6kyYz > SELF 0.00000000 Waves
{
"type": 13,
"id": "ByVsw2Yqjiv3QUq9DT18QUE892YFnxz6kXCH44x6icLR",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671485618044,
"version": 2,
"chainId": 84,
"sender": "3MxC2ELFrGLqs4vLgJi94CxAEAsNGL6kyYz",
"senderPublicKey": "2sv6mkK9dkvgmW5UPk3x3c5jp4XDUGQCP5DEhVCg6qQA",
"proofs": [
"5c7jMyAaAQBG7bujfYgRF7ow3ChcLHqokUmgaGhAyAPyaiBp5bRAJK32vynMbGqSS8onfrQEUGmxuat78hLZNThd"
],
"script": "base64:BgEEBkFkbWluMQEg54RA7mS0/UGVjtCH9/jf0vXKxMXdaTOr3V//Sv40alkEBkFkbWluMgEgwFjGCgS3VABD+dIBzKPW7EW8s/5sQPf4bTGn2yvNeiAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAAAIIBQF0BGRBcHAJAKYIAQIjM043YjNrUHVuSFVYaFpwMXZNRzlOaFBNQVJORXByQ01XeFQJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAiHQutC+0LvQtdC10LUsINC/0L7Qu9GD0YfQuCDQu9C4ID8DCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQZBZG1pbjEJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFBkFkbWluMgd4MjyJ",
"height": 2367732,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EQ2KTTfmqR96p9Bp1SrkjaNAPqN4S9zPrGT8cCD2Dn7v
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let Admin1 = base58'Gak9MKMEoa1YCjRqBHocBhv4ht7AatdqnNnNuKWScgYp' |
---|
| 4 | + | let Admin2 = base58'DwqnoqEvRPzM9armbexiTeATRPRZXBrTSiHbTW6KeWk7' |
---|
| 5 | + | match tx { |
---|
| 6 | + | case t: InvokeScriptTransaction => |
---|
| 7 | + | if ((t.dApp == addressFromString("3N7b3kPunHUXhZp1vMG9NhPMARNEprCMWxT"))) |
---|
| 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 | + | } |
---|