tx · 2rkpjZGSCLrkUqj1mNy9HcE8uTWB77YqjsmrfpibzPAg

3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf:  -0.01000000 Waves

2022.11.07 03:04 [2305962] smart account 3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf > SELF 0.00000000 Waves

{ "type": 13, "id": "2rkpjZGSCLrkUqj1mNy9HcE8uTWB77YqjsmrfpibzPAg", "fee": 1000000, "feeAssetId": null, "timestamp": 1667779502013, "version": 2, "chainId": 84, "sender": "3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf", "senderPublicKey": "Fvzdy4Qppd2VzNFAj8ySdyEvhoiRFQfm9WyUtWbe96zY", "proofs": [ "5KsCL8KT7Aomoj3ymgSdQPi7YpHHRsmDh93NiLdCB3cTtGfJL72PpGKENT5fiwAyQemFxFnWNqtaTUsdcSjfaa4j" ], "script": "base64:BgEEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAZgIJAJADAQgFAnR4BnByb29mcwAACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5CQACAQkApQgBCQCkCAEIBQF0BGRBcHAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmi+9dI", "height": 2305962, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: APErps5CQNG8DpF78MawZ7c34byaUgP9WczaH1JwsFzi Next: 6vmBUJyps1XECjvnGhFosvemVPbi3wk9tFuBGAhXhPxm Diff:
OldNewDifferences
44 case t: InvokeScriptTransaction =>
55 if ((size(tx.proofs) > 0))
66 then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
7- else if (if ((valueOrErrorMessage(t.dApp, "Can't Get the dApp") == addressFromStringValue("3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")))
8- then (valueOrErrorMessage(t.function, "Can't get the function") == "dummy")
9- else false)
10- then if ((size(valueOrErrorMessage(t.payments, "Can't get the payments")) > 0))
11- then throw("there should be no payments")
12- else if (if ((valueOrErrorMessage(t.fee, "Can't get the fee") > 500000))
13- then true
14- else isDefined(valueOrErrorMessage(t.feeAssetId, "Can't get the fee asset id")))
15- then throw("fee should be 0.005 WAVES")
16- else true
17- else throw("only calling specified function on specified dapp allowed")
7+ else throw(toString(addressFromRecipient(t.dApp)))
188 case _ =>
199 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2010 }
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 if (if ((valueOrErrorMessage(t.dApp, "Can't Get the dApp") == addressFromStringValue("3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")))
8- then (valueOrErrorMessage(t.function, "Can't get the function") == "dummy")
9- else false)
10- then if ((size(valueOrErrorMessage(t.payments, "Can't get the payments")) > 0))
11- then throw("there should be no payments")
12- else if (if ((valueOrErrorMessage(t.fee, "Can't get the fee") > 500000))
13- then true
14- else isDefined(valueOrErrorMessage(t.feeAssetId, "Can't get the fee asset id")))
15- then throw("fee should be 0.005 WAVES")
16- else true
17- else throw("only calling specified function on specified dapp allowed")
7+ else throw(toString(addressFromRecipient(t.dApp)))
188 case _ =>
199 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2010 }

github/deemru/w8io/169f3d6 
22.07 ms