tx · DAijscLWRz9y3XpuzTyYKeeKjLytuYmYfpQiuUPN1arY

3MrdV3AP4zfU77ifesNStoDZmL1Cfx13eDc:  -0.05000000 Waves

2019.12.19 09:11 [815410] smart account 3MrdV3AP4zfU77ifesNStoDZmL1Cfx13eDc > SELF 0.00000000 Waves

{ "type": 13, "id": "DAijscLWRz9y3XpuzTyYKeeKjLytuYmYfpQiuUPN1arY", "fee": 5000000, "feeAssetId": null, "timestamp": 1576735981291, "version": 1, "sender": "3MrdV3AP4zfU77ifesNStoDZmL1Cfx13eDc", "senderPublicKey": "5M79Anear5ntQk2bbDdFA2goiPXkv7Xy2UpV4n5RKRv", "proofs": [ "5dyjZ8w2Ea5bSxZEvG8qCXqsfgQAZ846oMeNP8HHcBCeb8PPAsADVJNVd6w3XEmB2tAh8sLVhLDJW1v7TCBFjS3e" ], "script": "base64:AAIDAAAAAAAAABMIARIAEgMKAQgSAwoBCBIDCgEIAAAADwAAAAANTE9DS0VEV0JFVEtFWQIAAAATJFdCRVRfTE9DS0VEX0FNT1VOVAAAAAAOTE9DS0VEUk9ZQUxLRVkCAAAAFCRST1lBTF9MT0NLRVJfQU1PVU5UAAAAAARXQkVUAQAAACCGtDaoeNMOzNjwF61LLiwEHwefusq5FqlK128lrZvQdgAAAAAFUk9ZQUwBAAAAIEPpioLCJdl0nJV8IFJJxqOakLK2lV9iYl7KOImJDGkcAAAAAA9DT01NVU5JVFlXQUxMRVQJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSokXbrXNtTilt+wsoFPXwsICOsMTcOEwMAAAAACldCRVRMT0NLRUQAAAAAAAAAAAAAAAAAC1JPWUFMTE9DS0VEAAAAAAAAAAABAAAAAAxXQkVUV0lUSERSQVcAAAAAAAAAAAIAAAAADVJPWUFMV0lUSERSQVcAAAAAAAAAAAMAAAAADVdBVkVTV0lUSERSQVcAAAAAAAAAAAQBAAAAFkV4dHJhY3RXQkVUUmVzZXJ2ZWRBbXQAAAAABAAAAAckbWF0Y2gwCQAE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kAAZEAAAACBQAAAAdiYWxhbmNlBQAAAA1XQVZFU1dJVEhEUkFXBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAMJAAAAAAAAAggFAAAAB3BheW1lbnQAAAAHYXNzZXRJZAUAAAAEdW5pdAQAAAAObmV3V2F2ZXNBbW91bnQJAABkAAAAAgkAAZEAAAACBQAAAAdiYWxhbmNlBQAAAA1XQVZFU1dJVEhEUkFXCAUAAAAHcGF5bWVudAAAAAZhbW91bnQJAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAZ3YWxsZXQJAQAAABNGb3JtYXRQbGF5ZXJCYWxhbmNlAAAABQkAAZEAAAACBQAAAAdiYWxhbmNlBQAAAApXQkVUTE9DS0VECQABkQAAAAIFAAAAB2JhbGFuY2UFAAAAC1JPWUFMTE9DS0VECQABkQAAAAIFAAAAB2JhbGFuY2UFAAAADFdCRVRXSVRIRFJBVwkAAZEAAAACBQAAAAdiYWxhbmNlBQAAAA1ST1lBTFdJVEhEUkFXBQAAAA5uZXdXYXZlc0Ftb3VudAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwJAAACAAAAAQIAAAANSW52YWxpZCBhc3NldAkAAAIAAAABAgAAADRZb3UgZG8gbm90IGhhdmUgcGVybWlzc2lvbiB0byBwZXJmb3JtIHRoaXMgZnVuY3Rpb24uAAAAAJLWu0I=", "chainId": 84, "height": 815410, "spentComplexity": 0 } View: original | compacted Prev: FfBE2MCUnoFPqg9YDcYyK5UQDGRriN2CBUDBveq1Rd7G Next: 4A9xrrFaADHuZbAQV16QFgd9tEMJhGkMhfBB6g3DXS6N Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "$WBET_RESERVED_AMOUNT"
4+let a = "$WBET_LOCKED_AMOUNT"
55
6-let b = "$ROYAL_RESERVED_AMOUNT"
6+let b = "$ROYAL_LOCKER_AMOUNT"
77
88 let c = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw'
99
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = "$WBET_RESERVED_AMOUNT"
4+let a = "$WBET_LOCKED_AMOUNT"
55
6-let b = "$ROYAL_RESERVED_AMOUNT"
6+let b = "$ROYAL_LOCKER_AMOUNT"
77
88 let c = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw'
99
1010 let d = base58'5a6rvDEiVwvhTvTH6ce2qFwqdCt3VKaHKXEpwLXXVvyy'
1111
1212 let e = Address(base58'3N5HPZCbRfvh1NcELNrM13BXo5kT8TLyuyL')
1313
1414 let f = 0
1515
1616 let g = 1
1717
1818 let h = 2
1919
2020 let i = 3
2121
2222 let j = 4
2323
2424 func k () = {
2525 let l = getInteger(this, a)
2626 if ($isInstanceOf(l, "Int"))
2727 then {
2828 let m = l
2929 m
3030 }
3131 else 0
3232 }
3333
3434
3535 func n () = {
3636 let l = getInteger(this, b)
3737 if ($isInstanceOf(l, "Int"))
3838 then {
3939 let m = l
4040 m
4141 }
4242 else 0
4343 }
4444
4545
4646 func o (p) = {
4747 let l = getString(this, p)
4848 if ($isInstanceOf(l, "String"))
4949 then {
5050 let q = l
5151 q
5252 }
5353 else "0_0_0_0_0"
5454 }
5555
5656
5757 func r (s,t,u,v,w) = ((((((((toString(s) + "_") + toString(t)) + "_") + toString(u)) + "_") + toString(v)) + "_") + toString(w))
5858
5959
6060 func x (p) = {
6161 let y = split(o(p), "_")
6262 let z = parseIntValue(y[f])
6363 let A = parseIntValue(y[g])
6464 let u = parseIntValue(y[h])
6565 let v = parseIntValue(y[i])
6666 let w = parseIntValue(y[j])
6767 [z, A, u, v, w]
6868 }
6969
7070
7171 @Callable(B)
7272 func lock () = {
7373 let C = extract(B.payment)
7474 if (if ((C.assetId != c))
7575 then (C.assetId != d)
7676 else false)
7777 then throw("The token should be in WBET or ROYAL.")
7878 else {
7979 let p = toString(B.caller)
8080 let D = x(p)
8181 if ((C.assetId == c))
8282 then {
8383 let E = (k() + C.amount)
8484 let F = (D[f] + C.amount)
8585 ScriptResult(WriteSet([DataEntry(a, E), DataEntry(p, r(F, D[g], D[h], D[i], D[j]))]), TransferSet(nil))
8686 }
8787 else if ((C.assetId == d))
8888 then {
8989 let G = (n() + C.amount)
9090 let H = (D[g] + C.amount)
9191 ScriptResult(WriteSet([DataEntry(b, G), DataEntry(p, r(D[f], H, D[h], D[i], D[j]))]), TransferSet(nil))
9292 }
9393 else throw("error")
9494 }
9595 }
9696
9797
9898
9999 @Callable(B)
100100 func unlock (I) = {
101101 let p = toString(B.caller)
102102 let D = x(p)
103103 if ((I == "WBET"))
104104 then if ((0 >= D[f]))
105105 then throw("You dont have enough balance to withdraw the amount requested.")
106106 else {
107107 let E = (k() - D[f])
108108 ScriptResult(WriteSet([DataEntry(a, E), DataEntry(p, r(0, D[g], D[h], D[i], D[j]))]), TransferSet([ScriptTransfer(B.caller, D[f], c)]))
109109 }
110110 else if ((I == "ROYAL"))
111111 then if ((0 >= D[g]))
112112 then throw("You dont have enough balance to withdraw the amount requested.")
113113 else {
114114 let G = (n() - D[g])
115115 ScriptResult(WriteSet([DataEntry(b, G), DataEntry(p, r(D[f], 0, D[h], D[i], D[j]))]), TransferSet([ScriptTransfer(B.caller, D[g], d)]))
116116 }
117117 else throw("Invalid asset")
118118 }
119119
120120
121121
122122 @Callable(B)
123123 func withdraw (I) = {
124124 let p = toString(B.caller)
125125 let D = x(p)
126126 if ((I == "WBET"))
127127 then if ((0 >= D[h]))
128128 then throw("You dont have enough balance to withdraw the amount requested.")
129129 else ScriptResult(WriteSet([DataEntry(p, r(D[f], D[g], 0, D[i], D[j]))]), TransferSet([ScriptTransfer(B.caller, D[h], c)]))
130130 else if ((I == "ROYAL"))
131131 then if ((0 >= D[i]))
132132 then throw("You dont have enough balance to withdraw the amount requested.")
133133 else ScriptResult(WriteSet([DataEntry(p, r(D[f], D[g], D[h], 0, D[j]))]), TransferSet([ScriptTransfer(B.caller, D[i], d)]))
134134 else if ((I == "WAVES"))
135135 then if ((0 >= D[j]))
136136 then throw("You dont have enough balance to withdraw the amount requested.")
137137 else ScriptResult(WriteSet([DataEntry(p, r(D[f], D[g], D[h], D[h], 0))]), TransferSet([ScriptTransfer(B.caller, D[j], unit)]))
138138 else throw("Invalid asset")
139139 }
140140
141141
142142
143143 @Callable(B)
144144 func addWithdraw (p) = if ((B.caller == e))
145145 then {
146146 let C = extract(B.payment)
147147 let D = x(p)
148148 if ((C.assetId == c))
149149 then {
150150 let J = (D[h] + C.amount)
151151 ScriptResult(WriteSet([DataEntry(p, r(D[f], D[g], J, D[i], D[j]))]), TransferSet(nil))
152152 }
153153 else if ((C.assetId == d))
154154 then {
155155 let K = (D[i] + C.amount)
156156 ScriptResult(WriteSet([DataEntry(p, r(D[f], D[g], D[h], K, D[j]))]), TransferSet(nil))
157157 }
158158 else if ((C.assetId == unit))
159159 then {
160160 let L = (D[j] + C.amount)
161161 ScriptResult(WriteSet([DataEntry(p, r(D[f], D[g], D[h], D[i], L))]), TransferSet(nil))
162162 }
163163 else throw("Invalid asset")
164164 }
165165 else throw("You do not have permission to perform this function.")
166166
167167

github/deemru/w8io/026f985 
34.73 ms