tx · H8PGwURbPQ48SEU8ZJMbx8Kf34WKNUByLCJTXtbLrntW

3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2:  -0.01400000 Waves

2019.10.27 15:15 [738519] smart account 3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2 > SELF 0.00000000 Waves

{ "type": 13, "id": "H8PGwURbPQ48SEU8ZJMbx8Kf34WKNUByLCJTXtbLrntW", "fee": 1400000, "feeAssetId": null, "timestamp": 1572178503055, "version": 1, "sender": "3N3g1WYmFt7TkNtYqv13ZXuUdiHHXVE6ZM2", "senderPublicKey": "Aky5vMQd8jGjewgAAF9RPrZBVbviKSac31og8C5MuyLU", "proofs": [ "2KRbdumZsjCt4fQ8uryhz8iyzdQspetZPURTQdJZrz72mCj4m2Wf1jaMC31PeuRFmgAbkvYB8eNRY4StMgVgzdXF" ], "script": "base64:AAIDAAAAAAAAAA4IARIDCgEIEgUKAwgBCAAAAAAAAAACAAAAAWkBAAAABGluaXQAAAABAAAABXRpdHJlBAAAAAFTCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAUECAAAAIzNOM2cxV1ltRnQ3VGtOdFlxdjEzWlh1VWRpSEhYVkU2Wk0yAwkAAAAAAAACBQAAAAFTBQAAAAFBCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAJJRAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAADTkJFAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAANNYXgAAAAAAACYloAFAAAAA25pbAkAAAIAAAABAgAAAA1Ob3QgcGVybWl0dGVkAAAAAWkBAAAAAldEAAAAAwAAAAV0aXRyZQAAAANjYXQAAAAEbGluawQAAAANU2VuZGVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAxQYXJ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AAABAgAAABJTeXN0ZW0gaXMgb24gcGF1c2UDCQAAAAAAAAIFAAAABXA1dmFyAgAAAAROT05FCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAJJRAUAAAAFSURpbmMFAAAAA25pbAkAAAIAAAABAgAAAA1Ob3QgcGVybWl0dGVkAAAAADX+a90=", "chainId": 84, "height": 738519, "spentComplexity": 0 } View: original | compacted Prev: 6b9nu7WfM5jQX4Em2DVRMC7Qb5rxr9WknHAeMqt88xXW Next: DnsjTeP7BR9F8Qwpr9JNkThHTUXTqxPH1FQpJTwTtKGo Diff:
OldNewDifferences
5252 case _ =>
5353 "NONE"
5454 }
55- let IDinc = p4var
55+ let IDinc = 1
5656 if ((p1var == "STOP"))
5757 then throw("System is on pause")
5858 else if ((p5var == "NONE"))
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")
2121 let P1 = "Stop"
2222 let P2 = "Max"
2323 let P3 = "NBE"
2424 let P4 = "ID"
2525 let p1var = match getString(ParamAddress, P1) {
2626 case a: String =>
2727 a
2828 case _ =>
2929 "NONE"
3030 }
3131 let p2var = match getString(ParamAddress, P2) {
3232 case a: String =>
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 }
4343 let p4var = match getInteger(ParamAddress, P4) {
4444 case a: Int =>
4545 a
4646 case _ =>
4747 "NONE"
4848 }
4949 let p5var = match getString(ParamAddress, SenderAddress) {
5050 case a: String =>
5151 a
5252 case _ =>
5353 "NONE"
5454 }
55- let IDinc = p4var
55+ let IDinc = 1
5656 if ((p1var == "STOP"))
5757 then throw("System is on pause")
5858 else if ((p5var == "NONE"))
5959 then WriteSet([DataEntry("ID", IDinc)])
6060 else throw("Not permitted")
6161 }
6262
6363

github/deemru/w8io/169f3d6 
29.52 ms