tx · GY1bnnCtSAebiySBkV5665U7BrhVqdkjXjHz1ivNfAmu

3N51W4fn1aAAdypU26EGUwNZPr3zikN3vwh:  -0.01000000 Waves

2021.07.22 19:20 [1625081] smart account 3N51W4fn1aAAdypU26EGUwNZPr3zikN3vwh > SELF 0.00000000 Waves

{ "type": 13, "id": "GY1bnnCtSAebiySBkV5665U7BrhVqdkjXjHz1ivNfAmu", "fee": 1000000, "feeAssetId": null, "timestamp": 1626970868742, "version": 2, "chainId": 84, "sender": "3N51W4fn1aAAdypU26EGUwNZPr3zikN3vwh", "senderPublicKey": "D7edN6TZzQ6PbyWHGFdGMPJkkRNjR1Y32g7MmU7AXR73", "proofs": [ "5VxXB8QrK8EGvCJ61uP7tYQcAjuQvmg4gVF5thXpHmWTHU4ADHMA1PpNCUGZGt39wxBQe45rDuqivqSuzuBttmwm" ], "script": "base64:AAIFAAAAAAAAABAIAhIAEgMKAQESAwoBARIAAAAABQAAAAAJQkxPQ0tTVEVQAAAAAAAAAAAKAAAAAAlJTkdPVENPU1QAAAAAAAAAAAoAAAAACFBMT1RDT1NUAAAAAAAAAYagAAAAAAVnTHVtcAEAAAAg9zCOS72Q1vYXbBOZsGiYip0A3D8vW8S490kPXDWEHLMBAAAACnJhbmRvbWl6ZXIAAAABAAAAA2ludgQAAAAIbGFzdFBsYXkEAAAAByRtYXRjaDAJAAQcAAAAAgUAAAAEdGhpcwIAAAAIbGFzdFBsYXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAXMFAAAAByRtYXRjaDAFAAAAAXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQBAAAADkdvbGRNaW5lcnMyMDIxCQAAAgAAAAECAAAAC01hdGNoIGVycm9yBAAAAARyYW5kCQAAywAAAAIJAADLAAAAAgkAAMsAAAACCQAAywAAAAIJAADLAAAAAgUAAAAIbGFzdFBsYXkIBQAAAANpbnYAAAANdHJhbnNhY3Rpb25JZAgFAAAAA2ludg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AAAAAAA+gFAAAABWdMdW1wCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAICAAAABXBsb3RfBQAAAAZjYWxsZXIFAAAAC25ld1Bsb3RTaXplBQAAAANuaWwAAAAAbAH7SA==", "height": 1625081, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4Ug1otXcqkkLJ5sSeUx2zjmn81gdzf3D5dn1wiQUCYKU Next: 3skRifYSV37wido7xWA1oU3f8fF67gCf8JVRXzsGRLT7 Diff:
OldNewDifferences
4242 let p = e(k)
4343 let q = (toInt(p) % 1000)
4444 if ((m > lastBlock.height))
45- then throw((("Still wait block " + toString(m)) + " for mining"))
45+ then throw((("Wait block " + toString(m)) + " for mining again"))
4646 else [IntegerEntry(("wait_" + l), o), ScriptTransfer(k.caller, q, d)]
4747 }
4848
7272 let t = (s + 1)
7373 let u = (lastBlock.height + a)
7474 if ((size(k.payments) == 0))
75- then throw("Payment not attached")
75+ then throw("Payment wasn't attached")
7676 else if ((r > lastBlock.height))
77- then throw((("Still wait block " + toString(r)) + " for crafting"))
77+ then throw((("Wait block " + toString(r)) + " for crafting again"))
7878 else if (if (if ((q != 1))
7979 then (q != 10)
8080 else false)
8181 then (q != 50)
8282 else false)
83- then throw("Wrong weight ingot!")
83+ then throw("Wrong ingot's weight!")
8484 else {
8585 let v = k.payments[0]
8686 if ((v.assetId != d))
87- then throw("PAY IN RES TOKEN ONLY")
87+ then throw("Payment only in gLump")
8888 else if ((v.amount != (b * q)))
89- then throw((("PAY " + toString((b * q))) + " RES TOKEN ONLY"))
89+ then throw((("Payment expected " + toString((b * q))) + " gLump"))
9090 else {
9191 let w = ("INGOT" + toString(t))
9292 let x = (((((("{\"weight\":" + toString(q)) + ",\"uid\":") + toString(t)) + ",\"made_by\":\"") + l) + "\"}")
9393 let y = Issue(w, x, 1, 0, false)
9494 let z = calculateAssetId(y)
95-[Burn(d, 10), Issue(w, x, 1, 0, false), ScriptTransfer(k.caller, 1, z), IntegerEntry("ingots_count", t), StringEntry(("ingot_" + toString(t)), toBase58String(z)), IntegerEntry(("craft_" + l), u)]
95+[Burn(d, (b * q)), Issue(w, x, 1, 0, false), ScriptTransfer(k.caller, 1, z), IntegerEntry("ingots_count", t), StringEntry(("ingot_" + toString(t)), toBase58String(z)), IntegerEntry(("craft_" + l), u)]
9696 }
9797 }
9898 }
113113 }
114114 if ((B > 0))
115115 then throw("You already have a plot!")
116- else {
117- let v = k.payments[0]
118- if (isDefined(v.assetId))
119- then throw("Pay in WAVES only")
120- else if ((v.amount != (A * c)))
121- then throw((("Pay " + toString((A * c))) + " WAVELET"))
122- else [IntegerEntry(("plot_" + l), A)]
123- }
116+ else if (if ((0 > B))
117+ then true
118+ else (B > 1000))
119+ then throw("Correct size value from 1 to 1000")
120+ else {
121+ let v = k.payments[0]
122+ if (isDefined(v.assetId))
123+ then throw("Payment only in ЦФМУЫ")
124+ else if ((v.amount != (A * c)))
125+ then throw((("Payment expected " + toString((A * c))) + " WAVELET"))
126+ else [IntegerEntry(("plot_" + l), A)]
127+ }
124128 }
125129
126130
151155 if ((0 >= B))
152156 then throw("Plot is empty, buy new!")
153157 else if ((m > lastBlock.height))
154- then throw((("Still wait block " + toString(m)) + " for mining"))
158+ then throw((("Wait block " + toString(m)) + " for mining again"))
155159 else [IntegerEntry(("wait_" + l), o), ScriptTransfer(k.caller, 1000, d), IntegerEntry(("plot_" + l), C)]
156160 }
157161
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 10
55
66 let b = 10
77
88 let c = 100000
99
1010 let d = base58'HdveNhSzDRiEib9RfQ5EAxmpFVica4EqvBFd2S4pdbD4'
1111
1212 func e (f) = {
1313 let g = {
1414 let h = getBinary(this, "lastPlay")
1515 if ($isInstanceOf(h, "ByteVector"))
1616 then {
1717 let i = h
1818 i
1919 }
2020 else if ($isInstanceOf(h, "Unit"))
2121 then base58'TGCTLFoHxJ8U7rcUofN'
2222 else throw("Match error")
2323 }
2424 let j = (((((g + f.transactionId) + f.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
2525 sha256(j)
2626 }
2727
2828
2929 @Callable(k)
3030 func goToMine () = {
3131 let l = toBase58String(k.caller.bytes)
3232 let m = {
3333 let h = getInteger(this, ("wait_" + l))
3434 if ($isInstanceOf(h, "Int"))
3535 then {
3636 let n = h
3737 n
3838 }
3939 else 0
4040 }
4141 let o = (lastBlock.height + a)
4242 let p = e(k)
4343 let q = (toInt(p) % 1000)
4444 if ((m > lastBlock.height))
45- then throw((("Still wait block " + toString(m)) + " for mining"))
45+ then throw((("Wait block " + toString(m)) + " for mining again"))
4646 else [IntegerEntry(("wait_" + l), o), ScriptTransfer(k.caller, q, d)]
4747 }
4848
4949
5050
5151 @Callable(k)
5252 func craftIngot (q) = {
5353 let l = toBase58String(k.caller.bytes)
5454 let r = {
5555 let h = getInteger(this, ("craft_" + l))
5656 if ($isInstanceOf(h, "Int"))
5757 then {
5858 let n = h
5959 n
6060 }
6161 else 0
6262 }
6363 let s = {
6464 let h = getInteger(this, "ingots_count")
6565 if ($isInstanceOf(h, "Int"))
6666 then {
6767 let n = h
6868 n
6969 }
7070 else 0
7171 }
7272 let t = (s + 1)
7373 let u = (lastBlock.height + a)
7474 if ((size(k.payments) == 0))
75- then throw("Payment not attached")
75+ then throw("Payment wasn't attached")
7676 else if ((r > lastBlock.height))
77- then throw((("Still wait block " + toString(r)) + " for crafting"))
77+ then throw((("Wait block " + toString(r)) + " for crafting again"))
7878 else if (if (if ((q != 1))
7979 then (q != 10)
8080 else false)
8181 then (q != 50)
8282 else false)
83- then throw("Wrong weight ingot!")
83+ then throw("Wrong ingot's weight!")
8484 else {
8585 let v = k.payments[0]
8686 if ((v.assetId != d))
87- then throw("PAY IN RES TOKEN ONLY")
87+ then throw("Payment only in gLump")
8888 else if ((v.amount != (b * q)))
89- then throw((("PAY " + toString((b * q))) + " RES TOKEN ONLY"))
89+ then throw((("Payment expected " + toString((b * q))) + " gLump"))
9090 else {
9191 let w = ("INGOT" + toString(t))
9292 let x = (((((("{\"weight\":" + toString(q)) + ",\"uid\":") + toString(t)) + ",\"made_by\":\"") + l) + "\"}")
9393 let y = Issue(w, x, 1, 0, false)
9494 let z = calculateAssetId(y)
95-[Burn(d, 10), Issue(w, x, 1, 0, false), ScriptTransfer(k.caller, 1, z), IntegerEntry("ingots_count", t), StringEntry(("ingot_" + toString(t)), toBase58String(z)), IntegerEntry(("craft_" + l), u)]
95+[Burn(d, (b * q)), Issue(w, x, 1, 0, false), ScriptTransfer(k.caller, 1, z), IntegerEntry("ingots_count", t), StringEntry(("ingot_" + toString(t)), toBase58String(z)), IntegerEntry(("craft_" + l), u)]
9696 }
9797 }
9898 }
9999
100100
101101
102102 @Callable(k)
103103 func buyPlot (A) = {
104104 let l = toBase58String(k.caller.bytes)
105105 let B = {
106106 let h = getInteger(this, ("plot_" + l))
107107 if ($isInstanceOf(h, "Int"))
108108 then {
109109 let n = h
110110 n
111111 }
112112 else 0
113113 }
114114 if ((B > 0))
115115 then throw("You already have a plot!")
116- else {
117- let v = k.payments[0]
118- if (isDefined(v.assetId))
119- then throw("Pay in WAVES only")
120- else if ((v.amount != (A * c)))
121- then throw((("Pay " + toString((A * c))) + " WAVELET"))
122- else [IntegerEntry(("plot_" + l), A)]
123- }
116+ else if (if ((0 > B))
117+ then true
118+ else (B > 1000))
119+ then throw("Correct size value from 1 to 1000")
120+ else {
121+ let v = k.payments[0]
122+ if (isDefined(v.assetId))
123+ then throw("Payment only in ЦФМУЫ")
124+ else if ((v.amount != (A * c)))
125+ then throw((("Payment expected " + toString((A * c))) + " WAVELET"))
126+ else [IntegerEntry(("plot_" + l), A)]
127+ }
124128 }
125129
126130
127131
128132 @Callable(k)
129133 func goToPlot () = {
130134 let l = toBase58String(k.caller.bytes)
131135 let B = {
132136 let h = getInteger(this, ("plot_" + l))
133137 if ($isInstanceOf(h, "Int"))
134138 then {
135139 let n = h
136140 n
137141 }
138142 else 0
139143 }
140144 let m = {
141145 let h = getInteger(this, ("wait_" + l))
142146 if ($isInstanceOf(h, "Int"))
143147 then {
144148 let n = h
145149 n
146150 }
147151 else 0
148152 }
149153 let o = (lastBlock.height + a)
150154 let C = (B - 1)
151155 if ((0 >= B))
152156 then throw("Plot is empty, buy new!")
153157 else if ((m > lastBlock.height))
154- then throw((("Still wait block " + toString(m)) + " for mining"))
158+ then throw((("Wait block " + toString(m)) + " for mining again"))
155159 else [IntegerEntry(("wait_" + l), o), ScriptTransfer(k.caller, 1000, d), IntegerEntry(("plot_" + l), C)]
156160 }
157161
158162

github/deemru/w8io/169f3d6 
66.27 ms