tx · APErps5CQNG8DpF78MawZ7c34byaUgP9WczaH1JwsFzi

3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf:  -0.01000000 Waves

2022.11.07 02:53 [2305951] smart account 3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf > SELF 0.00000000 Waves

{ "type": 13, "id": "APErps5CQNG8DpF78MawZ7c34byaUgP9WczaH1JwsFzi", "fee": 1000000, "feeAssetId": null, "timestamp": 1667778796232, "version": 2, "chainId": 84, "sender": "3NC919nbxwuSaHY8X6x8NmqD1zZdWSd7gaf", "senderPublicKey": "Fvzdy4Qppd2VzNFAj8ySdyEvhoiRFQfm9WyUtWbe96zY", "proofs": [ "62vs3bUgq57rC2TXju36bmmN8sRqE1BVjCXhAhAxL8UNbnAfKDyEoriRAufwGStqab5Md8soC72v7UYS24yHzh24" ], "script": "base64:BgEEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwAwkAZgIJAJADAQgFAnR4BnByb29mcwAACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwMJAAACCQETdmFsdWVPckVycm9yTWVzc2FnZQIIBQF0BGRBcHACEkNhbid0IEdldCB0aGUgZEFwcAkBEUBleHRyTmF0aXZlKDEwNjIpAQIjM010ejJUNm9MRmtLNEY3UXZTcmh0cFY3WjVnTWJyZW9ObWkJAAACCQETdmFsdWVPckVycm9yTWVzc2FnZQIIBQF0CGZ1bmN0aW9uAhZDYW4ndCBnZXQgdGhlIGZ1bmN0aW9uAgVkdW1teQcDCQBmAgkAkAMBCQETdmFsdWVPckVycm9yTWVzc2FnZQIIBQF0CHBheW1lbnRzAhZDYW4ndCBnZXQgdGhlIHBheW1lbnRzAAAJAAIBAht0aGVyZSBzaG91bGQgYmUgbm8gcGF5bWVudHMDAwkAZgIJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAggFAXQDZmVlAhFDYW4ndCBnZXQgdGhlIGZlZQCgwh4GCQEJaXNEZWZpbmVkAQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCAUBdApmZWVBc3NldElkAhpDYW4ndCBnZXQgdGhlIGZlZSBhc3NldCBpZAkAAgECGWZlZSBzaG91bGQgYmUgMC4wMDUgV0FWRVMGCQACAQI5b25seSBjYWxsaW5nIHNwZWNpZmllZCBmdW5jdGlvbiBvbiBzcGVjaWZpZWQgZGFwcCBhbGxvd2VkCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V565mqkA==", "height": 2305951, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B9yr2Y8Zii7v3Cwop1NaL8ja6KKq3ay564LypLiCMoyV Next: 2rkpjZGSCLrkUqj1mNy9HcE8uTWB77YqjsmrfpibzPAg 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 ((t.dApp == addressFromStringValue("3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")))
8- then (t.function == "dummy")
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")
99 else false)
10- then if ((size(t.payments) > 0))
10+ then if ((size(valueOrErrorMessage(t.payments, "Can't get the payments")) > 0))
1111 then throw("there should be no payments")
12- else if (if ((t.fee > 500000))
12+ else if (if ((valueOrErrorMessage(t.fee, "Can't get the fee") > 500000))
1313 then true
14- else isDefined(t.feeAssetId))
14+ else isDefined(valueOrErrorMessage(t.feeAssetId, "Can't get the fee asset id")))
1515 then throw("fee should be 0.005 WAVES")
1616 else true
1717 else throw("only calling specified function on specified dapp allowed")
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 ((t.dApp == addressFromStringValue("3Mtz2T6oLFkK4F7QvSrhtpV7Z5gMbreoNmi")))
8- then (t.function == "dummy")
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")
99 else false)
10- then if ((size(t.payments) > 0))
10+ then if ((size(valueOrErrorMessage(t.payments, "Can't get the payments")) > 0))
1111 then throw("there should be no payments")
12- else if (if ((t.fee > 500000))
12+ else if (if ((valueOrErrorMessage(t.fee, "Can't get the fee") > 500000))
1313 then true
14- else isDefined(t.feeAssetId))
14+ else isDefined(valueOrErrorMessage(t.feeAssetId, "Can't get the fee asset id")))
1515 then throw("fee should be 0.005 WAVES")
1616 else true
1717 else throw("only calling specified function on specified dapp allowed")
1818 case _ =>
1919 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2020 }

github/deemru/w8io/169f3d6 
20.91 ms