tx · 2hcQ2xwUqr5oXDWLFSShJpAj3fYK1AkhuojFtkjgc2zX

3PQMRDFJmZGqXnYjA3K3xQTWQ23DRse5rmf:  -0.01400000 Waves

2022.03.20 20:19 [3037702] smart account 3PQMRDFJmZGqXnYjA3K3xQTWQ23DRse5rmf > SELF 0.00000000 Waves

{ "type": 13, "id": "2hcQ2xwUqr5oXDWLFSShJpAj3fYK1AkhuojFtkjgc2zX", "fee": 1400000, "feeAssetId": null, "timestamp": 1647796841858, "version": 2, "chainId": 87, "sender": "3PQMRDFJmZGqXnYjA3K3xQTWQ23DRse5rmf", "senderPublicKey": "EcET11378gd58psVS3wK9s2SGfqngtcziP3cRtW6PoPZ", "proofs": [ "5TFvmNepm2nV8hehsLJxFxqaJeJeP2PFBU4WLLpYtqx6yLU3DB3e7fzHmiZKtWT69eQHVad1jUfrdKtU7nDSaGXk" ], "script": null, "height": 3037702, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9jstU14gBKzoWiZQvjc8EsnDVJVs7GHTNZ1JDgS4XV21 Next: 7aaNUBwLksTbVsqyDp1jTPfS8XKYpbPxZVqzpwrauNpt Full:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
2-{-# CONTENT_TYPE EXPRESSION #-}
3-let masterAccAdress = base58'3PJ5m5pQz84rXJy5Z5mixSaCQmkGHhGKH3k'
4-let masterAccPubKey = base58'45W6DExkKmj9C5FHSLv1CLa2y5V4WYgK5x58s93qYAHA'
5-let poolsOracleAdrress = base58'3PAtABQNZzoM4KdfBb7J73UiVUAbPQ8opxy'
6-func isPuzzleSwapPool (poolAddress) = match getString(Address(poolsOracleAdrress), ("pool_" + toString(poolAddress))) {
7- case s: String =>
8- (size(s) > 0)
9- case _ =>
10- false
11-}
12-
13-match tx {
14- case t: TransferTransaction =>
15- if (sigVerify(tx.bodyBytes, tx.proofs[0], masterAccPubKey))
16- then true
17- else if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
18- then (t.recipient == Address(masterAccAdress))
19- else false
20- case i: InvokeScriptTransaction =>
21- if (sigVerify(tx.bodyBytes, tx.proofs[0], masterAccPubKey))
22- then true
23- else if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey))
24- then isPuzzleSwapPool(addressFromRecipient(i.dApp))
25- else false
26- case _ =>
27- sigVerify(tx.bodyBytes, tx.proofs[0], masterAccPubKey)
28-}
1+# no script

github/deemru/w8io/6500d08 
30.49 ms