tx · CQtZHq3MfuJxCC8vfYuCofGZ5Xm9ZTdxWnyG2jXeRBqm
3MqNCn9HaVUGKfrjL4FjdgzjXARsRLNof8z: -0.01400000 Waves
2022.10.19 09:49 [2278938] smart account 3MqNCn9HaVUGKfrjL4FjdgzjXARsRLNof8z > SELF 0.00000000 Waves
{
"type": 13,
"id": "CQtZHq3MfuJxCC8vfYuCofGZ5Xm9ZTdxWnyG2jXeRBqm",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1666162148001,
"version": 2,
"chainId": 84,
"sender": "3MqNCn9HaVUGKfrjL4FjdgzjXARsRLNof8z",
"senderPublicKey": "7ZmWbZgvzXKtXd46cMu2cLuuat3yog7bjvoWEnVCLwW2",
"proofs": [
"5D11QNAPqu7bdCRxaMw96LFdsajU9BqjpBChfJdwb7yMh51y48Bc5szjU9aE8WhBqsdVjXYtcCfNVU1Xyrew6Mp5"
],
"script": "base64:AAIFAAAAAAAAAAkIAhIFCgMCAgIAAAAAAAAAAQAAAAFpAQAAAAVjaGVjawAAAAMAAAACdmsAAAAFcHJvb2YAAAAGaW5wdXRzCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAAN3ZGEJAAMhAAAAAwUAAAACdmsFAAAABXByb29mBQAAAAZpbnB1dHMFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5oRkaMQ==",
"height": 2278938,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6Y7icU51zPuvuMh33CuE7LXX17ePk244d63z1tZG9YvU
Next: 8kCoGXTCUbK2Es35SGJEZ8PaUR5JkhycmKqhVs4FVLLz
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func check (t,signature,publicKey) = [BooleanEntry("boll", (ecrecover(t, signature) == publicKey))] |
---|
| 7 | + | func check (vk,proof,inputs) = [BooleanEntry("wda", bn256Groth16Verify(vk, proof, inputs))] |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | @Verifier(tx) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func check (t,signature,publicKey) = [BooleanEntry("boll", (ecrecover(t, signature) == publicKey))] |
---|
| 7 | + | func check (vk,proof,inputs) = [BooleanEntry("wda", bn256Groth16Verify(vk, proof, inputs))] |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | @Verifier(tx) |
---|
11 | 11 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 12 | | |
---|