tx · 6vmBUJyps1XECjvnGhFosvemVPbi3wk9tFuBGAhXhPxm

3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf:  -0.01000000 Waves

2022.11.07 03:06 [2305963] smart account 3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf > SELF 0.00000000 Waves

{ "type": 13, "id": "6vmBUJyps1XECjvnGhFosvemVPbi3wk9tFuBGAhXhPxm", "fee": 1000000, "feeAssetId": null, "timestamp": 1667779591184, "version": 2, "chainId": 84, "sender": "3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf", "senderPublicKey": "Fvzdy4Qppd2VzNFAj8ySdyEvhoiRFQfm9WyUtWbe96zY", "proofs": [ "61UupMppRVqMu5TF2XJ7ZdgREDY9dW6cSxgoJGibwxNXmwgafx4yVpiMYGgRTzUB7mMG1u8nukBUWRpSB9uDMzjW" ], "script": "base64:BgEEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAZgIJAJADAQgFAnR4BnByb29mcwAACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwMJAAACCQClCAEJAKQIAQgFAXQEZEFwcAIjM010ejJUNm9MRmtLNEY3UXZTcmh0cFY3WjVnTWJyZW9ObWkJAAACCAUBdAhmdW5jdGlvbgIFZHVtbXkHAwkAZgIJAJADAQgFAXQIcGF5bWVudHMAAAkAAgECG3RoZXJlIHNob3VsZCBiZSBubyBwYXltZW50cwMDCQBmAggFAXQDZmVlAKDCHgYJAQlpc0RlZmluZWQBCAUBdApmZWVBc3NldElkCQACAQIZZmVlIHNob3VsZCBiZSAwLjAwNSBXQVZFUwYJAAIBAjlvbmx5IGNhbGxpbmcgc3BlY2lmaWVkIGZ1bmN0aW9uIG9uIHNwZWNpZmllZCBkYXBwIGFsbG93ZWQJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXn7CmND", "height": 2305963, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2rkpjZGSCLrkUqj1mNy9HcE8uTWB77YqjsmrfpibzPAg Next: 65mN5sfMcWWmYXBpiBR9iFJEXMJ9huHetBJ6bawMi3oM Diff:
OldNewDifferences
44 case t: InvokeScriptTransaction =>
55 if ((size(tx.proofs) > 0))
66 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
7- else throw(toString(addressFromRecipient(t.dApp)))
7+ else if (if ((toString(addressFromRecipient(t.dApp)) == "3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi"))
8+ then (t.function == "dummy")
9+ else false)
10+ then if ((size(t.payments) > 0))
11+ then throw("there should be no payments")
12+ else if (if ((t.fee > 500000))
13+ then true
14+ else isDefined(t.feeAssetId))
15+ then throw("fee should be 0.005 WAVES")
16+ else true
17+ else throw("only calling specified function on specified dapp allowed")
818 case _ =>
919 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1020 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 match tx {
44 case t: InvokeScriptTransaction =>
55 if ((size(tx.proofs) > 0))
66 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
7- else throw(toString(addressFromRecipient(t.dApp)))
7+ else if (if ((toString(addressFromRecipient(t.dApp)) == "3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi"))
8+ then (t.function == "dummy")
9+ else false)
10+ then if ((size(t.payments) > 0))
11+ then throw("there should be no payments")
12+ else if (if ((t.fee > 500000))
13+ then true
14+ else isDefined(t.feeAssetId))
15+ then throw("fee should be 0.005 WAVES")
16+ else true
17+ else throw("only calling specified function on specified dapp allowed")
818 case _ =>
919 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1020 }

github/deemru/w8io/169f3d6 
36.85 ms