tx · 9eUZd37pGtEtpsjSrAaoCmiT7ZHXGq2QfM9QsMP9K9om

3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP:  -0.01400000 Waves

2019.12.14 22:39 [808967] smart account 3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP > SELF 0.00000000 Waves

{ "type": 13, "id": "9eUZd37pGtEtpsjSrAaoCmiT7ZHXGq2QfM9QsMP9K9om", "fee": 1400000, "feeAssetId": null, "timestamp": 1576352369376, "version": 1, "sender": "3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP", "senderPublicKey": "GRSgAjHJFmqVyE1sdnUmweBHV962Q1MyURh4frCUS1My", "proofs": [ "3PYm7mz7zpb2bUac9rTa4ckENQtndsr9Dn1Qv19kCpJmdSSGvrA7ymCdwUZiFvd8pyXuAbxvTDHznqgyrLTdRj84" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgICAgAAAAAAAAAAQAAAAFpAQAAAAphZGREZXBvc2l0AAAABgAAAARoYXNoAAAAB2FjY291bnQAAAAGYW1vdW50AAAAA3NlcQAAAAlnZW5lcmF0b3IAAAAJc2lnbmF0dXJlBAAAAAdtZXNzYWdlCQABmwAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABGhhc2gCAAAAASwFAAAAB2FjY291bnQCAAAAASwFAAAABmFtb3VudAIAAAABLAUAAAADc2VxBAAAABFtZXNzYWdlV2l0aFByZWZpeAkAAMsAAAACCQAAywAAAAIBAAAAARkJAAGbAAAAAQkAASwAAAACAgAAABlFdGhlcmV1bSBTaWduZWQgTWVzc2FnZToKCQABpAAAAAEJAADIAAAAAQUAAAAHbWVzc2FnZQUAAAAHbWVzc2FnZQMJAQAAAAEhAAAAAQkAAfQAAAADBQAAABFtZXNzYWdlV2l0aFByZWZpeAkAAl0AAAABBQAAAAlzaWduYXR1cmUJAAJdAAAAAQUAAAAJZ2VuZXJhdG9yCQAAAgAAAAEJAAJcAAAAAQUAAAARbWVzc2FnZVdpdGhQcmVmaXgEAAAADmNhbGN1bGF0ZWRIYXNoCQAB9QAAAAEJAADLAAAAAgkAAMsAAAACCQACXQAAAAEFAAAAB2FjY291bnQJAAJdAAAAAQUAAAAGYW1vdW50CQACXQAAAAEFAAAAA3NlcQMJAQAAAAIhPQAAAAIFAAAADmNhbGN1bGF0ZWRIYXNoCQACXQAAAAEFAAAABGhhc2gJAAACAAAAAQIAAAANaGFzaCBtaXNtYXRjaAkBAAAACFdyaXRlU2V0AAAAAQUAAAADbmlsAAAAAINWd0A=", "chainId": 84, "height": 808967, "spentComplexity": 0 } View: original | compacted Prev: A1v67fJVQDqhb3T8tFqQ3xXQZ9j7iZh8z7CtU9NMhCM5 Next: 2jGmfaoQChxCFLgguH6GyVxSAxcxKPyJDSbvfSiKQKfu Diff:
OldNewDifferences
66 @Callable(i)
77 func addDeposit (hash,account,amount,seq,generator,signature) = {
88 let message = toBytes(((((((hash + ",") + account) + ",") + amount) + ",") + seq))
9- let messageWithPrefix = keccak256(((base58'S' + toBytes(("Ethereum Signed Message:
10-" + toString(size(message))))) + message))
9+ let messageWithPrefix = ((base58'S' + toBytes(("Ethereum Signed Message:
10+" + toString(size(message))))) + message)
1111 if (!(sigVerify(messageWithPrefix, fromBase16String(signature), fromBase16String(generator))))
1212 then throw(toBase16String(messageWithPrefix))
1313 else {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func addDeposit (hash,account,amount,seq,generator,signature) = {
88 let message = toBytes(((((((hash + ",") + account) + ",") + amount) + ",") + seq))
9- let messageWithPrefix = keccak256(((base58'S' + toBytes(("Ethereum Signed Message:
10-" + toString(size(message))))) + message))
9+ let messageWithPrefix = ((base58'S' + toBytes(("Ethereum Signed Message:
10+" + toString(size(message))))) + message)
1111 if (!(sigVerify(messageWithPrefix, fromBase16String(signature), fromBase16String(generator))))
1212 then throw(toBase16String(messageWithPrefix))
1313 else {
1414 let calculatedHash = keccak256(((fromBase16String(account) + fromBase16String(amount)) + fromBase16String(seq)))
1515 if ((calculatedHash != fromBase16String(hash)))
1616 then throw("hash mismatch")
1717 else WriteSet(nil)
1818 }
1919 }
2020
2121

github/deemru/w8io/026f985 
23.17 ms