tx · A3hTgw8AEtRa6CdJamVwoY7mDPiJ69F5WsgixbRZRt2t
3MxC2ELFrGLqs4vLgJi94CxAEAsNGL6kyYz: -0.01000000 Waves
2022.12.20 00:21 [2367717] smart account 3MxC2ELFrGLqs4vLgJi94CxAEAsNGL6kyYz > SELF 0.00000000 Waves
{
"type": 13,
"id": "A3hTgw8AEtRa6CdJamVwoY7mDPiJ69F5WsgixbRZRt2t",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671484878833,
"version": 2,
"chainId": 84,
"sender": "3MxC2ELFrGLqs4vLgJi94CxAEAsNGL6kyYz",
"senderPublicKey": "2sv6mkK9dkvgmW5UPk3x3c5jp4XDUGQCP5DEhVCg6qQA",
"proofs": [
"3x5tAnvKySpmdTVBjT7hcrXpPF1eCb6BUf3EQHLg7vCcievQQ2nfga6irVRYpymzAczNkqUP7yjqPrJmU2T6kbtn"
],
"script": "base64:BgEEBkFkbWluMQEg54RA7mS0/UGVjtCH9/jf0vXKxMXdaTOr3V//Sv40alkEBkFkbWluMgEgwFjGCgS3VABD+dIBzKPW7EW8s/5sQPf4bTGn2yvNeiAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAAAIIBQF0BGRBcHAJAKYIAQIjM043YjNrUHVuSFVYaFpwMXZNRzlOaFBNQVJORXByQ01XeFQJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAiHQutC+0LvQtdC10LUsINC/0L7Qu9GD0YfQuCDQu9C4ID8DCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQZBZG1pbjEJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFBkFkbWluMgd4MjyJ",
"height": 2367717,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: EQ2KTTfmqR96p9Bp1SrkjaNAPqN4S9zPrGT8cCD2Dn7v
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 | + | } |
---|