tx · 2sZWq1GcyLmvje5U9MCnsxwSRQpF7i34xMAZXBoRBXRR
3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL: -0.01400000 Waves
2019.07.28 23:53 [606423] smart account 3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL > SELF 0.00000000 Waves
{
"type": 13,
"id": "2sZWq1GcyLmvje5U9MCnsxwSRQpF7i34xMAZXBoRBXRR",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1564347189031,
"version": 1,
"sender": "3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL",
"senderPublicKey": "BRFZFVsnc2b87hEHPEVNzWUtayFELMnWmDiPuVUFkfZ3",
"proofs": [
"59RkJoUD7faEL64GqAVCNPxUbj2iBHMpS4ZdCXVyL8PrEVuPqfSqoNE5j9XTYixqXnpJy2BZahgnZGug3sFbTPXt"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAwAAAAFpAQAAAAR0ZXN0AAAAAAQAAAAGcmVzdWx0AwMJAAH0AAAAAwEAAAAGWauGw2OmAQAAAAMCmnkBAAAAAwJ1hgYJAAH0AAAAAwEAAAAHFFDciESTnAEAAAADApp5AQAAAAMCdYYGCQAB9AAAAAMBAAAACASaUfbfiXFYAQAAAAMCmnkBAAAAAwJ1hgkAAAIAAAABCQABpQAAAAEFAAAABnJlc3VsdAAAAAFpAQAAAAh0b0Jhc2U1OAAAAAEAAAADbXNnBAAAAAZyZXN1bHQJAAJYAAAAAQkAAZsAAAABBQAAAANtc2cJAAACAAAAAQUAAAAGcmVzdWx0AAAAAWkBAAAACmZyb21CYXNlNTgAAAABAAAAA21zZwQAAAAGcmVzdWx0CQAEsAAAAAEJAAJZAAAAAQUAAAADbXNnCQAAAgAAAAEFAAAABnJlc3VsdAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAGBv6M0Q==",
"chainId": 84,
"height": 606423,
"spentComplexity": 0
}
View: original | compacted
Prev: 2ANXT7A4zCK917sjzPYSDguwCK2cyFknnx2eZieqac64
Next: 75why7mE2A2Bs2ssYL3WVrAUQ3c9numwfzBT9BhowEyi
Diff:
Old | New | | Differences |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
| 25 | + | |
---|
| 26 | + | @Callable(i) |
---|
| 27 | + | func fromBase58 (msg) = { |
---|
| 28 | + | let result = toUtf8String(fromBase58String(msg)) |
---|
| 29 | + | throw(result) |
---|
| 30 | + | } |
---|
| 31 | + | |
---|
| 32 | + | |
---|
25 | 33 | | @Verifier(tx) |
---|
26 | 34 | | func verify () = true |
---|
27 | 35 | | |
---|
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(i) |
---|
7 | 7 | | func test () = { |
---|
8 | 8 | | let result = if (if (sigVerify(base58'message1', base58'sig', base58'pub')) |
---|
9 | 9 | | then true |
---|
10 | 10 | | else sigVerify(base58'message11', base58'sig', base58'pub')) |
---|
11 | 11 | | then true |
---|
12 | 12 | | else sigVerify(base58'message111', base58'sig', base58'pub') |
---|
13 | 13 | | throw(toString(result)) |
---|
14 | 14 | | } |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | @Callable(i) |
---|
19 | 19 | | func toBase58 (msg) = { |
---|
20 | 20 | | let result = toBase58String(toBytes(msg)) |
---|
21 | 21 | | throw(result) |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|
| 25 | + | |
---|
| 26 | + | @Callable(i) |
---|
| 27 | + | func fromBase58 (msg) = { |
---|
| 28 | + | let result = toUtf8String(fromBase58String(msg)) |
---|
| 29 | + | throw(result) |
---|
| 30 | + | } |
---|
| 31 | + | |
---|
| 32 | + | |
---|
25 | 33 | | @Verifier(tx) |
---|
26 | 34 | | func verify () = true |
---|
27 | 35 | | |
---|