tx · 2jGmfaoQChxCFLgguH6GyVxSAxcxKPyJDSbvfSiKQKfu
3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP: -0.01400000 Waves
2019.12.14 23:09 [809003] smart account 3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP > SELF 0.00000000 Waves
{
"type": 13,
"id": "2jGmfaoQChxCFLgguH6GyVxSAxcxKPyJDSbvfSiKQKfu",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1576354143959,
"version": 1,
"sender": "3MyXEmrjz8G5z2Q8xiyBnucF9LUyggiChiP",
"senderPublicKey": "GRSgAjHJFmqVyE1sdnUmweBHV962Q1MyURh4frCUS1My",
"proofs": [
"52yFKaBTYAc9qpWC27VzuJseQVyQdW3k1ekMSMXikUENNxjirNhyrUhrYgU5NcujBU1xu6aGWFzJ6DiUn58GfUVf"
],
"script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgICAgAAAAAAAAAAQAAAAFpAQAAAAphZGREZXBvc2l0AAAABgAAAARoYXNoAAAAB2FjY291bnQAAAAGYW1vdW50AAAAA3NlcQAAAAlnZW5lcmF0b3IAAAAJc2lnbmF0dXJlBAAAAAdtZXNzYWdlCQABmwAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABGhhc2gCAAAAASwFAAAAB2FjY291bnQCAAAAASwFAAAABmFtb3VudAIAAAABLAUAAAADc2VxBAAAABFtZXNzYWdlV2l0aFByZWZpeAkAAMsAAAACCQAAywAAAAIBAAAAARkJAAGbAAAAAQkAASwAAAACAgAAABlFdGhlcmV1bSBTaWduZWQgTWVzc2FnZToKCQABpAAAAAEJAADIAAAAAQUAAAAHbWVzc2FnZQUAAAAHbWVzc2FnZQMJAQAAAAEhAAAAAQkAAfQAAAADBQAAABFtZXNzYWdlV2l0aFByZWZpeAkAAl0AAAABBQAAAAlzaWduYXR1cmUJAAJdAAAAAQUAAAAJZ2VuZXJhdG9yCQAAAgAAAAEFAAAACXNpZ25hdHVyZQQAAAAOY2FsY3VsYXRlZEhhc2gJAAH1AAAAAQkAAMsAAAACCQAAywAAAAIJAAJdAAAAAQUAAAAHYWNjb3VudAkAAl0AAAABBQAAAAZhbW91bnQJAAJdAAAAAQUAAAADc2VxAwkBAAAAAiE9AAAAAgUAAAAOY2FsY3VsYXRlZEhhc2gJAAJdAAAAAQUAAAAEaGFzaAkAAAIAAAABAgAAAA1oYXNoIG1pc21hdGNoCQEAAAAIV3JpdGVTZXQAAAABBQAAAANuaWwAAAAA+zhdFA==",
"chainId": 84,
"height": 809003,
"spentComplexity": 0
}
View: original | compacted
Prev: 9eUZd37pGtEtpsjSrAaoCmiT7ZHXGq2QfM9QsMP9K9om
Next: BR6WEsZKL3Hy6TD1oFAfNbzyZPZqKoxiaxi84KLvCLMD
Diff:
Old | New | | Differences |
---|
9 | 9 | | let i = ((base58'S' + toBytes(("Ethereum Signed Message: |
---|
10 | 10 | | " + toString(size(h))))) + h) |
---|
11 | 11 | | if (!(sigVerify(i, fromBase16String(g), fromBase16String(f)))) |
---|
12 | | - | then throw(toBase16String(i)) |
---|
| 12 | + | then throw(g) |
---|
13 | 13 | | else { |
---|
14 | 14 | | let j = keccak256(((fromBase16String(c) + fromBase16String(d)) + fromBase16String(e))) |
---|
15 | 15 | | if ((j != 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 = toBytes(((((((b + ",") + c) + ",") + d) + ",") + e)) |
---|
9 | 9 | | let i = ((base58'S' + toBytes(("Ethereum Signed Message: |
---|
10 | 10 | | " + toString(size(h))))) + h) |
---|
11 | 11 | | if (!(sigVerify(i, fromBase16String(g), fromBase16String(f)))) |
---|
12 | | - | then throw(toBase16String(i)) |
---|
| 12 | + | then throw(g) |
---|
13 | 13 | | else { |
---|
14 | 14 | | let j = keccak256(((fromBase16String(c) + fromBase16String(d)) + fromBase16String(e))) |
---|
15 | 15 | | if ((j != fromBase16String(b))) |
---|
16 | 16 | | then throw("hash mismatch") |
---|
17 | 17 | | else WriteSet(nil) |
---|
18 | 18 | | } |
---|
19 | 19 | | } |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|