tx · 518obKXosGnX6zUmSFEVbaNLKD4KNcLMHFC5Fc3w1zQQ
3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3: -0.01500000 Waves
2019.09.20 09:29 [684279] smart account 3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "518obKXosGnX6zUmSFEVbaNLKD4KNcLMHFC5Fc3w1zQQ",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1568960968461,
"version": 1,
"sender": "3MzbJGw4eewZaFchoewZQv9mMH25AoNgMb3",
"senderPublicKey": "FTjfgevHkmD3kcdRadPPNCxfsWvfecQ1cLQTtCPyN3BZ",
"proofs": [
"izTWHpUxU7vPh23JacEH6zAYgjBWn51k9HpGXvziDU3ZjsVTJCcpMTbkDsFQRsPKKooNamj2yuQmwCHgUN8Bv6S"
],
"script": "base64:AAIDAAAAAAAAAA4IARIKCggICAICAgICAgAAAAAAAAABAAAAAWkBAAAACWNoZWNrU2lnbgAAAAgAAAAGbnVtYmVyAAAABFR4SWQAAAAKU2lnbmF0dXJlMQAAAApTaWduYXR1cmUyAAAAClNpZ25hdHVyZTMAAAAKUHVibGljS2V5MQAAAApQdWJsaWNLZXkyAAAAClB1YmxpY0tleTMEAAAABHBtbnQJAQAAAAdleHRyYWN0AAAAAQgFAAAAAWkAAAAHcGF5bWVudAQAAAAMYXNzZXRJZGNoZWNrCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBtbnQAAAAHYXNzZXRJZAQAAAACYTEJAAH4AAAABAUAAAAGU0hBMjU2CQABmwAAAAEFAAAABFR4SWQFAAAAClNpZ25hdHVyZTEFAAAAClB1YmxpY0tleTEEAAAAAmEyCQAB+AAAAAQFAAAABlNIQTI1NgkAAZsAAAABBQAAAARUeElkBQAAAApTaWduYXR1cmUyBQAAAApQdWJsaWNLZXkyBAAAAAJhMwkAAfgAAAAEBQAAAAZTSEEyNTYJAAGbAAAAAQUAAAAEVHhJZAUAAAAKU2lnbmF0dXJlMwUAAAAKUHVibGljS2V5MgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAABV9UWElEBQAAAARUeElkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAIX1ZlcmlmeTEFAAAAAmExCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAIX1ZlcmlmeTIFAAAAAmEyCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIFAAAABm51bWJlcgIAAAAIX1ZlcmlmeTMFAAAAAmEzBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABi7D74Y=",
"chainId": 84,
"height": 684279,
"spentComplexity": 0
}
View: original | compacted
Prev: J1GRAjN72CcSKj9Bb1Xxti7jk6Frid8bi6HsrXri6aJ9
Next: FeT4zrhDC8baQ1tFdj71uPV7MQZBuXqjWPhsbA3TvHQD
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let RSAKey512 = fromBase64String("base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJRdebp5GXHagez7kZ++gNIt0fMe7WGvgskBJAcoDlQVnA8cNh/sjxSH68hnXEVTe17IlsVqLjHYW2JJUZkiJ1UCAwEAAQ==") |
---|
5 | 4 | | |
---|
6 | | - | let RSAKey2048 = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlemr95J1jZUs7cJmrmmlN4zo7YVsBJzIeJdk8LDFGhUKSI6yfs20ZyJe21+6GJwNnKUU1Uyoc17wSWMKkrZ0MMvYE+Z5AiijvBK4sSJ3IgGjdU8/NhI8CBDu0F+xRM9q3TB3LLbDy5sBdudYfHfsUOc+MTvAD69n27db2Rh8+yZQMtubkuTQNp89sphHQaLGyQFaNlK/Na3lFx6omqzaa1gjoplUr6rvYKgfAICUB3zVmJShiEi7w7R0hWlNRD3qcZjCUONSpFo4WbzknGOazw84B+IMIFnIpXWzQL8RX0vNcfsBvLDfM6k2ZacqwyMKaLLqigdBiGdJ7W+0lOStOQIDAQAB") |
---|
7 | 5 | | |
---|
8 | 6 | | @Callable(i) |
---|
9 | 7 | | func checkSign (number,TxId,Signature1,Signature2,Signature3,PublicKey1,PublicKey2,PublicKey3) = { |
---|
|
12 | 10 | | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1) |
---|
13 | 11 | | let a2 = rsaVerify(SHA256, toBytes(TxId), Signature2, PublicKey2) |
---|
14 | 12 | | let a3 = rsaVerify(SHA256, toBytes(TxId), Signature3, PublicKey2) |
---|
15 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify1"), a2), DataEntry((number + "_Verify1"), a3)]) |
---|
| 13 | + | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify2"), a2), DataEntry((number + "_Verify3"), a3)]) |
---|
16 | 14 | | } |
---|
17 | 15 | | |
---|
18 | 16 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let RSAKey512 = fromBase64String("base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJRdebp5GXHagez7kZ++gNIt0fMe7WGvgskBJAcoDlQVnA8cNh/sjxSH68hnXEVTe17IlsVqLjHYW2JJUZkiJ1UCAwEAAQ==") |
---|
5 | 4 | | |
---|
6 | | - | let RSAKey2048 = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlemr95J1jZUs7cJmrmmlN4zo7YVsBJzIeJdk8LDFGhUKSI6yfs20ZyJe21+6GJwNnKUU1Uyoc17wSWMKkrZ0MMvYE+Z5AiijvBK4sSJ3IgGjdU8/NhI8CBDu0F+xRM9q3TB3LLbDy5sBdudYfHfsUOc+MTvAD69n27db2Rh8+yZQMtubkuTQNp89sphHQaLGyQFaNlK/Na3lFx6omqzaa1gjoplUr6rvYKgfAICUB3zVmJShiEi7w7R0hWlNRD3qcZjCUONSpFo4WbzknGOazw84B+IMIFnIpXWzQL8RX0vNcfsBvLDfM6k2ZacqwyMKaLLqigdBiGdJ7W+0lOStOQIDAQAB") |
---|
7 | 5 | | |
---|
8 | 6 | | @Callable(i) |
---|
9 | 7 | | func checkSign (number,TxId,Signature1,Signature2,Signature3,PublicKey1,PublicKey2,PublicKey3) = { |
---|
10 | 8 | | let pmnt = extract(i.payment) |
---|
11 | 9 | | let assetIdcheck = isDefined(pmnt.assetId) |
---|
12 | 10 | | let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1) |
---|
13 | 11 | | let a2 = rsaVerify(SHA256, toBytes(TxId), Signature2, PublicKey2) |
---|
14 | 12 | | let a3 = rsaVerify(SHA256, toBytes(TxId), Signature3, PublicKey2) |
---|
15 | | - | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify1"), a2), DataEntry((number + "_Verify1"), a3)]) |
---|
| 13 | + | WriteSet([DataEntry((number + "_TXID"), TxId), DataEntry((number + "_Verify1"), a1), DataEntry((number + "_Verify2"), a2), DataEntry((number + "_Verify3"), a3)]) |
---|
16 | 14 | | } |
---|
17 | 15 | | |
---|
18 | 16 | | |
---|
19 | 17 | | @Verifier(tx) |
---|
20 | 18 | | func verify () = true |
---|
21 | 19 | | |
---|