tx · Cza4Wkp7SKG4mXVfDEP92oXGPL22NfgenHgUAUE45enW
3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP: -0.01400000 Waves
2019.12.14 21:07 [808878] smart account 3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP > SELF 0.00000000 Waves
{
"type": 13,
"id": "Cza4Wkp7SKG4mXVfDEP92oXGPL22NfgenHgUAUE45enW",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1576346928524,
"version": 1,
"sender": "3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP",
"senderPublicKey": "GRSgAjHJFmqVyE1sdnUmweBHV962Q1MyURh4frCUS1My",
"proofs": [
"4c945nUSsgaZENQFyyB7PoBpV3a8e1rfokb2TDeKbFAPY6XLuuafTyFKgxb8DY3JrB2f1sQK3nRscApADsL8PFuF"
],
"script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgICAgAAAAAAAAAAQAAAAFpAQAAAAphZGREZXBvc2l0AAAABgAAAARoYXNoAAAAB2FjY291bnQAAAAGYW1vdW50AAAAA3NlcQAAAAlnZW5lcmF0b3IAAAAJc2lnbmF0dXJlBAAAAAdtZXNzYWdlCQAAywAAAAIJAADLAAAAAgkAAMsAAAACAQAAAAEZCQABmwAAAAECAAAAGUV0aGVyZXVtIFNpZ25lZCBNZXNzYWdlOgoBAAAAAesJAAGbAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAEaGFzaAIAAAABLAUAAAAHYWNjb3VudAIAAAABLAUAAAAGYW1vdW50AgAAAAEsBQAAAANzZXEDCQEAAAABIQAAAAEJAAH0AAAAAwUAAAAHbWVzc2FnZQkAAl0AAAABBQAAAAlzaWduYXR1cmUJAAJdAAAAAQUAAAAJZ2VuZXJhdG9yCQAAAgAAAAEJAAEsAAAAAgIAAAARaW52YWxpZCBzaWduYXR1cmUJAASwAAAAAQUAAAAHbWVzc2FnZQQAAAAOY2FsY3VsYXRlZEhhc2gJAAH1AAAAAQkAAMsAAAACCQAAywAAAAIJAAJdAAAAAQUAAAAHYWNjb3VudAkAAl0AAAABBQAAAAZhbW91bnQJAAJdAAAAAQUAAAADc2VxAwkBAAAAAiE9AAAAAgUAAAAOY2FsY3VsYXRlZEhhc2gJAAJdAAAAAQUAAAAEaGFzaAkAAAIAAAABAgAAAA1oYXNoIG1pc21hdGNoCQEAAAAIV3JpdGVTZXQAAAABBQAAAANuaWwAAAAAiylY/Q==",
"chainId": 84,
"height": 808878,
"spentComplexity": 0
}
View: original | compacted
Prev: 8NvP1xJP2sYsSTGho3coFB3PRGY8GUc539jzyjDaBjAu
Next: GvjyCG9GAAvgDi3WnkisEeDSkXH1pK5UpiJ7TbeYTc5S
Diff:
Old | New | | Differences |
---|
8 | 8 | | let h = (((base58'S' + toBytes("Ethereum Signed Message: |
---|
9 | 9 | | ")) + base58'54') + toBytes(((((((b + ",") + c) + ",") + d) + ",") + e))) |
---|
10 | 10 | | if (!(sigVerify(h, fromBase16String(g), fromBase16String(f)))) |
---|
11 | | - | then throw("invalid signature") |
---|
| 11 | + | then throw(("invalid signature" + toUtf8String(h))) |
---|
12 | 12 | | else { |
---|
13 | 13 | | let i = keccak256(((fromBase16String(c) + fromBase16String(d)) + fromBase16String(e))) |
---|
14 | 14 | | if ((i != fromBase16String(b))) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | 7 | | func addDeposit (b,c,d,e,f,g) = { |
---|
8 | 8 | | let h = (((base58'S' + toBytes("Ethereum Signed Message: |
---|
9 | 9 | | ")) + base58'54') + toBytes(((((((b + ",") + c) + ",") + d) + ",") + e))) |
---|
10 | 10 | | if (!(sigVerify(h, fromBase16String(g), fromBase16String(f)))) |
---|
11 | | - | then throw("invalid signature") |
---|
| 11 | + | then throw(("invalid signature" + toUtf8String(h))) |
---|
12 | 12 | | else { |
---|
13 | 13 | | let i = keccak256(((fromBase16String(c) + fromBase16String(d)) + fromBase16String(e))) |
---|
14 | 14 | | if ((i != fromBase16String(b))) |
---|
15 | 15 | | then throw("hash mismatch") |
---|
16 | 16 | | else WriteSet(nil) |
---|
17 | 17 | | } |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|