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:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let RSAKey512 = fromBase64String("base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJRdebp5GXHagez7kZ++gNIt0fMe7WGvgskBJAcoDlQVnA8cNh/sjxSH68hnXEVTe17IlsVqLjHYW2JJUZkiJ1UCAwEAAQ==")
54
6-let RSAKey2048 = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlemr95J1jZUs7cJmrmmlN4zo7YVsBJzIeJdk8LDFGhUKSI6yfs20ZyJe21+6GJwNnKUU1Uyoc17wSWMKkrZ0MMvYE+Z5AiijvBK4sSJ3IgGjdU8/NhI8CBDu0F+xRM9q3TB3LLbDy5sBdudYfHfsUOc+MTvAD69n27db2Rh8+yZQMtubkuTQNp89sphHQaLGyQFaNlK/Na3lFx6omqzaa1gjoplUr6rvYKgfAICUB3zVmJShiEi7w7R0hWlNRD3qcZjCUONSpFo4WbzknGOazw84B+IMIFnIpXWzQL8RX0vNcfsBvLDfM6k2ZacqwyMKaLLqigdBiGdJ7W+0lOStOQIDAQAB")
75
86 @Callable(i)
97 func checkSign (number,TxId,Signature1,Signature2,Signature3,PublicKey1,PublicKey2,PublicKey3) = {
1210 let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1)
1311 let a2 = rsaVerify(SHA256, toBytes(TxId), Signature2, PublicKey2)
1412 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)])
1614 }
1715
1816
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let RSAKey512 = fromBase64String("base64:MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJRdebp5GXHagez7kZ++gNIt0fMe7WGvgskBJAcoDlQVnA8cNh/sjxSH68hnXEVTe17IlsVqLjHYW2JJUZkiJ1UCAwEAAQ==")
54
6-let RSAKey2048 = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlemr95J1jZUs7cJmrmmlN4zo7YVsBJzIeJdk8LDFGhUKSI6yfs20ZyJe21+6GJwNnKUU1Uyoc17wSWMKkrZ0MMvYE+Z5AiijvBK4sSJ3IgGjdU8/NhI8CBDu0F+xRM9q3TB3LLbDy5sBdudYfHfsUOc+MTvAD69n27db2Rh8+yZQMtubkuTQNp89sphHQaLGyQFaNlK/Na3lFx6omqzaa1gjoplUr6rvYKgfAICUB3zVmJShiEi7w7R0hWlNRD3qcZjCUONSpFo4WbzknGOazw84B+IMIFnIpXWzQL8RX0vNcfsBvLDfM6k2ZacqwyMKaLLqigdBiGdJ7W+0lOStOQIDAQAB")
75
86 @Callable(i)
97 func checkSign (number,TxId,Signature1,Signature2,Signature3,PublicKey1,PublicKey2,PublicKey3) = {
108 let pmnt = extract(i.payment)
119 let assetIdcheck = isDefined(pmnt.assetId)
1210 let a1 = rsaVerify(SHA256, toBytes(TxId), Signature1, PublicKey1)
1311 let a2 = rsaVerify(SHA256, toBytes(TxId), Signature2, PublicKey2)
1412 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)])
1614 }
1715
1816
1917 @Verifier(tx)
2018 func verify () = true
2119

github/deemru/w8io/169f3d6 
39.16 ms