tx · D4QDtNwpfdM7VStggohUxtnf1FZ2QVMskXgsaViPQadK

3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi:  -0.01400000 Waves

2019.08.29 11:13 [652247] smart account 3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi > SELF 0.00000000 Waves

{ "type": 13, "id": "D4QDtNwpfdM7VStggohUxtnf1FZ2QVMskXgsaViPQadK", "fee": 1400000, "feeAssetId": null, "timestamp": 1567066505403, "version": 1, "sender": "3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi", "senderPublicKey": "BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH", "proofs": [ "5PCtiayXHLrPzmgTCmbNx9Tp19gLSeFX7KpE6Cn9PR3f8UyHwD7aPaPWUzk2RzS43hSVoXd2NbF41F8VajhuJyWq" ], "script": "base64:AAIDAAAAAAAAAAAAAAAHAAAAAA5vd25lclB1YmxpY0tleQEAAAAgnOTxzRGlQL/gVO1uf4r6ecWijHA9iBu9xK1V+iHbiGoAAAAACmRlcGxveUluZm8CAAAAJGFkZGVkIGRhdGEgZnVuY3Rpb25hbGl0eSAodGVzdHBoYXNlKQEAAAAJd3JpdGVEYXRhAAAAAgAAAAdkYXRhS2V5AAAACWRhdGFWYWx1ZQkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAHZGF0YUtleQUAAAAJZGF0YVZhbHVlBQAAAANuaWwBAAAAB2dldERhdGEAAAABAAAAB2RhdGFLZXkEAAAAC2RhdGFQYWNrYWdlCQEAAAARQGV4dHJOYXRpdmUoMTA1MykAAAACBQAAAAR0aGlzBQAAAAdkYXRhS2V5BQAAAAtkYXRhUGFja2FnZQEAAAAJZW1pdFRva2VuAAAAAwAAAAhyZWNlaXZlcgAAAA5kaXNwZW5zZUFtb3VudAAAAAphdHRhY2htZW50BAAAAAV0b2tlbgIAAAAGS0VLUy0xBQAAAAV0b2tlbgEAAAAKb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ACBQAAAA1jYWxsZXJBY2NvdW50BQAAAAttZXNzYWdlRGF0YQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADm93bmVyUHVibGljS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAQSXNzdWVUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHJDerAg==", "chainId": 84, "height": 652247, "spentComplexity": 0 } View: original | compacted Prev: Eyh9rbswVsF1rQK3P9HYgXGYzgVaZ5iHN6vcHgL7h6wq Next: CfvuBDr5qBpKmQPB6oWskCer12tFgsJTXmu9qGLLfs3r Diff:
OldNewDifferences
3636 func dispense () = {
3737 let v = extract(u.payment)
3838 let w = "default message for now"
39- let x = ((toBase58String(extract(u.callerPublicKey)) + "_") + toString(height))
39+ let x = toBase58String(extract(u.callerPublicKey))
4040 let y = u.transactionId
4141 let z = if ((v.amount == 100000000))
4242 then "S"
4545 else if ((v.amount == 400000000))
4646 then "L"
4747 else "error"
48+ let A = ((((((toBase58String(extract(u.callerPublicKey)) + ";") + toString(v.amount)) + ";") + toString(height)) + ";") + z)
4849 if ((z == "error"))
4950 then throw("Unrecognized sizing")
50- else c(x, w)
51+ else c(x, A)
5152 }
5253
5354
54-@Verifier(A)
55-func B () = {
56- let C = A
57- if ($isInstanceOf(C, "SetScriptTransaction"))
55+@Verifier(B)
56+func C () = {
57+ let D = B
58+ if ($isInstanceOf(D, "SetScriptTransaction"))
5859 then {
59- let D = C
60- sigVerify(A.bodyBytes, A.proofs[0], a)
60+ let E = D
61+ sigVerify(B.bodyBytes, B.proofs[0], a)
6162 }
62- else if ($isInstanceOf(C, "DataTransaction"))
63+ else if ($isInstanceOf(D, "DataTransaction"))
6364 then {
64- let D = C
65+ let E = D
6566 true
6667 }
67- else if ($isInstanceOf(C, "TransferTransaction"))
68+ else if ($isInstanceOf(D, "TransferTransaction"))
6869 then {
69- let D = C
70+ let E = D
7071 true
7172 }
72- else if ($isInstanceOf(C, "IssueTransaction"))
73+ else if ($isInstanceOf(D, "IssueTransaction"))
7374 then {
74- let D = C
75+ let E = D
7576 true
7677 }
77- else if ($isInstanceOf(C, "ReissueTransaction"))
78+ else if ($isInstanceOf(D, "ReissueTransaction"))
7879 then {
79- let D = C
80+ let E = D
8081 true
8182 }
8283 else false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH'
55
66 let b = "added data functionality (testphase)"
77
88 func c (d,e) = WriteSet([DataEntry(d, e)])
99
1010
1111 func f (d) = {
1212 let g = getStringValue(this, d)
1313 g
1414 }
1515
1616
1717 func h (i,j,k) = {
1818 let l = "KEKS-1"
1919 l
2020 }
2121
2222
2323 func m (n,o) = {
2424 let p = "x"
2525 p
2626 }
2727
2828
2929 func q (i,r,s) = {
3030 let t = "placeholder"
3131 t
3232 }
3333
3434
3535 @Callable(u)
3636 func dispense () = {
3737 let v = extract(u.payment)
3838 let w = "default message for now"
39- let x = ((toBase58String(extract(u.callerPublicKey)) + "_") + toString(height))
39+ let x = toBase58String(extract(u.callerPublicKey))
4040 let y = u.transactionId
4141 let z = if ((v.amount == 100000000))
4242 then "S"
4343 else if ((v.amount == 200000000))
4444 then "M"
4545 else if ((v.amount == 400000000))
4646 then "L"
4747 else "error"
48+ let A = ((((((toBase58String(extract(u.callerPublicKey)) + ";") + toString(v.amount)) + ";") + toString(height)) + ";") + z)
4849 if ((z == "error"))
4950 then throw("Unrecognized sizing")
50- else c(x, w)
51+ else c(x, A)
5152 }
5253
5354
54-@Verifier(A)
55-func B () = {
56- let C = A
57- if ($isInstanceOf(C, "SetScriptTransaction"))
55+@Verifier(B)
56+func C () = {
57+ let D = B
58+ if ($isInstanceOf(D, "SetScriptTransaction"))
5859 then {
59- let D = C
60- sigVerify(A.bodyBytes, A.proofs[0], a)
60+ let E = D
61+ sigVerify(B.bodyBytes, B.proofs[0], a)
6162 }
62- else if ($isInstanceOf(C, "DataTransaction"))
63+ else if ($isInstanceOf(D, "DataTransaction"))
6364 then {
64- let D = C
65+ let E = D
6566 true
6667 }
67- else if ($isInstanceOf(C, "TransferTransaction"))
68+ else if ($isInstanceOf(D, "TransferTransaction"))
6869 then {
69- let D = C
70+ let E = D
7071 true
7172 }
72- else if ($isInstanceOf(C, "IssueTransaction"))
73+ else if ($isInstanceOf(D, "IssueTransaction"))
7374 then {
74- let D = C
75+ let E = D
7576 true
7677 }
77- else if ($isInstanceOf(C, "ReissueTransaction"))
78+ else if ($isInstanceOf(D, "ReissueTransaction"))
7879 then {
79- let D = C
80+ let E = D
8081 true
8182 }
8283 else false
8384 }
8485

github/deemru/w8io/169f3d6 
51.05 ms