tx · DdBzQrF2G2LHPC117WTU4wYnEkVyhHKy36VCvs2cRDLP

3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi:  -0.01400000 Waves

2019.08.29 10:13 [652183] smart account 3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi > SELF 0.00000000 Waves

{ "type": 13, "id": "DdBzQrF2G2LHPC117WTU4wYnEkVyhHKy36VCvs2cRDLP", "fee": 1400000, "feeAssetId": null, "timestamp": 1567062895443, "version": 1, "sender": "3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi", "senderPublicKey": "BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH", "proofs": [ "bXkqHRiGT4mp5ohyBk7UMPZtgG94BGr3GZuXMu91RTMxbLcwSagA6qyHMxzJtDm7DnBUz3DDKGGsdwPCQnJJoE6" ], "script": "base64:AAIDAAAAAAAAAAAAAAAIAAAAAA5vd25lclB1YmxpY0tleQEAAAAgnOTxzRGlQL/gVO1uf4r6ecWijHA9iBu9xK1V+iHbiGoAAAAABmJhbm5lcgkAASwAAAACAgAAABcocmUpZGVwbG95ZWQgYXQgYmxvY2s6IAkAAaQAAAABBQAAAAZoZWlnaHQAAAAABGRhdGEJAQAAAAlEYXRhRW50cnkAAAACAgAAAANBZ2UAAAAAAAAAACEAAAAAA2tleQgFAAAABGRhdGEAAAADa2V5AAAAAAN2YWwIBQAAAARkYXRhAAAABXZhbHVlAQAAAAl3cml0ZURhdGEAAAACAAAAB2RhdGFLZXkAAAAJZGF0YVZhbHVlCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAdkYXRhS2V5BQAAAAlkYXRhVmFsdWUFAAAAA25pbAEAAAAHZ2V0RGF0YQAAAAEAAAAHZGF0YUtleQQAAAALZGF0YVBhY2thZ2UJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMFAAAAB2RhdGFLZXkFAAAAC2Rhd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yVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgdyv3Kt", "chainId": 84, "height": 652183, "spentComplexity": 0 } View: original | compacted Prev: DEUtrj42Tk2c1F2bXKzdrtexzYbfF8dRygvYJwwRo8XF Next: J9XYKb6rZ6KeaJduDfb3sA6UBD89ZHy3vMccJf3gWzhu Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let ownerPublicKey = base58'BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH'
55
6-let vbDeployMessage = "deployed"
6+let banner = ("(re)deployed at block: " + toString(height))
7+
8+let data = DataEntry("Age", 33)
9+
10+let key = data.key
11+
12+let val = data.value
13+
14+func writeData (dataKey,dataValue) = WriteSet([DataEntry(dataKey, dataValue)])
15+
16+
17+func getData (dataKey) = {
18+ let dataPackage = getStringValue(this, dataKey)
19+ dataPackage
20+ }
21+
22+
23+func issueDataRequest (sizing) = {
24+ let x = "y"
25+ x
26+ }
27+
728
829 @Callable(i)
930 func dispense () = {
1031 let paid = extract(i.payment)
32+ let message = "default message for now"
1133 let sizing = if ((paid.amount == 100000000))
1234 then "S"
1335 else if ((paid.amount == 200000000))
1739 else "error"
1840 if ((sizing == "error"))
1941 then throw("Unrecognized sizing")
20- else TransferSet([ScriptTransfer(i.caller, paid.amount, unit)])
42+ else {
43+ let dataPackage = "x"
44+ TransferSet([ScriptTransfer(i.caller, paid.amount, unit)])
45+ }
2146 }
2247
2348
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let ownerPublicKey = base58'BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH'
55
6-let vbDeployMessage = "deployed"
6+let banner = ("(re)deployed at block: " + toString(height))
7+
8+let data = DataEntry("Age", 33)
9+
10+let key = data.key
11+
12+let val = data.value
13+
14+func writeData (dataKey,dataValue) = WriteSet([DataEntry(dataKey, dataValue)])
15+
16+
17+func getData (dataKey) = {
18+ let dataPackage = getStringValue(this, dataKey)
19+ dataPackage
20+ }
21+
22+
23+func issueDataRequest (sizing) = {
24+ let x = "y"
25+ x
26+ }
27+
728
829 @Callable(i)
930 func dispense () = {
1031 let paid = extract(i.payment)
32+ let message = "default message for now"
1133 let sizing = if ((paid.amount == 100000000))
1234 then "S"
1335 else if ((paid.amount == 200000000))
1436 then "M"
1537 else if ((paid.amount == 400000000))
1638 then "L"
1739 else "error"
1840 if ((sizing == "error"))
1941 then throw("Unrecognized sizing")
20- else TransferSet([ScriptTransfer(i.caller, paid.amount, unit)])
42+ else {
43+ let dataPackage = "x"
44+ TransferSet([ScriptTransfer(i.caller, paid.amount, unit)])
45+ }
2146 }
2247
2348
2449 @Verifier(tx)
2550 func verify () = match tx {
2651 case d: SetScriptTransaction =>
2752 sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey)
2853 case d: DataTransaction =>
2954 true
3055 case d: TransferTransaction =>
3156 true
3257 case d: IssueTransaction =>
3358 true
3459 case d: ReissueTransaction =>
3560 true
3661 case _ =>
3762 false
3863 }
3964

github/deemru/w8io/169f3d6 
36.82 ms