tx · J9XYKb6rZ6KeaJduDfb3sA6UBD89ZHy3vMccJf3gWzhu

3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi:  -0.01400000 Waves

2019.08.29 10:15 [652185] smart account 3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi > SELF 0.00000000 Waves

{ "type": 13, "id": "J9XYKb6rZ6KeaJduDfb3sA6UBD89ZHy3vMccJf3gWzhu", "fee": 1400000, "feeAssetId": null, "timestamp": 1567063035595, "version": 1, "sender": "3MxorpV6jKdNhrzHSujnjVXu7fr8PCHhMwi", "senderPublicKey": "BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH", "proofs": [ "56oEfxuGgWUBupN8zGce4mdRfG2UjauFYmKHjW2CobT5dARhubUEsF2f5Zb26VHBpzyt3ubBgSCDDYGf8TZMazcs" ], "script": "base64:AAIDAAAAAAAAAAAAAAAIAAAAAA5vd25lclB1YmxpY0tleQEAAAAgnOTxzRGlQL/gVO1uf4r6ecWijHA9iBu9xK1V+iHbiGoAAAAABmJhbm5lcgIAAAA4KHJlKWRlcGxveSBtZXNzYWdlOiBhZGRlZCBkYXRhIGZ1bmN0aW9uYWxpdHkgKHRlc3RwaGFzZSkAAAAABGRhdGEJAQAAAAlEYXRhRW50cnkAAAACAgAAAANBZ2UAAAAAAAAAACEAAAAAA2tleQgFAAAABGRhdGEAAAADa2V5AAAAAAN2YWwIBQAAAARkYXRhAAAABXZhbHVlAQAAAAl3cml0ZURhdGEAAAACAAAAB2RhdGFLZXkAAAAJZGF0YVZhbHVlCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAdkYXRhS2V5BQAAAAlkYXRhVmFsdWUFAAAAA25pbAEAAAAHZ2V0RGF0YQAAAAEAAAAHZGF0YUtleQQAAAALZGF0YVBhY2thZ2UJAQAAABFAZXh0ck5hdGl2ZSgxMDUzKQAAAAIFAAAABHRoaXMFAAAAB2RhdGFL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AAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgdLRY1O", "chainId": 84, "height": 652185, "spentComplexity": 0 } View: original | compacted Prev: DdBzQrF2G2LHPC117WTU4wYnEkVyhHKy36VCvs2cRDLP Next: HhPfLTVr1iCp3kjxVDo3xHW5Dk3unwLfpRQ5Hj65QtCi Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let ownerPublicKey = base58'BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH'
55
6-let banner = ("(re)deployed at block: " + toString(height))
6+let banner = "(re)deploy message: added data functionality (testphase)"
77
88 let data = DataEntry("Age", 33)
99
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let ownerPublicKey = base58'BZT5fzv8ZeHVn8xAGZVXZHUvoAkdRNCbtEuBn3pCuXEH'
55
6-let banner = ("(re)deployed at block: " + toString(height))
6+let banner = "(re)deploy message: added data functionality (testphase)"
77
88 let data = DataEntry("Age", 33)
99
1010 let key = data.key
1111
1212 let val = data.value
1313
1414 func writeData (dataKey,dataValue) = WriteSet([DataEntry(dataKey, dataValue)])
1515
1616
1717 func getData (dataKey) = {
1818 let dataPackage = getStringValue(this, dataKey)
1919 dataPackage
2020 }
2121
2222
2323 func issueDataRequest (sizing) = {
2424 let x = "y"
2525 x
2626 }
2727
2828
2929 @Callable(i)
3030 func dispense () = {
3131 let paid = extract(i.payment)
3232 let message = "default message for now"
3333 let sizing = if ((paid.amount == 100000000))
3434 then "S"
3535 else if ((paid.amount == 200000000))
3636 then "M"
3737 else if ((paid.amount == 400000000))
3838 then "L"
3939 else "error"
4040 if ((sizing == "error"))
4141 then throw("Unrecognized sizing")
4242 else {
4343 let dataPackage = "x"
4444 TransferSet([ScriptTransfer(i.caller, paid.amount, unit)])
4545 }
4646 }
4747
4848
4949 @Verifier(tx)
5050 func verify () = match tx {
5151 case d: SetScriptTransaction =>
5252 sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey)
5353 case d: DataTransaction =>
5454 true
5555 case d: TransferTransaction =>
5656 true
5757 case d: IssueTransaction =>
5858 true
5959 case d: ReissueTransaction =>
6060 true
6161 case _ =>
6262 false
6363 }
6464

github/deemru/w8io/169f3d6 
56.60 ms