tx · 2BV7j3oqWwSdRDLzRbgfbmiZqRCPBe6N5wZdugm9SoAN

3MrdV3AP4zfU77ifesNStoDZmL1Cfx13eDc:  -0.05000000 Waves

2019.12.29 17:01 [830442] smart account 3MrdV3AP4zfU77ifesNStoDZmL1Cfx13eDc > SELF 0.00000000 Waves

{ "type": 13, "id": "2BV7j3oqWwSdRDLzRbgfbmiZqRCPBe6N5wZdugm9SoAN", "fee": 5000000, "feeAssetId": null, "timestamp": 1577627959542, "version": 1, "sender": "3MrdV3AP4zfU77ifesNStoDZmL1Cfx13eDc", "senderPublicKey": "5M79Anear5ntQk2bbDdFA2goiPXkv7Xy2UpV4n5RKRv", "proofs": [ "3rnsvooMgSuSzJwW9ZuMw4gT2NFS7oUcpjZkTsNwWF6SMp7UX3NUcB72ULWPYQtubFWEmTRBf684BbHZw2b7z5dA" ], "script": "base64:AAIDAAAAAAAAABoIARIAEgMKAQgSAwoBCBIDCgEIEgASAwoBAQAAABQAAAAADUxPQ0tFRFdCRVRLRVkCAAAAEyRXQkVUX0xPQ0tFRF9BTU9VTlQAAAAADkxPQ0tFRFJPWUFMS0VZAgAAABQkUk9ZQUxfTE9DS0VSX0FNT1VOVAAAAAAQV0FMTEVUQ09VTlRFUktFWQIAAAALJFdBTExFVF9OVU0AAAAAD0NPTU1VTklUWUZFRUtFWQIAAAAUJENPTU1VTklUWUZFRV9BTU9VTlQAAAAABFdCRVQBAAAAIIa0Nqh40w7M2PAXrUsuLAQfB5+6yrkWqUrXbyWtm9B2AAAAAAVST1lBTAEAAAAgQ+mKgsIl2XSclXwgUknGo5qQsraVX2JiXso4iYkMaRwAAAAAD0NPTU1VTklUWVdBTExFVAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVC8R8HhOr9aTn6luIitmtR+yU9d4zzto+wAAAAAKV0JFVExPQ0tFRAAAAAAAAAAAAAAAAAALUk9ZQUxMT0NLRUQAAAAAAAAAAAEAAAAADFdCRVRXSVRIRFJBVwAAAAAAAAAAAgAAAAANUk9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AAAECAAAANFlvdSBkbyBub3QgaGF2ZSBwZXJtaXNzaW9uIHRvIHBlcmZvcm0gdGhpcyBmdW5jdGlvbi4AAAAALvCsbA==", "chainId": 84, "height": 830442, "spentComplexity": 0 } View: original | compacted Prev: ATvFWxCGiu9qBmeVFK6Ejc4eZ5hgbGcBDzq8Yi2Kf8ZY Next: AHu7het4xbRrs4AVgTj5x1VMqnTJyRvYBvwR63vqcYLa Diff:
OldNewDifferences
66 let LOCKEDROYALKEY = "$ROYAL_LOCKER_AMOUNT"
77
88 let WALLETCOUNTERKEY = "$WALLET_NUM"
9+
10+let COMMUNITYFEEKEY = "$COMMUNITYFEE_AMOUNT"
911
1012 let WBET = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw'
1113
4345
4446
4547 func ExtractROYALReservedAmt () = match getInteger(this, LOCKEDROYALKEY) {
48+ case a: Int =>
49+ a
50+ case _ =>
51+ 0
52+}
53+
54+
55+func ExtractFEEReservedAmt () = match getInteger(this, COMMUNITYFEEKEY) {
4656 case a: Int =>
4757 a
4858 case _ =>
187197 else throw("You do not have permission to perform this function.")
188198
189199
200+
201+@Callable(i)
202+func addCommunityFee () = {
203+ let payment = extract(i.payment)
204+ if ((payment.assetId != assetInfo(base58'WAVES')))
205+ then throw("Payment should be in WAVES.")
206+ else {
207+ let newFEEReservedAmount = (ExtractFEEReservedAmt() + payment.amount)
208+ ScriptResult(WriteSet([DataEntry(COMMUNITYFEEKEY, newFEEReservedAmount)]), TransferSet(nil))
209+ }
210+ }
211+
212+
213+
214+@Callable(i)
215+func getCommunityFee (amount) = if ((i.caller == COMMUNITYWALLET))
216+ then {
217+ let payment = extract(i.payment)
218+ let FEEReservedAmount = ExtractFEEReservedAmt()
219+ if ((amount > FEEReservedAmount))
220+ then throw("You dont have enough balance to transfer the amount requested.")
221+ else {
222+ let newFEEReservedAmount = (FEEReservedAmount - amount)
223+ ScriptResult(WriteSet([DataEntry(COMMUNITYFEEKEY, newFEEReservedAmount)]), TransferSet([ScriptTransfer(COMMUNITYWALLET, amount, unit)]))
224+ }
225+ }
226+ else throw("You do not have permission to perform this function.")
227+
228+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let LOCKEDWBETKEY = "$WBET_LOCKED_AMOUNT"
55
66 let LOCKEDROYALKEY = "$ROYAL_LOCKER_AMOUNT"
77
88 let WALLETCOUNTERKEY = "$WALLET_NUM"
9+
10+let COMMUNITYFEEKEY = "$COMMUNITYFEE_AMOUNT"
911
1012 let WBET = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw'
1113
1214 let ROYAL = base58'5a6rvDEiVwvhTvTH6ce2qFwqdCt3VKaHKXEpwLXXVvyy'
1315
1416 let COMMUNITYWALLET = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8')
1517
1618 let WBETLOCKED = 0
1719
1820 let ROYALLOCKED = 1
1921
2022 let WBETWITHDRAW = 2
2123
2224 let ROYALWITHDRAW = 3
2325
2426 let WAVESWITHDRAW = 4
2527
2628 func IncrementWalletNum () = {
2729 let walletNum = match getInteger(this, WALLETCOUNTERKEY) {
2830 case num: Int =>
2931 num
3032 case _ =>
3133 0
3234 }
3335 (walletNum + 1)
3436 }
3537
3638
3739 func ExtractWBETReservedAmt () = match getInteger(this, LOCKEDWBETKEY) {
3840 case a: Int =>
3941 a
4042 case _ =>
4143 0
4244 }
4345
4446
4547 func ExtractROYALReservedAmt () = match getInteger(this, LOCKEDROYALKEY) {
48+ case a: Int =>
49+ a
50+ case _ =>
51+ 0
52+}
53+
54+
55+func ExtractFEEReservedAmt () = match getInteger(this, COMMUNITYFEEKEY) {
4656 case a: Int =>
4757 a
4858 case _ =>
4959 0
5060 }
5161
5262
5363 func ExtractPlayerAmt (wallet) = match getString(this, wallet) {
5464 case str: String =>
5565 str
5666 case _ =>
5767 "0_0_0_0_0"
5868 }
5969
6070
6171 func WalletExist (wallet) = match getString(this, wallet) {
6272 case str: String =>
6373 true
6474 case _ =>
6575 false
6676 }
6777
6878
6979 func FormatPlayerBalance (wbet,royal,wbetWithdraw,royalWithdraw,wavesWithdraw) = ((((((((toString(wbet) + "_") + toString(royal)) + "_") + toString(wbetWithdraw)) + "_") + toString(royalWithdraw)) + "_") + toString(wavesWithdraw))
7080
7181
7282 func ParsePlayerBalance (wallet) = {
7383 let amounts = split(ExtractPlayerAmt(wallet), "_")
7484 let wbetAmount = parseIntValue(amounts[WBETLOCKED])
7585 let royalAmount = parseIntValue(amounts[ROYALLOCKED])
7686 let wbetWithdraw = parseIntValue(amounts[WBETWITHDRAW])
7787 let royalWithdraw = parseIntValue(amounts[ROYALWITHDRAW])
7888 let wavesWithdraw = parseIntValue(amounts[WAVESWITHDRAW])
7989 [wbetAmount, royalAmount, wbetWithdraw, royalWithdraw, wavesWithdraw]
8090 }
8191
8292
8393 @Callable(i)
8494 func lock () = {
8595 let payment = extract(i.payment)
8696 if (if ((payment.assetId != WBET))
8797 then (payment.assetId != ROYAL)
8898 else false)
8999 then throw("The token should be in WBET or ROYAL.")
90100 else {
91101 let wallet = toString(i.caller)
92102 let balance = ParsePlayerBalance(wallet)
93103 if ((payment.assetId == WBET))
94104 then {
95105 let newWBETReservedAmount = (ExtractWBETReservedAmt() + payment.amount)
96106 let newPlayerWBETAmount = (balance[WBETLOCKED] + payment.amount)
97107 if (WalletExist(wallet))
98108 then ScriptResult(WriteSet([DataEntry(LOCKEDWBETKEY, newWBETReservedAmount), DataEntry(wallet, FormatPlayerBalance(newPlayerWBETAmount, balance[ROYALLOCKED], balance[WBETWITHDRAW], balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet(nil))
99109 else {
100110 let newWalletNum = IncrementWalletNum()
101111 ScriptResult(WriteSet([DataEntry(WALLETCOUNTERKEY, newWalletNum), DataEntry(LOCKEDWBETKEY, newWBETReservedAmount), DataEntry(wallet, FormatPlayerBalance(newPlayerWBETAmount, balance[ROYALLOCKED], balance[WBETWITHDRAW], balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet(nil))
102112 }
103113 }
104114 else if ((payment.assetId == ROYAL))
105115 then {
106116 let newROYALReservedAmount = (ExtractROYALReservedAmt() + payment.amount)
107117 let newPlayerRoyalAmount = (balance[ROYALLOCKED] + payment.amount)
108118 if (WalletExist(wallet))
109119 then ScriptResult(WriteSet([DataEntry(LOCKEDROYALKEY, newROYALReservedAmount), DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], newPlayerRoyalAmount, balance[WBETWITHDRAW], balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet(nil))
110120 else {
111121 let newWalletNum = IncrementWalletNum()
112122 ScriptResult(WriteSet([DataEntry(WALLETCOUNTERKEY, newWalletNum), DataEntry(LOCKEDROYALKEY, newROYALReservedAmount), DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], newPlayerRoyalAmount, balance[WBETWITHDRAW], balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet(nil))
113123 }
114124 }
115125 else throw("error")
116126 }
117127 }
118128
119129
120130
121131 @Callable(i)
122132 func unlock (asset) = {
123133 let wallet = toString(i.caller)
124134 let balance = ParsePlayerBalance(wallet)
125135 if ((asset == "WBET"))
126136 then if ((0 >= balance[WBETLOCKED]))
127137 then throw("You dont have enough balance to withdraw the amount requested.")
128138 else {
129139 let newWBETReservedAmount = (ExtractWBETReservedAmt() - balance[WBETLOCKED])
130140 ScriptResult(WriteSet([DataEntry(LOCKEDWBETKEY, newWBETReservedAmount), DataEntry(wallet, FormatPlayerBalance(0, balance[ROYALLOCKED], balance[WBETWITHDRAW], balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet([ScriptTransfer(i.caller, balance[WBETLOCKED], WBET)]))
131141 }
132142 else if ((asset == "ROYAL"))
133143 then if ((0 >= balance[ROYALLOCKED]))
134144 then throw("You dont have enough balance to withdraw the amount requested.")
135145 else {
136146 let newROYALReservedAmount = (ExtractROYALReservedAmt() - balance[ROYALLOCKED])
137147 ScriptResult(WriteSet([DataEntry(LOCKEDROYALKEY, newROYALReservedAmount), DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], 0, balance[WBETWITHDRAW], balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet([ScriptTransfer(i.caller, balance[ROYALLOCKED], ROYAL)]))
138148 }
139149 else throw("Invalid asset")
140150 }
141151
142152
143153
144154 @Callable(i)
145155 func withdraw (asset) = {
146156 let wallet = toString(i.caller)
147157 let balance = ParsePlayerBalance(wallet)
148158 if ((asset == "WBET"))
149159 then if ((0 >= balance[WBETWITHDRAW]))
150160 then throw("You dont have enough balance to withdraw the amount requested.")
151161 else ScriptResult(WriteSet([DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], balance[ROYALLOCKED], 0, balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet([ScriptTransfer(i.caller, balance[WBETWITHDRAW], WBET)]))
152162 else if ((asset == "ROYAL"))
153163 then if ((0 >= balance[ROYALWITHDRAW]))
154164 then throw("You dont have enough balance to withdraw the amount requested.")
155165 else ScriptResult(WriteSet([DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], balance[ROYALLOCKED], balance[WBETWITHDRAW], 0, balance[WAVESWITHDRAW]))]), TransferSet([ScriptTransfer(i.caller, balance[ROYALWITHDRAW], ROYAL)]))
156166 else if ((asset == "WAVES"))
157167 then if ((0 >= balance[WAVESWITHDRAW]))
158168 then throw("You dont have enough balance to withdraw the amount requested.")
159169 else ScriptResult(WriteSet([DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], balance[ROYALLOCKED], balance[WBETWITHDRAW], balance[WBETWITHDRAW], 0))]), TransferSet([ScriptTransfer(i.caller, balance[WAVESWITHDRAW], unit)]))
160170 else throw("Invalid asset")
161171 }
162172
163173
164174
165175 @Callable(i)
166176 func addWithdraw (wallet) = if ((i.caller == COMMUNITYWALLET))
167177 then {
168178 let payment = extract(i.payment)
169179 let balance = ParsePlayerBalance(wallet)
170180 if ((payment.assetId == WBET))
171181 then {
172182 let newWbetAmount = (balance[WBETWITHDRAW] + payment.amount)
173183 ScriptResult(WriteSet([DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], balance[ROYALLOCKED], newWbetAmount, balance[ROYALWITHDRAW], balance[WAVESWITHDRAW]))]), TransferSet(nil))
174184 }
175185 else if ((payment.assetId == ROYAL))
176186 then {
177187 let newRoyalAmount = (balance[ROYALWITHDRAW] + payment.amount)
178188 ScriptResult(WriteSet([DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], balance[ROYALLOCKED], balance[WBETWITHDRAW], newRoyalAmount, balance[WAVESWITHDRAW]))]), TransferSet(nil))
179189 }
180190 else if ((payment.assetId == unit))
181191 then {
182192 let newWavesAmount = (balance[WAVESWITHDRAW] + payment.amount)
183193 ScriptResult(WriteSet([DataEntry(wallet, FormatPlayerBalance(balance[WBETLOCKED], balance[ROYALLOCKED], balance[WBETWITHDRAW], balance[ROYALWITHDRAW], newWavesAmount))]), TransferSet(nil))
184194 }
185195 else throw("Invalid asset")
186196 }
187197 else throw("You do not have permission to perform this function.")
188198
189199
200+
201+@Callable(i)
202+func addCommunityFee () = {
203+ let payment = extract(i.payment)
204+ if ((payment.assetId != assetInfo(base58'WAVES')))
205+ then throw("Payment should be in WAVES.")
206+ else {
207+ let newFEEReservedAmount = (ExtractFEEReservedAmt() + payment.amount)
208+ ScriptResult(WriteSet([DataEntry(COMMUNITYFEEKEY, newFEEReservedAmount)]), TransferSet(nil))
209+ }
210+ }
211+
212+
213+
214+@Callable(i)
215+func getCommunityFee (amount) = if ((i.caller == COMMUNITYWALLET))
216+ then {
217+ let payment = extract(i.payment)
218+ let FEEReservedAmount = ExtractFEEReservedAmt()
219+ if ((amount > FEEReservedAmount))
220+ then throw("You dont have enough balance to transfer the amount requested.")
221+ else {
222+ let newFEEReservedAmount = (FEEReservedAmount - amount)
223+ ScriptResult(WriteSet([DataEntry(COMMUNITYFEEKEY, newFEEReservedAmount)]), TransferSet([ScriptTransfer(COMMUNITYWALLET, amount, unit)]))
224+ }
225+ }
226+ else throw("You do not have permission to perform this function.")
227+
228+

github/deemru/w8io/026f985 
33.33 ms