tx · CCRqrLH2QzL3vHFoaP4eMjwMAJBJdodwxA5CmpAgDgsH
3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3: -0.01500000 Waves
2019.09.20 17:41 [684778] smart account 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "CCRqrLH2QzL3vHFoaP4eMjwMAJBJdodwxA5CmpAgDgsH",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1568990475331,
"version": 1,
"sender": "3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3",
"senderPublicKey": "FTjfgevHkmD3kcdRadPPNCxfsWvfecQ1cLQTtCPyN3BZ",
"proofs": [
"3LcBumwceN2jfg8tNJtuGn9pYKrX3RPM6EYcyJw7Q559qyMSAafcjxmuZmytLbsdUMZq7ywNCRf9fGRFYk3kXdvS"
],
"script": "base64:AAIDAAAAAAAAAAkIARIFCgMICAIAAAABAAAAAARwdWIxAgAAAa9iYXNlNjQ6TUlJQk9RSUJBQUpCQU9raXV6L0JWNEVqb3hHaFRtTkNidDJUZ2tiU1BIL3c2OWIzRjFyS21ENjFKaVBYdnZGOEwycEk5eE9ZY1c0Rm1vRVpWSGxSUXRBbGFKeWtsMytyc3JFQ0F3RUFBUUpBTktKT3ZCb2VjMTFrVjNxZmcvRmZyazY3UHRvQUpySnh6RnFFdjA2MkNKSFc5Q014SENJWjhmdUIwNExscDQvN3FkRWtwZEcvai80Sk9NMlJudlBaUVFJaEFQZkJvQUlNVkMxQUx1QWxaUUtBazZGU0MyOUNmOHJrenA4SkZxblFqR0QxQWlFQThPU1JlcHNNVzhtSUlpaTgvNWxDbEZFWE1oOC9BQ2pXVVFsTVJ3Vyt4VTBDSURLRmRVOTFuQ1N1RmVEM1B5WEhlbE5IRzdYUVphYkdDYXc4ZWphZXBFR1JBaUI4RldDU2hSZENtSGJWRWFMNURocnJoekdwa2NyRDdFVXBETjhMbm52NzZRSWdRTXZYOWg5ZC96UzNYK1ZRMzNrOVJUM1REUTJyUDVmZ2tnUHozQ0VLTGpvPQAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAAAwAAAAZudW1iZXIAAAAEVHhJZAAAAApTaWduYXR1cmUxBAAAAAJhMQkAAfgAAAAEBQAAAAZTSEEyNTYJAAGbAAAAAQUAAAAEVHhJZAUAAAAKU2lnbmF0dXJlMQkAAZsAAAABBQAAAARwdWIxCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAFX1RYSUQFAAAABFR4SWQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGbnVtYmVyAgAAAAhfVmVyaWZ5MQUAAAACYTEFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGNBW+1A==",
"chainId": 84,
"height": 684778,
"spentComplexity": 0
}
View: original | compacted
Prev: FeT4zrhDC8baQ1tFdj71uPV7MQZBuXqjWPhsbA3TvHQD
Next: DWfqwFdNhbhwxoPuvs19wWvTafKnDyjqFYhoMq7anjo5
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | |
---|
| 4 | + | let pub1 = "base64:MIIBOQIBAAJBAOkiuz/BV4EjoxGhTmNCbt2TgkbSPH/w69b3F1rKmD61JiPXvvF8L2pI9xOYcW4FmoEZVHlRQtAlaJykl3+rsrECAwEAAQJANKJOvBoec11kV3qfg/Ffrk67PtoAJrJxzFqEv062CJHW9CMxHCIZ8fuB04Llp4/7qdEkpdG/j/4JOM2RnvPZQQIhAPfBoAIMVC1ALuAlZQKAk6FSC29Cf8rkzp8JFqnQjGD1AiEA8OSRepsMW8mIIii8/5lClFEXMh8/ACjWUQlMRwW+xU0CIDKFdU91nCSuFeD3PyXHelNHG7XQZabGCaw8ejaepEGRAiB8FWCShRdCmHbVEaL5DhrrhzGpkcrD7EUpDN8Lnnv76QIgQMvX9h9d/zS3X+VQ33k9RT3TDQ2rP5fgkgPz3CEKLjo=" |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func checkSign (number,TxId,Signature1,PublicKey1) = { |
---|
8 | | - | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1) |
---|
| 7 | + | func checkSign (number,TxId,Signature1) = { |
---|
| 8 | + | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, toBytes(pub1)) |
---|
9 | 9 | | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1)]) |
---|
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 pub1 = "base64:MIIBOQIBAAJBAOkiuz/BV4EjoxGhTmNCbt2TgkbSPH/w69b3F1rKmD61JiPXvvF8L2pI9xOYcW4FmoEZVHlRQtAlaJykl3+rsrECAwEAAQJANKJOvBoec11kV3qfg/Ffrk67PtoAJrJxzFqEv062CJHW9CMxHCIZ8fuB04Llp4/7qdEkpdG/j/4JOM2RnvPZQQIhAPfBoAIMVC1ALuAlZQKAk6FSC29Cf8rkzp8JFqnQjGD1AiEA8OSRepsMW8mIIii8/5lClFEXMh8/ACjWUQlMRwW+xU0CIDKFdU91nCSuFeD3PyXHelNHG7XQZabGCaw8ejaepEGRAiB8FWCShRdCmHbVEaL5DhrrhzGpkcrD7EUpDN8Lnnv76QIgQMvX9h9d/zS3X+VQ33k9RT3TDQ2rP5fgkgPz3CEKLjo=" |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func checkSign (number,TxId,Signature1,PublicKey1) = { |
---|
8 | | - | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1) |
---|
| 7 | + | func checkSign (number,TxId,Signature1) = { |
---|
| 8 | + | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, toBytes(pub1)) |
---|
9 | 9 | | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1)]) |
---|
10 | 10 | | } |
---|
11 | 11 | | |
---|
12 | 12 | | |
---|
13 | 13 | | @Verifier(tx) |
---|
14 | 14 | | func verify () = true |
---|
15 | 15 | | |
---|