tx · 9RfGgUyq7ro32bWi16KqoMwV2vvAYegecUoH8XV89BuK

3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB:  -0.01500000 Waves

2019.06.24 16:41 [556235] smart account 3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB > SELF 0.00000000 Waves

{ "type": 13, "id": "9RfGgUyq7ro32bWi16KqoMwV2vvAYegecUoH8XV89BuK", "fee": 1500000, "feeAssetId": null, "timestamp": 1561383669813, "version": 1, "sender": "3MukPacWskGGNcT8ubWWzSwVPa9ah9KHvuB", "senderPublicKey": "H3q3RM4MQSLjCTYpgaitRNz8cKHhMtcwoUfc2c86cfej", "proofs": [ "2E2K3PpTx6ukwYeG8exDed6DzVo1xTXgBarLoBKVXCtRhez5stxf683GzLchvSKU4dQaepjM18KQhfrmT6Z6PDQV" ], "script": "base64:AAIDAAAAAAAAAAAAAAACAAAAAAZwdWJLZXkCAAAALDI4NlNCb0Ria2U4WVFSdDdWQmdvTEdKM3Z6NGNpM0paN2NoRFNHQjVZU0syAAAAAAR0eElkAgAAACw5OWdpNXRNNWtVZUtSVTNIemd5a3J2NXU5WVU1d29FRmNhRjV4Uno3Nmo2VgAAAAEAAAABaQEAAAAJY2hlY2tTaWduAAAAAgAAAAZudW1iZXIAAAADcnNhBAAAAAZ2ZXJpZnkJAAH4AAAABAUAAAAGU0hBMjU2CQABmwAAAAEFAAAABHR4SWQJAAGbAAAAAQUAAAADcnNhCQACWQAAAAEFAAAABnB1YktleQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACBQAAAAZudW1iZXICAAAAB19WZXJpZnkFAAAABnZlcmlmeQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAZkPypD", "chainId": 84, "height": 556235, "spentComplexity": 0 } View: original | compacted Prev: HgnHxbPkLuHzG3rTSMCHxfSRUZPw21GuhHbUtUip2T4t Next: 44T7ekLSLtT7PJhngKt1dXYgnxd7KjHjYdLw18kX9zEB Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let pubKey = base58'286SBoDbke8YQRt7VBgoLGJ3vz4ci3JZ7chDSGB5YSK2'
4+let pubKey = "286SBoDbke8YQRt7VBgoLGJ3vz4ci3JZ7chDSGB5YSK2"
55
66 let txId = "99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V"
77
88 @Callable(i)
99 func checkSign (number,rsa) = {
10- let verify = rsaVerify(SHA256, toBytes(txId), toBytes(rsa), pubKey)
10+ let verify = rsaVerify(SHA256, toBytes(txId), toBytes(rsa), fromBase58String(pubKey))
1111 WriteSet([DataEntry((number + "_Verify"), verify)])
1212 }
1313
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let pubKey = base58'286SBoDbke8YQRt7VBgoLGJ3vz4ci3JZ7chDSGB5YSK2'
4+let pubKey = "286SBoDbke8YQRt7VBgoLGJ3vz4ci3JZ7chDSGB5YSK2"
55
66 let txId = "99gi5tM5kUeKRU3Hzgykrv5u9YU5woEFcaF5xRz76j6V"
77
88 @Callable(i)
99 func checkSign (number,rsa) = {
10- let verify = rsaVerify(SHA256, toBytes(txId), toBytes(rsa), pubKey)
10+ let verify = rsaVerify(SHA256, toBytes(txId), toBytes(rsa), fromBase58String(pubKey))
1111 WriteSet([DataEntry((number + "_Verify"), verify)])
1212 }
1313
1414
1515 @Verifier(tx)
1616 func verify () = true
1717

github/deemru/w8io/169f3d6 
37.76 ms