tx · DRoPF9CCCw9iKA6EbM3Pn1oDSSoko5Kay8nPFRQV7SKg

3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2:  -0.01400000 Waves

2019.10.27 16:05 [738564] smart account 3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2 > SELF 0.00000000 Waves

{ "type": 13, "id": "DRoPF9CCCw9iKA6EbM3Pn1oDSSoko5Kay8nPFRQV7SKg", "fee": 1400000, "feeAssetId": null, "timestamp": 1572181562913, "version": 1, "sender": "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2", "senderPublicKey": "Aky5vMQd8jGjewgAAF9RPrZBVbviKSac31og8C5MuyLU", "proofs": [ "5x4CcceKEmRy9rpP3VFDnPjLwhCxpGyBiXip7yNemsBLWbC6HC9xcUDraCBswvWfveyNDBgbKapPUufthMcgPbJi" ], "script": "base64:AAIDAAAAAAAAAA4IARIDCgEIEgUKAwgBCAAAAAAAAAACAAAAAWkBAAAABGluaXQAAAABAAAABXRpdHJlBAAAAAFTCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAUECAAAAIzNOM2cxV1ltRnQ3VGtOdFlxdjEzWlh1VWRpSEhYVkU2Wk0yAwkAAAAAAAACBQAAAAFTBQAAAAFBCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAJJRAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAADTkJFAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAANNYXgAAAAAAACYloAFAAAAA25pbAkAAAIAAAABAgAAAA1Ob3QgcGVybWl0dGVkAAAAAWkBAAAAAldEAAAAAwAAAAV0aXRyZQAAAANjYXQAAAAEbGluawQAAAANU2VuZGVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAxQYX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jAwkAAAAAAAACBQAAAAVwM3ZhcgIAAAAEU1RPUAkAAAIAAAABAgAAABJTeXN0ZW0gaXMgb24gcGF1c2UDCQAAAAAAAAIFAAAABXA0dmFyAgAAAAROT05FCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAANNYXgCAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAABTQUAAAAEdGVtcAUAAAADbmlsCQAAAgAAAAECAAAADU5vdCBwZXJtaXR0ZWQAAAAAU6IRIg==", "chainId": 84, "height": 738564, "spentComplexity": 0 } View: original | compacted Prev: DnsjTeP7BR9F8Qwpr9JNkThHTUXTqxPH1FQpJTwTtKGo Next: 2ZfivwGFVtJg8JhSKFEiuHecmwc8i2BzAgMF63a3TBgP Diff:
OldNewDifferences
1818 func WD (titre,cat,link) = {
1919 let SenderAddress = toBase58String(i.caller.bytes)
2020 let ParamAddress = addressFromStringValue("3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2")
21- let P1 = "Stop"
22- let P2 = "Max"
23- let P3 = "NBE"
24- let P4 = "ID"
25- let p1var = match getString(ParamAddress, P1) {
26- case a: String =>
21+ let P1 = "ID"
22+ let P2 = "M"
23+ let P3 = "S"
24+ let temp = 1000000
25+ let p1var = match getInteger(ParamAddress, P1) {
26+ case a: Int =>
2727 a
2828 case _ =>
29- "NONE"
29+ throw("System not ready")
3030 }
31- let p2var = match getString(ParamAddress, P2) {
32- case a: String =>
31+ let p2var = match getInteger(ParamAddress, P2) {
32+ case a: Int =>
3333 a
3434 case _ =>
3535 "NONE"
4040 case _ =>
4141 "NONE"
4242 }
43- let p4var = match getInteger(ParamAddress, P4) {
44- case a: Int =>
45- a
46- case _ =>
47- throw("System not ready")
48- }
49- let p5var = match getString(ParamAddress, SenderAddress) {
43+ let p4var = match getString(ParamAddress, SenderAddress) {
5044 case a: String =>
5145 a
5246 case _ =>
5347 "NONE"
5448 }
55- let IDinc = (p4var + 1)
49+ let IDinc = (p1var + 1)
5650 let varID1 = (toString(IDinc) + ".1")
5751 let varID2 = (toString(IDinc) + ".2")
5852 let IDtxt = toString(IDinc)
59- if ((p1var == "STOP"))
53+ if ((p3var == "STOP"))
6054 then throw("System is on pause")
61- else if ((p5var == "NONE"))
62- then WriteSet([DataEntry(IDtxt, titre), DataEntry(varID1, cat), DataEntry(varID2, link), DataEntry("ID", IDinc)])
55+ else if ((p4var == "NONE"))
56+ then WriteSet([DataEntry("Max", ""), DataEntry("M", temp)])
6357 else throw("Not permitted")
6458 }
6559
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func init (titre) = {
88 let S = toBase58String(i.caller.bytes)
99 let A = "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2"
1010 if ((S == A))
1111 then WriteSet([DataEntry("ID", 0), DataEntry("NBE", 0), DataEntry("Max", 10000000)])
1212 else throw("Not permitted")
1313 }
1414
1515
1616
1717 @Callable(i)
1818 func WD (titre,cat,link) = {
1919 let SenderAddress = toBase58String(i.caller.bytes)
2020 let ParamAddress = addressFromStringValue("3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2")
21- let P1 = "Stop"
22- let P2 = "Max"
23- let P3 = "NBE"
24- let P4 = "ID"
25- let p1var = match getString(ParamAddress, P1) {
26- case a: String =>
21+ let P1 = "ID"
22+ let P2 = "M"
23+ let P3 = "S"
24+ let temp = 1000000
25+ let p1var = match getInteger(ParamAddress, P1) {
26+ case a: Int =>
2727 a
2828 case _ =>
29- "NONE"
29+ throw("System not ready")
3030 }
31- let p2var = match getString(ParamAddress, P2) {
32- case a: String =>
31+ let p2var = match getInteger(ParamAddress, P2) {
32+ case a: Int =>
3333 a
3434 case _ =>
3535 "NONE"
3636 }
3737 let p3var = match getString(ParamAddress, P3) {
3838 case a: String =>
3939 a
4040 case _ =>
4141 "NONE"
4242 }
43- let p4var = match getInteger(ParamAddress, P4) {
44- case a: Int =>
45- a
46- case _ =>
47- throw("System not ready")
48- }
49- let p5var = match getString(ParamAddress, SenderAddress) {
43+ let p4var = match getString(ParamAddress, SenderAddress) {
5044 case a: String =>
5145 a
5246 case _ =>
5347 "NONE"
5448 }
55- let IDinc = (p4var + 1)
49+ let IDinc = (p1var + 1)
5650 let varID1 = (toString(IDinc) + ".1")
5751 let varID2 = (toString(IDinc) + ".2")
5852 let IDtxt = toString(IDinc)
59- if ((p1var == "STOP"))
53+ if ((p3var == "STOP"))
6054 then throw("System is on pause")
61- else if ((p5var == "NONE"))
62- then WriteSet([DataEntry(IDtxt, titre), DataEntry(varID1, cat), DataEntry(varID2, link), DataEntry("ID", IDinc)])
55+ else if ((p4var == "NONE"))
56+ then WriteSet([DataEntry("Max", ""), DataEntry("M", temp)])
6357 else throw("Not permitted")
6458 }
6559
6660

github/deemru/w8io/026f985 
34.14 ms