tx · DWfqwFdNhbhwxoPuvs19wWvTafKnDyjqFYhoMq7anjo5
3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3: -0.01500000 Waves
2019.09.20 17:45 [684782] smart account 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "DWfqwFdNhbhwxoPuvs19wWvTafKnDyjqFYhoMq7anjo5",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1568990755784,
"version": 1,
"sender": "3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3",
"senderPublicKey": "FTjfgevHkmD3kcdRadPPNCxfsWvfecQ1cLQTtCPyN3BZ",
"proofs": [
"3fDapsBJCcszijad35skx3cytZ2uLEnwWee8DufpQFHtcrQdcSCHKJpRDiUNUUUE4PW7kzNDB3Jw4tErspQENeCR"
],
"script": "base64:AAIDAAAAAAAAAAkIARIFCgMICAIAAAACAAAAAARwdWIxAgAAAa9iYXNlNjQ6TUlJQk9RSUJBQUpCQU9raXV6L0JWNEVqb3hHaFRtTkNidDJUZ2tiU1BIL3c2OWIzRjFyS21ENjFKaVBYdnZGOEwycEk5eE9ZY1c0Rm1vRVpWSGxSUXRBbGFKeWtsMytyc3JFQ0F3RUFBUUpBTktKT3ZCb2VjMTFrVjNxZmcvRmZyazY3UHRvQUpySnh6RnFFdjA2MkNKSFc5Q014SENJWjhmdUIwNExscDQvN3FkRWtwZEcvai80Sk9NMlJudlBaUVFJaEFQZkJvQUlNVkMxQUx1QWxaUUtBazZGU0MyOUNmOHJrenA4SkZxblFqR0QxQWlFQThPU1JlcHNNVzhtSUlpaTgvNWxDbEZFWE1oOC9BQ2pXVVFsTVJ3Vyt4VTBDSURLRmRVOTFuQ1N1RmVEM1B5WEhlbE5IRzdYUVphYkdDYXc4ZWphZXBFR1JBaUI4RldDU2hSZENtSGJWRWFMNURocnJoekdwa2NyRDdFVXBETjhMbm52NzZRSWdRTXZYOWg5ZC96UzNYK1ZRMzNrOVJUM1REUTJyUDVmZ2tnUHozQ0VLTGpvPQAAAAAEc2lnMQIAAABfYmFzZTY0OmdFUXhYNGcyUDdtVjJHR3lYamE4N2UvVThGZHNKcFE3bEQ1VkwrblprOHpNdGNpNlVGZW52eGYxT2ZMZXF0MkJ4S1ZnOEtFcDVwRVpmMFdVM3MvTXFnPT0AAAABAAAAAWkBAAAACWNoZWNrU2lnbgAAAAMAAAAGbnVtYmVyAAAABFR4SWQAAAAKU2lnbmF0dXJlMQQAAAACYTEJAAH4AAAABAUAAAAGU0hBMjU2CQABmwAAAAEFAAAABFR4SWQFAAAAClNpZ25hdHVyZTEJAAGbAAAAAQUAAAAEcHViMQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAABV9UWElEBQAAAARUeElkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAIX1ZlcmlmeTEFAAAAAmExBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABhSOJy4=",
"chainId": 84,
"height": 684782,
"spentComplexity": 0
}
View: original | compacted
Prev: CCRqrLH2QzL3vHFoaP4eMjwMAJBJdodwxA5CmpAgDgsH
Next: 5qCpZHicHZLjE4PJjrWPW4yTmyTGFJgV7RZo1xcyQm5
Diff:
Old | New | | Differences |
---|
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 | + | |
---|
| 6 | + | let sig1 = "base64:gEQxX4g2P7mV2GGyXja87e/U8FdsJpQ7lD5VL+nZk8zMtci6UFenvxf1OfLeqt2BxKVg8KEp5pEZf0WU3s/Mqg==" |
---|
5 | 7 | | |
---|
6 | 8 | | @Callable(i) |
---|
7 | 9 | | func checkSign (number,TxId,Signature1) = { |
---|
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 | + | |
---|
| 6 | + | let sig1 = "base64:gEQxX4g2P7mV2GGyXja87e/U8FdsJpQ7lD5VL+nZk8zMtci6UFenvxf1OfLeqt2BxKVg8KEp5pEZf0WU3s/Mqg==" |
---|
5 | 7 | | |
---|
6 | 8 | | @Callable(i) |
---|
7 | 9 | | func checkSign (number,TxId,Signature1) = { |
---|
8 | 10 | | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, toBytes(pub1)) |
---|
9 | 11 | | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1)]) |
---|
10 | 12 | | } |
---|
11 | 13 | | |
---|
12 | 14 | | |
---|
13 | 15 | | @Verifier(tx) |
---|
14 | 16 | | func verify () = true |
---|
15 | 17 | | |
---|