tx · 3mWz1BYUfBpNTrBw2xpdmCkv6xdLiSKyUp8a48wSv5kA
3N4pvyW25MGvt2xF4ur55NuGbpKvmp3YXfW: -0.01500000 Waves
2019.07.12 12:38 [582338] smart account 3N4pvyW25MGvt2xF4ur55NuGbpKvmp3YXfW > SELF 0.00000000 Waves
{
"type": 13,
"id": "3mWz1BYUfBpNTrBw2xpdmCkv6xdLiSKyUp8a48wSv5kA",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1562924395209,
"version": 1,
"sender": "3N4pvyW25MGvt2xF4ur55NuGbpKvmp3YXfW",
"senderPublicKey": "6Vs6C6CLyS6vKCB2u3VMq5chJQa4k6XHUizPRetDYMGd",
"proofs": [
"5hRU5bZPPmhGqkwGvpWKX2XjVSsVJEkqPzbm4DN4cXhdYqKtrBahpHfAckjS73HZpcgVFPJxqpySk9qwcCesigH4"
],
"script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAAlwdWJsaWNLZXkCAAAAh2Jhc2U2NDpNRnd3RFFZSktvWklodmNOQVFFQkJRQURTd0F3U0FKQkFNWnVMb0xIVjVmY3VxUC9LakhvUTZWc1pTa1NXRjJBd1JBTHJMZ1RVZlhZc2RKdzF6djB0OXY3SUhSNjNnN1lyb0N2VUZTWG0xUm1PaFMxWGpyNXlJRUNBd0VBQVE9PQAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAABAAAAAZudW1iZXIAAAAEVHhJZAAAAAlTaWduYXR1cmUAAAAJUHVibGljS2V5BAAAAAFhCQAB+AAAAAQFAAAABlNIQTI1NgkAAZsAAAABBQAAAARUeElkBQAAAAlTaWduYXR1cmUJAAGbAAAAAQUAAAAJcHVibGljS2V5CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAEX1B1YgUAAAAJUHVibGljS2V5CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAFX1RYSUQFAAAABFR4SWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAApfU2lnbmF0dXJlBQAAAAlTaWduYXR1cmUJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAdfVmVyaWZ5BQAAAAFhBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABiHw1GE=",
"chainId": 84,
"height": 582338,
"spentComplexity": 0
}
View: original | compacted
Prev: 2qULXx2d5FqYxmUXU1JqHCCSohqrQ1EVhySadskW6J3Z
Next: CyGPB6PoGdRG1PzYoBRAjHAZ6axKmk79RAL52c8P3UBk
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func checkSign (c,d,e,f) = { |
---|
8 | | - | let g = rsaVerify(SHA256, toBytes(d), e, f) |
---|
| 8 | + | let g = rsaVerify(SHA256, toBytes(d), e, toBytes(a)) |
---|
9 | 9 | | WriteSet([DataEntry((c + "_Pub"), f), DataEntry((c + "_TXID"), d), DataEntry((c + "_Signature"), e), DataEntry((c + "_Verify"), g)]) |
---|
10 | 10 | | } |
---|
11 | 11 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = "base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMZuLoLHV5fcuqP/KjHoQ6VsZSkSWF2AwRALrLgTUfXYsdJw1zv0t9v7IHR63g7YroCvUFSXm1RmOhS1Xjr5yIECAwEAAQ==" |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(b) |
---|
7 | 7 | | func checkSign (c,d,e,f) = { |
---|
8 | | - | let g = rsaVerify(SHA256, toBytes(d), e, f) |
---|
| 8 | + | let g = rsaVerify(SHA256, toBytes(d), e, toBytes(a)) |
---|
9 | 9 | | WriteSet([DataEntry((c + "_Pub"), f), DataEntry((c + "_TXID"), d), DataEntry((c + "_Signature"), e), DataEntry((c + "_Verify"), g)]) |
---|
10 | 10 | | } |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|
13 | 13 | | @Verifier(h) |
---|
14 | 14 | | func i () = true |
---|
15 | 15 | | |
---|