tx · 6mkTN5Top9xkhR4PSRPWV9P8hhpuYd1s4G1FZSvkfBZz 3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep: -0.06200000 Waves 2023.11.13 21:36 [2841937] smart account 3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep > SELF 0.00000000 Waves
{ "type": 13, "id": "6mkTN5Top9xkhR4PSRPWV9P8hhpuYd1s4G1FZSvkfBZz", "fee": 6200000, "feeAssetId": null, "timestamp": 1699900642480, "version": 2, "chainId": 84, "sender": "3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep", "senderPublicKey": "7v5L7QkXxfkirALdyqmox38QCsa9jtfAtgUfHTh34eWq", "proofs": [ "2RhqLBR4tN8ULi3bEtMkWr3R6tqLdvLV9c24CEnGtwUUKPnBW8iG3dhyuYuafwY3xTh5Jzbw9RvBnZi6NcFV5CjM" ], "script": "base64:BgKVAQgCEgQKAggYEgMKAQgSBAoCERESBAoCCAESAwoBARIFCgMREQgSBgoEEREICBIECgIRERIFCgMREQgSBgoEEREICBIDCgEREgMKARESBAoCEQgSBAoCAQESBQoDAQEIEgYKBAEBCAgSBAoCCAgSBQoDCAgIEgQKAggIEgUKAwgICBIDCgEREgMKAQgSAwoBARIDCgEIaQAHeHBUcmFkZQCQTgAHeHBDcmFmdACQTgAKeHBTZWxsVG9FcwCQTgAGeHBTaG9wAJBOAApMQU5EUFJFRklYAgRMQU5EAAZOVU1SRVMABgAPREVGQVVMVExPQ0FUSU9OAg9BZnJpY2FfRl9BZnJpY2EAEFJFU09VUkNFUFJJQ0VNSU4A1bUCAA1FU01BWFBBQ0tBR0VTAAoACUVTQlVZQ09FRgAEABVNSU5fVVNEVF9GRUVfREVMSVZFUlkA0IYDABdNSU5fVVNEVF9GRUVfREVMSVZFUlkxNQD4yQQAD0NSQUZUX1VTRFRfQ09TVADAhD0AFENSQUZUX0RFTElWRVJZX0NPRUZGAAoAFVVTRFQyQUNSRVNfTVVMVElQTElFUgAKAAhyZXNUeXBlcwkAz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EludGVnZXJFbnRyeQIFEWRlbGl2ZXJ5TG9ja2VkS2V5CQBlAgULbG9ja2VkVG90YWwFFU1JTl9VU0RUX0ZFRV9ERUxJVkVSWQUDbmlsBQthY3Jlc1Jlc3VsdAAL5l+t", "height": 2841937, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3kdaZ5sHGDHH1LJEs8F2ULn5UyAp38iW61jJoZBE9ybX Next: FHa36LfMYarpM1x3WUjRJ1NWedUUQoocCnCMmokTWDCp Diff:
Old | New | Differences | |
---|---|---|---|
35 | 35 | ||
36 | 36 | let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"] | |
37 | 37 | ||
38 | - | let prodTypes = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3", "Mine L1", "Mine L2", "Mine L3", "Trap L1", "Trap L2", "Trap L3"] | |
38 | + | let prodTypes = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3", "Mine L1", "Mine L2", "Mine L3", "Trap L1", "Trap L2", "Trap L3", "CaboomDog L1", "CaboomDog L2", "CaboomDog L3"] | |
39 | 39 | ||
40 | 40 | let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
41 | 41 | ||
42 | 42 | let COEFF2MAT = 10000000 | |
43 | 43 | ||
44 | - | let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
44 | + | let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_", "23_23_5_20_23_6_35_2_0_0,0,0,0,0,0,0_", "23_23_5_20_23_6_70_2_0_0,0,0,0,0,0,0_", "23_23_5_20_23_6_105_2_0_0,0,0,0,0,0,0_"] | |
45 | 45 | ||
46 | 46 | let rIdxCoeff = 6 | |
47 | 47 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let xpTrade = 10000 | |
5 | 5 | ||
6 | 6 | let xpCraft = 10000 | |
7 | 7 | ||
8 | 8 | let xpSellToEs = 10000 | |
9 | 9 | ||
10 | 10 | let xpShop = 10000 | |
11 | 11 | ||
12 | 12 | let LANDPREFIX = "LAND" | |
13 | 13 | ||
14 | 14 | let NUMRES = 6 | |
15 | 15 | ||
16 | 16 | let DEFAULTLOCATION = "Africa_F_Africa" | |
17 | 17 | ||
18 | 18 | let RESOURCEPRICEMIN = 39637 | |
19 | 19 | ||
20 | 20 | let ESMAXPACKAGES = 10 | |
21 | 21 | ||
22 | 22 | let ESBUYCOEF = 4 | |
23 | 23 | ||
24 | 24 | let MIN_USDT_FEE_DELIVERY = 50000 | |
25 | 25 | ||
26 | 26 | let MIN_USDT_FEE_DELIVERY15 = 75000 | |
27 | 27 | ||
28 | 28 | let CRAFT_USDT_COST = 1000000 | |
29 | 29 | ||
30 | 30 | let CRAFT_DELIVERY_COEFF = 10 | |
31 | 31 | ||
32 | 32 | let USDT2ACRES_MULTIPLIER = 10 | |
33 | 33 | ||
34 | 34 | let resTypes = ["Oil", "Ore", "Wood", "Sand", "Clay", "Organic"] | |
35 | 35 | ||
36 | 36 | let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"] | |
37 | 37 | ||
38 | - | let prodTypes = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3", "Mine L1", "Mine L2", "Mine L3", "Trap L1", "Trap L2", "Trap L3"] | |
38 | + | let prodTypes = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3", "Mine L1", "Mine L2", "Mine L3", "Trap L1", "Trap L2", "Trap L3", "CaboomDog L1", "CaboomDog L2", "CaboomDog L3"] | |
39 | 39 | ||
40 | 40 | let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
41 | 41 | ||
42 | 42 | let COEFF2MAT = 10000000 | |
43 | 43 | ||
44 | - | let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
44 | + | let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_", "23_23_5_20_23_6_35_2_0_0,0,0,0,0,0,0_", "23_23_5_20_23_6_70_2_0_0,0,0,0,0,0,0_", "23_23_5_20_23_6_105_2_0_0,0,0,0,0,0,0_"] | |
45 | 45 | ||
46 | 46 | let rIdxCoeff = 6 | |
47 | 47 | ||
48 | 48 | let rIdxContinent = 7 | |
49 | 49 | ||
50 | 50 | let RECIPESIZE = 11 | |
51 | 51 | ||
52 | 52 | let PRODUCTPKGSIZE = 10 | |
53 | 53 | ||
54 | 54 | let whIdxLevels = 0 | |
55 | 55 | ||
56 | 56 | let whIdxRes = 1 | |
57 | 57 | ||
58 | 58 | let whIdxMat = 2 | |
59 | 59 | ||
60 | 60 | let whIdxProd = 3 | |
61 | 61 | ||
62 | 62 | let whIdxLOFT = 4 | |
63 | 63 | ||
64 | 64 | let volLocked = 0 | |
65 | 65 | ||
66 | 66 | let volTotal = 3 | |
67 | 67 | ||
68 | 68 | let bpIdxLevel = 0 | |
69 | 69 | ||
70 | 70 | let bpIdxRes = 1 | |
71 | 71 | ||
72 | 72 | let bpIdxMat = 2 | |
73 | 73 | ||
74 | 74 | let bpIdxProd = 3 | |
75 | 75 | ||
76 | 76 | let locIdxContinent = 0 | |
77 | 77 | ||
78 | 78 | let locIdxType = 1 | |
79 | 79 | ||
80 | 80 | let locIdxId = 2 | |
81 | 81 | ||
82 | 82 | func keyLandAssetIdToOwner (assetId) = ("no_" + assetId) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func keyStakedTimeByAssetId (assetId) = ("st_" + assetId) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func keyAddressRefBy (addr) = ("accRefBy_" + addr) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func keyOrderByLand (landAssetId) = ("landOrder_" + landAssetId) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func keyEsWarehouse () = "emergencyWarehouseProducts" | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | let deliveryFundKey = "deliveryFund" | |
107 | 107 | ||
108 | 108 | let deliveryLockedKey = "deliveryLocked" | |
109 | 109 | ||
110 | 110 | func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | let chain = take(drop(this.bytes, 1), 1) | |
114 | 114 | ||
115 | 115 | let usdtAssetId = match chain { | |
116 | 116 | case _ => | |
117 | 117 | if ((base58'2W' == $match0)) | |
118 | 118 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
119 | 119 | else if ((base58'2T' == $match0)) | |
120 | 120 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
121 | 121 | else throw("Unknown chain") | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | let defaultRestAddressStr = match chain { | |
125 | 125 | case _ => | |
126 | 126 | if ((base58'2W' == $match0)) | |
127 | 127 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
128 | 128 | else if ((base58'2T' == $match0)) | |
129 | 129 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
130 | 130 | else throw("Unknown chain") | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | let SEP = "__" | |
134 | 134 | ||
135 | 135 | let MULT5 = 100000 | |
136 | 136 | ||
137 | 137 | let MULT6 = 1000000 | |
138 | 138 | ||
139 | 139 | let MULT8 = 100000000 | |
140 | 140 | ||
141 | 141 | let MULT10 = 10000000000 | |
142 | 142 | ||
143 | 143 | let MINSHOPPAYMENT = 100000 | |
144 | 144 | ||
145 | 145 | let ITER6 = [0, 1, 2, 3, 4, 5] | |
146 | 146 | ||
147 | 147 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | let IdxCfgStakingDapp = 1 | |
151 | 151 | ||
152 | 152 | let IdxCfgInvestFundDapp = 6 | |
153 | 153 | ||
154 | 154 | let IdxCfgAcresDapp = 8 | |
155 | 155 | ||
156 | 156 | func keyRestCfg () = "%s__restConfig" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func keyRestAddress () = "%s__restAddr" | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx))) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr)) | |
169 | 169 | ||
170 | 170 | let restCfg = readRestCfgOrFail(restContract) | |
171 | 171 | ||
172 | 172 | let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp) | |
173 | 173 | ||
174 | 174 | let investFundContract = getContractAddressOrFail(restCfg, IdxCfgInvestFundDapp) | |
175 | 175 | ||
176 | 176 | let acresContract = getContractAddressOrFail(restCfg, IdxCfgAcresDapp) | |
177 | 177 | ||
178 | 178 | func asString (v) = match v { | |
179 | 179 | case s: String => | |
180 | 180 | s | |
181 | 181 | case _ => | |
182 | 182 | throw("fail to cast into String") | |
183 | 183 | } | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func asInt (v) = match v { | |
187 | 187 | case n: Int => | |
188 | 188 | n | |
189 | 189 | case _ => | |
190 | 190 | throw("fail to cast into Int") | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func keyBlocked () = "contractsBlocked" | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func fixedPoint (val,decimals) = { | |
198 | 198 | let tenPow = pow(10, 0, decimals, 0, 0, DOWN) | |
199 | 199 | let lowPart = toString((val % tenPow)) | |
200 | 200 | let zeroes = drop(toString(tenPow), (1 + size(lowPart))) | |
201 | 201 | (((toString((val / tenPow)) + ".") + zeroes) + lowPart) | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | let FACTORYMAXWAREHOUSE = 10000000000 | |
206 | 206 | ||
207 | 207 | let SELLMULTIPLIER = 200 | |
208 | 208 | ||
209 | 209 | let BUYMULTIPLIER = 300 | |
210 | 210 | ||
211 | 211 | let AUCTIONFEE = 10000 | |
212 | 212 | ||
213 | 213 | let DELIVERY_FEE = 10000 | |
214 | 214 | ||
215 | 215 | let DELIVERY_FEE15 = 15000 | |
216 | 216 | ||
217 | 217 | func keyFactoryWarehouseByIdAndType (factoryId,resType) = ((("factoryWhByContinentAndRes_" + factoryId) + "_") + toString(resType)) | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | let ordIdxRes = 0 | |
221 | 221 | ||
222 | 222 | let ordIdxMat = 1 | |
223 | 223 | ||
224 | 224 | let ordIdxProd = 2 | |
225 | 225 | ||
226 | 226 | func getOrder (ordKey) = { | |
227 | 227 | let p = split(valueOrElse(getString(ordKey), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"), ":") | |
228 | 228 | [if ((size(split(p[ordIdxRes], "_")) == NUMRES)) | |
229 | 229 | then p[ordIdxRes] | |
230 | 230 | else "0@0_0@0_0@0_0@0_0@0_0@0", if ((size(split(p[ordIdxMat], "_")) == NUMRES)) | |
231 | 231 | then p[ordIdxMat] | |
232 | 232 | else "0@0_0@0_0@0_0@0_0@0_0@0", p[ordIdxProd]] | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func toVolume (amount,pkgSize,isProduct) = if (isProduct) | |
237 | 237 | then { | |
238 | 238 | let pkgs = if ((amount >= 0)) | |
239 | 239 | then (((amount + pkgSize) - 1) / pkgSize) | |
240 | 240 | else -((((-(amount) + pkgSize) - 1) / pkgSize)) | |
241 | 241 | (pkgs * MULT8) | |
242 | 242 | } | |
243 | 243 | else amount | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func sellInternal (locId,resType,amount,minPrice) = { | |
247 | 247 | let whKey = keyFactoryWarehouseByIdAndType(locId, resType) | |
248 | 248 | let w0 = valueOrElse(getInteger(whKey), 0) | |
249 | 249 | let r0 = if ((w0 > FACTORYMAXWAREHOUSE)) | |
250 | 250 | then 0 | |
251 | 251 | else if (((w0 + amount) > FACTORYMAXWAREHOUSE)) | |
252 | 252 | then (FACTORYMAXWAREHOUSE - w0) | |
253 | 253 | else amount | |
254 | 254 | let usdtReceived = (fraction(r0, ((SELLMULTIPLIER * RESOURCEPRICEMIN) - fraction(((100 * w0) + (50 * r0)), RESOURCEPRICEMIN, FACTORYMAXWAREHOUSE)), MULT10) + fraction((amount - r0), RESOURCEPRICEMIN, MULT8)) | |
255 | 255 | let min99 = (minPrice - (minPrice / 100)) | |
256 | 256 | if (((min99 * amount) > (usdtReceived * MULT8))) | |
257 | 257 | then throw((((((((((("Actual price = " + toString(usdtReceived)) + " / ") + toString(amount)) + " < minPrice = ") + toString(minPrice)) + ", (") + locId) + ", ") + resTypes[resType]) + ")")) | |
258 | 258 | else $Tuple2(IntegerEntry(whKey, (w0 + amount)), usdtReceived) | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func buyInternal (locId,matType,amount,maxPrice) = { | |
263 | 263 | let whKey = keyFactoryWarehouseByIdAndType(locId, matType) | |
264 | 264 | let w0 = valueOrElse(getInteger(whKey), 0) | |
265 | 265 | let m1 = if ((w0 > FACTORYMAXWAREHOUSE)) | |
266 | 266 | then min([amount, (w0 - FACTORYMAXWAREHOUSE)]) | |
267 | 267 | else 0 | |
268 | 268 | let m0 = min([w0, (amount - m1)]) | |
269 | 269 | let m = (m0 + m1) | |
270 | 270 | let w0min = min([w0, FACTORYMAXWAREHOUSE]) | |
271 | 271 | let usdtSpent = (fraction(m0, ((BUYMULTIPLIER * RESOURCEPRICEMIN) - fraction(((100 * w0min) - (50 * m0)), RESOURCEPRICEMIN, FACTORYMAXWAREHOUSE)), MULT10) + fraction(m1, (2 * RESOURCEPRICEMIN), MULT8)) | |
272 | 272 | let max101 = (maxPrice + (maxPrice / 100)) | |
273 | 273 | if (((usdtSpent * MULT8) > (max101 * m))) | |
274 | 274 | then throw((((((((((("Actual price = " + toString(usdtSpent)) + " / ") + toString(m)) + " > maxPrice = ") + toString(maxPrice)) + ", (") + locId) + ", ") + matTypes[matType]) + ")")) | |
275 | 275 | else $Tuple3(IntegerEntry(whKey, (w0 - m)), usdtSpent, m) | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func getBackpack (bpKey) = { | |
280 | 280 | let p = split_4C(valueOrElse(getString(stakingContract, bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
281 | 281 | [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES)) | |
282 | 282 | then p[bpIdxRes] | |
283 | 283 | else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES)) | |
284 | 284 | then p[bpIdxMat] | |
285 | 285 | else "0_0_0_0_0_0", p[bpIdxProd]] | |
286 | 286 | } | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | func checkBlocked () = if (valueOrElse(getBoolean(stakingContract, keyBlocked()), false)) | |
290 | 290 | then throw("Contracts are under maintenance") | |
291 | 291 | else unit | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func prolog () = asInt(reentrantInvoke(stakingContract, "saveLastTx", nil, nil)) | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | func setCommon (acc,ignoredIterator) = { | |
298 | 298 | let j = acc._1 | |
299 | 299 | let item = if ((size(acc._10) > j)) | |
300 | 300 | then acc._10[j] | |
301 | 301 | else "0@0" | |
302 | 302 | let isProd = acc._8 | |
303 | 303 | let itemParts = split(item, "@") | |
304 | 304 | if ((size(itemParts) != 2)) | |
305 | 305 | then throw("Incorrect order format, should be amount@price") | |
306 | 306 | else { | |
307 | 307 | let newOrdAm = parseIntValue(itemParts[0]) | |
308 | 308 | let newOrdPr = parseIntValue(itemParts[1]) | |
309 | 309 | let newOrdUsd = if (isProd) | |
310 | 310 | then (newOrdAm * newOrdPr) | |
311 | 311 | else fraction(newOrdAm, newOrdPr, MULT8) | |
312 | 312 | let newOrdVol = toVolume(newOrdAm, PRODUCTPKGSIZE, isProd) | |
313 | 313 | let whInit = if ((size(acc._6) > j)) | |
314 | 314 | then parseIntValue(acc._6[j]) | |
315 | 315 | else 0 | |
316 | 316 | let curOrdParts = split(if ((size(acc._7) > j)) | |
317 | 317 | then acc._7[j] | |
318 | 318 | else "0@0", "@") | |
319 | 319 | let curOrdAm = parseIntValue(curOrdParts[0]) | |
320 | 320 | let curOrdPr = parseIntValue(curOrdParts[1]) | |
321 | 321 | if (if ((0 > curOrdPr)) | |
322 | 322 | then true | |
323 | 323 | else (0 > newOrdPr)) | |
324 | 324 | then throw("Price can't be negative") | |
325 | 325 | else { | |
326 | 326 | let curOrdUsd = if (isProd) | |
327 | 327 | then (curOrdAm * curOrdPr) | |
328 | 328 | else fraction(curOrdAm, curOrdPr, MULT8) | |
329 | 329 | if ((newOrdAm == 0)) | |
330 | 330 | then if ((curOrdAm > 0)) | |
331 | 331 | then $Tuple10((j + 1), (acc._2 :+ toString(whInit)), acc._3, acc._4, (acc._5 - curOrdUsd), acc._6, acc._7, isProd, (acc._9 + toVolume(whInit, PRODUCTPKGSIZE, isProd)), acc._10) | |
332 | 332 | else $Tuple10((j + 1), (acc._2 :+ toString((whInit - curOrdAm))), acc._3, acc._4, acc._5, acc._6, acc._7, isProd, (acc._9 + toVolume((whInit - curOrdAm), PRODUCTPKGSIZE, isProd)), acc._10) | |
333 | 333 | else if ((newOrdAm > 0)) | |
334 | 334 | then if ((0 > curOrdAm)) | |
335 | 335 | then $Tuple10((j + 1), (acc._2 :+ toString((whInit - curOrdAm))), (acc._3 + newOrdVol), acc._4, (acc._5 + newOrdUsd), acc._6, acc._7, isProd, toVolume((whInit - curOrdAm), PRODUCTPKGSIZE, isProd), acc._10) | |
336 | 336 | else $Tuple10((j + 1), (acc._2 :+ toString(whInit)), (acc._3 + newOrdVol), acc._4, ((acc._5 + newOrdUsd) - curOrdUsd), acc._6, acc._7, isProd, toVolume(whInit, PRODUCTPKGSIZE, isProd), acc._10) | |
337 | 337 | else if ((0 > curOrdAm)) | |
338 | 338 | then { | |
339 | 339 | let amDiff = (curOrdAm - newOrdAm) | |
340 | 340 | if ((0 > (whInit - amDiff))) | |
341 | 341 | then throw((((("Attempt to take " + toString(amDiff)) + " from warehouse, but only ") + toString(whInit)) + " available")) | |
342 | 342 | else $Tuple10((j + 1), (acc._2 :+ toString((whInit - amDiff))), acc._3, (acc._4 - newOrdVol), acc._5, acc._6, acc._7, isProd, toVolume((whInit - amDiff), PRODUCTPKGSIZE, isProd), acc._10) | |
343 | 343 | } | |
344 | 344 | else if ((0 > (whInit + newOrdAm))) | |
345 | 345 | then throw((((("Attempt to take " + toString(-(newOrdAm))) + " from warehouse, but only ") + toString(whInit)) + " available")) | |
346 | 346 | else $Tuple10((j + 1), (acc._2 :+ toString((whInit + newOrdAm))), acc._3, (acc._4 - newOrdVol), (acc._5 - curOrdUsd), acc._6, acc._7, isProd, toVolume((whInit + newOrdAm), PRODUCTPKGSIZE, isProd), acc._10) | |
347 | 347 | } | |
348 | 348 | } | |
349 | 349 | } | |
350 | 350 | ||
351 | 351 | ||
352 | 352 | func setInternal (currentWh,currentOrd,newOrd) = { | |
353 | 353 | let currWhRes = split(currentWh[whIdxRes], "_") | |
354 | 354 | let currWhMat = split(currentWh[whIdxMat], "_") | |
355 | 355 | let currWhProd = if ((currentWh[whIdxProd] == "")) | |
356 | 356 | then nil | |
357 | 357 | else split_4C(currentWh[whIdxProd], "_") | |
358 | 358 | let currentOrdRes = split(currentOrd[ordIdxRes], "_") | |
359 | 359 | let currentOrdMat = split(currentOrd[ordIdxMat], "_") | |
360 | 360 | let currentOrdProd = if ((currentOrd[ordIdxProd] == "")) | |
361 | 361 | then nil | |
362 | 362 | else split_4C(currentOrd[ordIdxProd], "_") | |
363 | 363 | if ((size(newOrd) != 3)) | |
364 | 364 | then throw("newOrderStr should contain exactly 2 ':' separators") | |
365 | 365 | else { | |
366 | 366 | let resParts = split(newOrd[0], "_") | |
367 | 367 | let matParts = split(newOrd[1], "_") | |
368 | 368 | let prodParts = if ((newOrd[2] == "")) | |
369 | 369 | then nil | |
370 | 370 | else split_4C(newOrd[2], "_") | |
371 | 371 | if ((size(resParts) != NUMRES)) | |
372 | 372 | then throw("All 6 resources should be passed") | |
373 | 373 | else if ((size(matParts) != NUMRES)) | |
374 | 374 | then throw("All 6 materials should be passed") | |
375 | 375 | else { | |
376 | 376 | let r = { | |
377 | 377 | let $l = resTypes | |
378 | 378 | let $s = size($l) | |
379 | 379 | let $acc0 = $Tuple10(0, nil, 0, 0, 0, currWhRes, currentOrdRes, false, 0, resParts) | |
380 | 380 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
381 | 381 | then $a | |
382 | 382 | else setCommon($a, $l[$i]) | |
383 | 383 | ||
384 | 384 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
385 | 385 | then $a | |
386 | 386 | else throw("List size exceeds 6") | |
387 | 387 | ||
388 | 388 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
389 | 389 | } | |
390 | 390 | let m = { | |
391 | 391 | let $l = matTypes | |
392 | 392 | let $s = size($l) | |
393 | 393 | let $acc0 = $Tuple10(0, nil, r._3, r._4, r._5, currWhMat, currentOrdMat, false, r._9, matParts) | |
394 | 394 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
395 | 395 | then $a | |
396 | 396 | else setCommon($a, $l[$i]) | |
397 | 397 | ||
398 | 398 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
399 | 399 | then $a | |
400 | 400 | else throw("List size exceeds 6") | |
401 | 401 | ||
402 | 402 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
403 | 403 | } | |
404 | 404 | let p = { | |
405 | 405 | let $l = prodTypes | |
406 | 406 | let $s = size($l) | |
407 | 407 | let $acc0 = $Tuple10(0, nil, m._3, m._4, m._5, currWhProd, currentOrdProd, true, m._9, prodParts) | |
408 | 408 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
409 | 409 | then $a | |
410 | 410 | else setCommon($a, $l[$i]) | |
411 | 411 | ||
412 | 412 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
413 | 413 | then $a | |
414 | 414 | else throw("List size exceeds 50") | |
415 | 415 | ||
416 | 416 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
417 | 417 | } | |
418 | 418 | $Tuple7(r._2, m._2, p._2, p._3, p._4, p._5, p._9) | |
419 | 419 | } | |
420 | 420 | } | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | func acceptCommon (acc,bpOrdItem) = { | |
425 | 425 | let j = acc._7 | |
426 | 426 | let isProd = acc._12 | |
427 | 427 | let bpOrdParts = split(bpOrdItem, "@") | |
428 | 428 | if ((size(bpOrdParts) != 2)) | |
429 | 429 | then throw("Incorrect order format, should be amount@price") | |
430 | 430 | else { | |
431 | 431 | let bpOrdAm = parseIntValue(bpOrdParts[0]) | |
432 | 432 | let bpOrdPr = parseIntValue(bpOrdParts[1]) | |
433 | 433 | if ((0 > bpOrdPr)) | |
434 | 434 | then throw("Price can't be negative") | |
435 | 435 | else { | |
436 | 436 | let bpOrdUsd = if (isProd) | |
437 | 437 | then (bpOrdAm * bpOrdPr) | |
438 | 438 | else fraction(bpOrdAm, bpOrdPr, MULT8) | |
439 | 439 | let bpInit = if ((size(acc._8) > j)) | |
440 | 440 | then parseIntValue(acc._8[j]) | |
441 | 441 | else 0 | |
442 | 442 | let whInit = if ((size(acc._9) > j)) | |
443 | 443 | then parseIntValue(acc._9[j]) | |
444 | 444 | else 0 | |
445 | 445 | let whOrdInit = if ((size(acc._10) > j)) | |
446 | 446 | then acc._10[j] | |
447 | 447 | else "0@0" | |
448 | 448 | let whOrdParts = split(whOrdInit, "@") | |
449 | 449 | let whOrdAm = parseIntValue(whOrdParts[0]) | |
450 | 450 | let whOrdPr = parseIntValue(whOrdParts[1]) | |
451 | 451 | if (if ((bpOrdAm != 0)) | |
452 | 452 | then (bpOrdPr != whOrdPr) | |
453 | 453 | else false) | |
454 | 454 | then throw(((((("Prices of " + acc._11[j]) + " don't match! WH price=") + toString(whOrdPr)) + ", your price=") + toString(bpOrdPr))) | |
455 | 455 | else { | |
456 | 456 | let whOrdUsd = if (isProd) | |
457 | 457 | then (whOrdAm * whOrdPr) | |
458 | 458 | else fraction(whOrdAm, whOrdPr, MULT8) | |
459 | 459 | let deltaVol = toVolume(bpOrdAm, PRODUCTPKGSIZE, isProd) | |
460 | 460 | if ((bpOrdAm == 0)) | |
461 | 461 | then $Tuple13((acc._1 :+ toString(whInit)), (acc._2 :+ whOrdInit), (acc._3 :+ toString(bpInit)), acc._4, acc._5, acc._6, (acc._7 + 1), acc._8, acc._9, acc._10, acc._11, isProd, acc._13) | |
462 | 462 | else if ((bpOrdAm > 0)) | |
463 | 463 | then if ((0 > whOrdAm)) | |
464 | 464 | then if ((bpOrdAm > -(whOrdAm))) | |
465 | 465 | then throw(((((("Attempt to buy " + toString(bpOrdAm)) + " of ") + acc._11[j]) + ", but warehouse only sells ") + toString(-(whOrdAm)))) | |
466 | 466 | else $Tuple13((acc._1 :+ toString(whInit)), (acc._2 :+ ((toString((whOrdAm + bpOrdAm)) + "@") + toString(whOrdPr))), (acc._3 :+ toString((bpInit + bpOrdAm))), (acc._4 + deltaVol), acc._5, (acc._6 + bpOrdUsd), (acc._7 + 1), acc._8, acc._9, acc._10, acc._11, isProd, (acc._13 + (if (isProd) | |
467 | 467 | then (bpOrdAm * MULT8) | |
468 | 468 | else bpOrdAm))) | |
469 | 469 | else throw((("Attempt to buy " + acc._11[j]) + " while warehouse doesn't sell it")) | |
470 | 470 | else if ((whOrdAm > 0)) | |
471 | 471 | then if ((-(bpOrdAm) > whOrdAm)) | |
472 | 472 | then throw(((((("Attempt to sell " + toString(-(bpOrdAm))) + " of ") + acc._11[j]) + ", but warehouse only buys ") + toString(whOrdAm))) | |
473 | 473 | else if ((-(bpOrdAm) > bpInit)) | |
474 | 474 | then throw(((((("Attempt to sell " + toString(-(bpOrdAm))) + ", but you only have ") + toString(bpInit)) + " of ") + acc._11[j])) | |
475 | 475 | else $Tuple13((acc._1 :+ toString((whInit - bpOrdAm))), (acc._2 :+ ((toString((whOrdAm + bpOrdAm)) + "@") + toString(whOrdPr))), (acc._3 :+ toString((bpInit + bpOrdAm))), (acc._4 - deltaVol), (acc._5 - bpOrdUsd), acc._6, (acc._7 + 1), acc._8, acc._9, acc._10, acc._11, isProd, (acc._13 - (if (isProd) | |
476 | 476 | then (bpOrdAm * MULT8) | |
477 | 477 | else bpOrdAm))) | |
478 | 478 | else throw((("Attempt to sell " + acc._11[j]) + " while warehouse doesn't buy it")) | |
479 | 479 | } | |
480 | 480 | } | |
481 | 481 | } | |
482 | 482 | } | |
483 | 483 | ||
484 | 484 | ||
485 | 485 | func sellResourcesCommon (resList,factoryLocId,amounts,minPrices) = { | |
486 | 486 | func adder (acc,j) = if ((amounts[j] > parseIntValue(resList[j]))) | |
487 | 487 | then throw(((((("You have " + resList[j]) + " of ") + resTypes[j]) + ", but tried to sell ") + toString(amounts[j]))) | |
488 | 488 | else if ((0 > amounts[j])) | |
489 | 489 | then throw(((("You tried to sell negative amount of " + resTypes[j]) + ": ") + toString(amounts[j]))) | |
490 | 490 | else if ((amounts[j] > 0)) | |
491 | 491 | then { | |
492 | 492 | let b = sellInternal(factoryLocId, j, amounts[j], minPrices[j]) | |
493 | 493 | $Tuple4((acc._1 :+ b._1), (acc._2 :+ toString((parseIntValue(resList[j]) - amounts[j]))), (acc._3 + b._2), (acc._4 + amounts[j])) | |
494 | 494 | } | |
495 | 495 | else $Tuple4(acc._1, (acc._2 :+ resList[j]), acc._3, acc._4) | |
496 | 496 | ||
497 | 497 | let $l = ITER6 | |
498 | 498 | let $s = size($l) | |
499 | 499 | let $acc0 = $Tuple4(nil, nil, 0, 0) | |
500 | 500 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
501 | 501 | then $a | |
502 | 502 | else adder($a, $l[$i]) | |
503 | 503 | ||
504 | 504 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
505 | 505 | then $a | |
506 | 506 | else throw("List size exceeds 6") | |
507 | 507 | ||
508 | 508 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
509 | 509 | } | |
510 | 510 | ||
511 | 511 | ||
512 | 512 | func buyMaterialsCommon (matList,factoryLocId,amounts,maxPrices) = { | |
513 | 513 | func mUpdater (acc,j) = if ((0 > amounts[j])) | |
514 | 514 | then throw(((("You tried to buy negative amount of " + matTypes[j]) + ": ") + toString(amounts[j]))) | |
515 | 515 | else if ((amounts[j] > 0)) | |
516 | 516 | then { | |
517 | 517 | let b = buyInternal(factoryLocId, j, amounts[j], maxPrices[j]) | |
518 | 518 | $Tuple4((acc._1 :+ b._1), (acc._2 :+ toString((parseIntValue(matList[j]) + b._3))), (acc._3 + b._2), (acc._4 + amounts[j])) | |
519 | 519 | } | |
520 | 520 | else $Tuple4(acc._1, (acc._2 :+ matList[j]), acc._3, acc._4) | |
521 | 521 | ||
522 | 522 | let $l = ITER6 | |
523 | 523 | let $s = size($l) | |
524 | 524 | let $acc0 = $Tuple4(nil, nil, 0, 0) | |
525 | 525 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
526 | 526 | then $a | |
527 | 527 | else mUpdater($a, $l[$i]) | |
528 | 528 | ||
529 | 529 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
530 | 530 | then $a | |
531 | 531 | else throw("List size exceeds 6") | |
532 | 532 | ||
533 | 533 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
534 | 534 | } | |
535 | 535 | ||
536 | 536 | ||
537 | 537 | func exchangeResourcesCommon (resList,matList,amounts) = { | |
538 | 538 | func exchanger (acc,j) = { | |
539 | 539 | let amj = amounts[j] | |
540 | 540 | if ((amj > parseIntValue(resList[j]))) | |
541 | 541 | then throw(((((("You have " + resList[j]) + " of ") + resTypes[j]) + ", but tried to exchange ") + toString(amj))) | |
542 | 542 | else if ((0 > amj)) | |
543 | 543 | then throw(((("You tried to exchange negative amount of " + resTypes[j]) + ": ") + toString(amj))) | |
544 | 544 | else if ((amj > 0)) | |
545 | 545 | then $Tuple4((acc._1 :+ toString((parseIntValue(resList[j]) - amj))), (acc._2 :+ toString((parseIntValue(matList[j]) + amj))), (acc._3 + fraction(amj, RESOURCEPRICEMIN, MULT8)), (acc._4 + amj)) | |
546 | 546 | else $Tuple4((acc._1 :+ resList[j]), (acc._2 :+ matList[j]), acc._3, acc._4) | |
547 | 547 | } | |
548 | 548 | ||
549 | 549 | let $l = ITER6 | |
550 | 550 | let $s = size($l) | |
551 | 551 | let $acc0 = $Tuple4(nil, nil, 0, 0) | |
552 | 552 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
553 | 553 | then $a | |
554 | 554 | else exchanger($a, $l[$i]) | |
555 | 555 | ||
556 | 556 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
557 | 557 | then $a | |
558 | 558 | else throw("List size exceeds 6") | |
559 | 559 | ||
560 | 560 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
561 | 561 | } | |
562 | 562 | ||
563 | 563 | ||
564 | 564 | func shop2userActions (usdWh2BpSaldo,callerAddr,receivedFee) = if ((usdWh2BpSaldo > 0)) | |
565 | 565 | then { | |
566 | 566 | let usdWh2BpFee = fraction(usdWh2BpSaldo, AUCTIONFEE, MULT6) | |
567 | 567 | if ((receivedFee >= (usdWh2BpSaldo - (3 * usdWh2BpFee)))) | |
568 | 568 | then throw(("This trade does not cover delivery cost of " + fixedPoint(receivedFee, 6))) | |
569 | 569 | else { | |
570 | 570 | let refByKey = keyAddressRefBy(callerAddr) | |
571 | 571 | let refBy = getString(stakingContract, refByKey) | |
572 | 572 | let caller = addressFromStringValue(callerAddr) | |
573 | 573 | (((if (isDefined(refBy)) | |
574 | 574 | then [ScriptTransfer(addressFromStringValue(value(refBy)), usdWh2BpFee, usdtAssetId)] | |
575 | 575 | else nil) :+ ScriptTransfer(caller, ((usdWh2BpSaldo - (3 * usdWh2BpFee)) - receivedFee), usdtAssetId)) :+ ScriptTransfer(restContract, usdWh2BpFee, usdtAssetId)) | |
576 | 576 | } | |
577 | 577 | } | |
578 | 578 | else nil | |
579 | 579 | ||
580 | 580 | ||
581 | 581 | func user2shopActions (usdBp2WhSaldo,pmts,shopLandOwner,spentFee) = if ((usdBp2WhSaldo > 0)) | |
582 | 582 | then if ((size(pmts) != 1)) | |
583 | 583 | then throw("exactly 1 payment must be attached") | |
584 | 584 | else { | |
585 | 585 | let pmt = pmts[0] | |
586 | 586 | let amt = pmt.amount | |
587 | 587 | if (if (!(isDefined(pmt.assetId))) | |
588 | 588 | then true | |
589 | 589 | else (value(pmt.assetId) != usdtAssetId)) | |
590 | 590 | then throw("USDT payments only!") | |
591 | 591 | else { | |
592 | 592 | let usdtSpentWithFee = (usdBp2WhSaldo + spentFee) | |
593 | 593 | if ((amt != usdtSpentWithFee)) | |
594 | 594 | then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdBp2WhSaldo, 6)) + "+") + fixedPoint(spentFee, 6)) + "(delivery fee)")) | |
595 | 595 | else if ((MINSHOPPAYMENT > usdBp2WhSaldo)) | |
596 | 596 | then throw(("Min shop trade is " + fixedPoint(MINSHOPPAYMENT, 6))) | |
597 | 597 | else { | |
598 | 598 | let usdBp2WhFee = fraction(usdBp2WhSaldo, AUCTIONFEE, MULT6) | |
599 | 599 | let refByKey = keyAddressRefBy(shopLandOwner) | |
600 | 600 | let refBy = getString(stakingContract, refByKey) | |
601 | 601 | (((if (isDefined(refBy)) | |
602 | 602 | then [ScriptTransfer(addressFromStringValue(value(refBy)), usdBp2WhFee, usdtAssetId)] | |
603 | 603 | else nil) :+ ScriptTransfer(addressFromStringValue(shopLandOwner), (usdBp2WhSaldo - (3 * usdBp2WhFee)), usdtAssetId)) :+ ScriptTransfer(restContract, usdBp2WhFee, usdtAssetId)) | |
604 | 604 | } | |
605 | 605 | } | |
606 | 606 | } | |
607 | 607 | else if ((size(pmts) != 0)) | |
608 | 608 | then throw("No payments needed") | |
609 | 609 | else nil | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | func acceptShopOrderCommon (shopLandAssetId,callerAddr,bpOrderStr,bpResList,bpMatList,bpProdList) = { | |
613 | 613 | let landAsset = value(assetInfo(fromBase58String(shopLandAssetId))) | |
614 | 614 | if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(shopLandAssetId))))) | |
615 | 615 | then throw((("NFT " + landAsset.name) + " is not staked")) | |
616 | 616 | else { | |
617 | 617 | let shopLandOwner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(shopLandAssetId)), (("NFT " + landAsset.name) + " is orphaned")) | |
618 | 618 | if ((shopLandOwner == callerAddr)) | |
619 | 619 | then throw("You cannot trade with yourself") | |
620 | 620 | else { | |
621 | 621 | let bpOrderParts = split_4C(bpOrderStr, ":") | |
622 | 622 | if ((size(bpOrderParts) != 3)) | |
623 | 623 | then throw("bpOrderStr should contain exactly 2 ':' separators") | |
624 | 624 | else { | |
625 | 625 | let bpOrdRes = split(bpOrderParts[0], "_") | |
626 | 626 | let bpOrdMat = split(bpOrderParts[1], "_") | |
627 | 627 | let bpOrdProd = if ((bpOrderParts[2] == "")) | |
628 | 628 | then nil | |
629 | 629 | else split_4C(bpOrderParts[2], "_") | |
630 | 630 | if ((size(bpOrdRes) != NUMRES)) | |
631 | 631 | then throw("All 6 resources should be passed") | |
632 | 632 | else if ((size(bpOrdMat) != NUMRES)) | |
633 | 633 | then throw("All 6 materials should be passed") | |
634 | 634 | else { | |
635 | 635 | let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [shopLandAssetId], nil)) | |
636 | 636 | let currentWh = split_4C(wh, ":") | |
637 | 637 | let currWhRes = split(currentWh[whIdxRes], "_") | |
638 | 638 | let currWhMat = split(currentWh[whIdxMat], "_") | |
639 | 639 | let currWhProd = if ((currentWh[whIdxProd] == "")) | |
640 | 640 | then nil | |
641 | 641 | else split_4C(currentWh[whIdxProd], "_") | |
642 | 642 | let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked]) | |
643 | 643 | let ordKey = keyOrderByLand(shopLandAssetId) | |
644 | 644 | let whOrd = getOrder(ordKey) | |
645 | 645 | let whOrdRes = split(whOrd[ordIdxRes], "_") | |
646 | 646 | let whOrdMat = split(whOrd[ordIdxMat], "_") | |
647 | 647 | let whOrdProd = if ((whOrd[ordIdxProd] == "")) | |
648 | 648 | then nil | |
649 | 649 | else split_4C(whOrd[ordIdxProd], "_") | |
650 | 650 | let r = { | |
651 | 651 | let $l = bpOrdRes | |
652 | 652 | let $s = size($l) | |
653 | 653 | let $acc0 = $Tuple13(nil, nil, nil, 0, 0, 0, 0, bpResList, currWhRes, whOrdRes, resTypes, false, 0) | |
654 | 654 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
655 | 655 | then $a | |
656 | 656 | else acceptCommon($a, $l[$i]) | |
657 | 657 | ||
658 | 658 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
659 | 659 | then $a | |
660 | 660 | else throw("List size exceeds 6") | |
661 | 661 | ||
662 | 662 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
663 | 663 | } | |
664 | 664 | let m = { | |
665 | 665 | let $l = bpOrdMat | |
666 | 666 | let $s = size($l) | |
667 | 667 | let $acc0 = $Tuple13(nil, nil, nil, r._4, r._5, r._6, 0, bpMatList, currWhMat, whOrdMat, matTypes, false, r._13) | |
668 | 668 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
669 | 669 | then $a | |
670 | 670 | else acceptCommon($a, $l[$i]) | |
671 | 671 | ||
672 | 672 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
673 | 673 | then $a | |
674 | 674 | else throw("List size exceeds 6") | |
675 | 675 | ||
676 | 676 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
677 | 677 | } | |
678 | 678 | let p = if ((size(bpOrdProd) != 0)) | |
679 | 679 | then { | |
680 | 680 | let $l = bpOrdProd | |
681 | 681 | let $s = size($l) | |
682 | 682 | let $acc0 = $Tuple13(nil, nil, nil, m._4, m._5, m._6, 0, bpProdList, currWhProd, whOrdProd, prodTypes, true, m._13) | |
683 | 683 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
684 | 684 | then $a | |
685 | 685 | else acceptCommon($a, $l[$i]) | |
686 | 686 | ||
687 | 687 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
688 | 688 | then $a | |
689 | 689 | else throw("List size exceeds 50") | |
690 | 690 | ||
691 | 691 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
692 | 692 | } | |
693 | 693 | else $Tuple13(currWhProd, whOrdProd, bpProdList, m._4, m._5, m._6, 0, bpProdList, currWhProd, whOrdProd, prodTypes, true, m._13) | |
694 | 694 | let volSaldo = p._4 | |
695 | 695 | let newLockedVol = if ((0 > (currWhLockedVol - volSaldo))) | |
696 | 696 | then 0 | |
697 | 697 | else (currWhLockedVol - volSaldo) | |
698 | 698 | let whStr = makeString_2C([currentWh[whIdxLevels], makeString(r._1, "_"), makeString(m._1, "_"), makeString_2C(p._1, "_"), toString(newLockedVol)], ":") | |
699 | 699 | let newWhOrdStr = makeString_2C([makeString(r._2, "_"), makeString(m._2, "_"), makeString_2C(p._2, "_")], ":") | |
700 | 700 | let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, shopLandAssetId], nil)) | |
701 | 701 | let accStatsResult = asInt(invoke(stakingContract, "updateAccStats", [shopLandOwner, fraction(xpShop, p._13, MULT8)], nil)) | |
702 | 702 | $Tuple10(StringEntry(ordKey, newWhOrdStr), r._3, m._3, p._3, p._5, p._6, p._13, shopLandOwner, whSave, accStatsResult) | |
703 | 703 | } | |
704 | 704 | } | |
705 | 705 | } | |
706 | 706 | } | |
707 | 707 | } | |
708 | 708 | ||
709 | 709 | ||
710 | 710 | func sellResourcesWorldInternal (amount) = { | |
711 | 711 | let oneRes = (amount / 30) | |
712 | 712 | let oneFactoryAmounts = [oneRes, oneRes, oneRes, oneRes, oneRes, oneRes] | |
713 | 713 | let s = toString(oneRes) | |
714 | 714 | let resList = [s, s, s, s, s, s] | |
715 | 715 | let minPrices = [0, 0, 0, 0, 0, 0] | |
716 | 716 | func oneFactory (acc,continent) = { | |
717 | 717 | let x = sellResourcesCommon(resList, continent, oneFactoryAmounts, minPrices) | |
718 | 718 | $Tuple3((acc._1 ++ x._1), (acc._2 + x._3), (acc._3 + x._4)) | |
719 | 719 | } | |
720 | 720 | ||
721 | 721 | let $t02529225382 = { | |
722 | 722 | let $l = continents | |
723 | 723 | let $s = size($l) | |
724 | 724 | let $acc0 = $Tuple3(nil, 0, 0) | |
725 | 725 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
726 | 726 | then $a | |
727 | 727 | else oneFactory($a, $l[$i]) | |
728 | 728 | ||
729 | 729 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
730 | 730 | then $a | |
731 | 731 | else throw("List size exceeds 5") | |
732 | 732 | ||
733 | 733 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
734 | 734 | } | |
735 | 735 | let factoryActions = $t02529225382._1 | |
736 | 736 | let usdtReceived = $t02529225382._2 | |
737 | 737 | let totalRes = $t02529225382._3 | |
738 | 738 | let fee = fraction(usdtReceived, DELIVERY_FEE, MULT6) | |
739 | 739 | let activitiesAmount = (usdtReceived / 100) | |
740 | 740 | let usdtLeft = ((usdtReceived - activitiesAmount) - fee) | |
741 | 741 | $Tuple5(factoryActions, usdtLeft, fee, activitiesAmount, totalRes) | |
742 | 742 | } | |
743 | 743 | ||
744 | 744 | ||
745 | 745 | func craftGoodsCommon (matList,prodList,manufactoryContinent,productIdx,quantity) = if ((0 >= quantity)) | |
746 | 746 | then throw("Quantity should be positive") | |
747 | 747 | else if (if ((0 > productIdx)) | |
748 | 748 | then true | |
749 | 749 | else (productIdx >= size(productionMatrix))) | |
750 | 750 | then throw(("Unknown product idx=" + toString(productIdx))) | |
751 | 751 | else { | |
752 | 752 | let recipe = split(productionMatrix[productIdx], "_") | |
753 | 753 | if ((size(recipe) != RECIPESIZE)) | |
754 | 754 | then throw(("Fatal: unknown recipe: " + productionMatrix[productIdx])) | |
755 | 755 | else { | |
756 | 756 | let productContIdx = parseIntValue(recipe[rIdxContinent]) | |
757 | 757 | if ((continents[productContIdx] != manufactoryContinent)) | |
758 | 758 | then throw(((("This product is available in " + continents[productContIdx]) + ", not in ") + manufactoryContinent)) | |
759 | 759 | else { | |
760 | 760 | func filler (acc,ignoredItem) = { | |
761 | 761 | let n = acc._2 | |
762 | 762 | let xs = if ((size(prodList) > n)) | |
763 | 763 | then prodList[n] | |
764 | 764 | else "0" | |
765 | 765 | let x = parseIntValue(xs) | |
766 | 766 | let amount = (quantity * PRODUCTPKGSIZE) | |
767 | 767 | let y = if ((n == productIdx)) | |
768 | 768 | then toString((x + amount)) | |
769 | 769 | else xs | |
770 | 770 | $Tuple2((acc._1 :+ y), (n + 1)) | |
771 | 771 | } | |
772 | 772 | ||
773 | 773 | let newProd = ( let $l = productionMatrix | |
774 | 774 | let $s = size($l) | |
775 | 775 | let $acc0 = $Tuple2(nil, 0) | |
776 | 776 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
777 | 777 | then $a | |
778 | 778 | else filler($a, $l[$i]) | |
779 | 779 | ||
780 | 780 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
781 | 781 | then $a | |
782 | 782 | else throw("List size exceeds 50") | |
783 | 783 | ||
784 | 784 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1 | |
785 | 785 | func producer (acc,j) = { | |
786 | 786 | let needMat = (((parseIntValue(recipe[j]) * MULT5) * quantity) * parseIntValue(recipe[rIdxCoeff])) | |
787 | 787 | let haveMat = parseIntValue(matList[j]) | |
788 | 788 | if ((needMat > haveMat)) | |
789 | 789 | then throw(((((((("You have " + fixedPoint(haveMat, 8)) + " of ") + matTypes[j]) + ", but recipe requires ") + fixedPoint(needMat, 8)) + " for quantity ") + toString(quantity))) | |
790 | 790 | else if ((needMat > 0)) | |
791 | 791 | then $Tuple2((acc._1 :+ toString((haveMat - needMat))), (acc._2 + needMat)) | |
792 | 792 | else $Tuple2((acc._1 :+ matList[j]), acc._2) | |
793 | 793 | } | |
794 | 794 | ||
795 | 795 | let merged = { | |
796 | 796 | let $l = ITER6 | |
797 | 797 | let $s = size($l) | |
798 | 798 | let $acc0 = $Tuple2(nil, 0) | |
799 | 799 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
800 | 800 | then $a | |
801 | 801 | else producer($a, $l[$i]) | |
802 | 802 | ||
803 | 803 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
804 | 804 | then $a | |
805 | 805 | else throw("List size exceeds 6") | |
806 | 806 | ||
807 | 807 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
808 | 808 | } | |
809 | 809 | $Tuple3(merged._1, newProd, merged._2) | |
810 | 810 | } | |
811 | 811 | } | |
812 | 812 | } | |
813 | 813 | ||
814 | 814 | ||
815 | 815 | @Callable(i) | |
816 | 816 | func recalcLockedVolumeREADONLY (landAssetId,wh) = { | |
817 | 817 | let currentOrd = getOrder(keyOrderByLand(landAssetId)) | |
818 | 818 | let z = setInternal(wh, currentOrd, currentOrd) | |
819 | 819 | $Tuple2(nil, (z._4 + z._5)) | |
820 | 820 | } | |
821 | 821 | ||
822 | 822 | ||
823 | 823 | ||
824 | 824 | @Callable(i) | |
825 | 825 | func constructorV1 (restAddr) = if ((i.caller != this)) | |
826 | 826 | then throw("Permission denied") | |
827 | 827 | else [StringEntry(keyRestAddress(), restAddr)] | |
828 | 828 | ||
829 | 829 | ||
830 | 830 | ||
831 | 831 | @Callable(i) | |
832 | 832 | func sellResources (amounts,minPrices) = { | |
833 | 833 | let prologResult = prolog() | |
834 | 834 | if ((prologResult == prologResult)) | |
835 | 835 | then { | |
836 | 836 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
837 | 837 | if ((size(i.payments) != 0)) | |
838 | 838 | then throw("sellResources doesn't require any payments") | |
839 | 839 | else { | |
840 | 840 | let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
841 | 841 | if ((curLocation[locIdxType] != "F")) | |
842 | 842 | then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType])) | |
843 | 843 | else { | |
844 | 844 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
845 | 845 | let resList = split(currentPack[bpIdxRes], "_") | |
846 | 846 | let $t02891529041 = sellResourcesCommon(resList, curLocation[locIdxId], amounts, minPrices) | |
847 | 847 | let factoryActions = $t02891529041._1 | |
848 | 848 | let newRes = $t02891529041._2 | |
849 | 849 | let usdtReceived = $t02891529041._3 | |
850 | 850 | let totalRes = $t02891529041._4 | |
851 | 851 | let activitiesAmount = (usdtReceived / 100) | |
852 | 852 | let newPack = makeString_2C([currentPack[bpIdxLevel], makeString(newRes, "_"), currentPack[bpIdxMat], currentPack[bpIdxProd]], ":") | |
853 | 853 | let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
854 | 854 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalRes, MULT8)], nil)) | |
855 | 855 | $Tuple2(((factoryActions :+ ScriptTransfer(i.caller, (usdtReceived - activitiesAmount), usdtAssetId)) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult)) | |
856 | 856 | } | |
857 | 857 | } | |
858 | 858 | } | |
859 | 859 | else throw("Strict value is not equal to itself.") | |
860 | 860 | } | |
861 | 861 | ||
862 | 862 | ||
863 | 863 | ||
864 | 864 | @Callable(i) | |
865 | 865 | func sellResourcesWorld (addr,amount) = if ((i.caller != acresContract)) | |
866 | 866 | then throw("Permission denied") | |
867 | 867 | else { | |
868 | 868 | let $t02983329990 = sellResourcesWorldInternal(amount) | |
869 | 869 | let factoryActions = $t02983329990._1 | |
870 | 870 | let usdtLeft = $t02983329990._2 | |
871 | 871 | let fee = $t02983329990._3 | |
872 | 872 | let activitiesAmount = $t02983329990._4 | |
873 | 873 | let totalRes = $t02983329990._5 | |
874 | 874 | if ((0 >= usdtLeft)) | |
875 | 875 | then throw(("This trade does not cover delivery cost of " + fixedPoint(fee, 6))) | |
876 | 876 | else { | |
877 | 877 | let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalRes, MULT8)], nil)) | |
878 | 878 | $Tuple2((((factoryActions :+ IntegerEntry(deliveryFundKey, (valueOrElse(getInteger(deliveryFundKey), 0) + fee))) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ ScriptTransfer(investFundContract, usdtLeft, usdtAssetId)), $Tuple2(usdtLeft, statsResult)) | |
879 | 879 | } | |
880 | 880 | } | |
881 | 881 | ||
882 | 882 | ||
883 | 883 | ||
884 | 884 | @Callable(i) | |
885 | 885 | func sellResourcesWorldREADONLY (amount) = { | |
886 | 886 | let usdtLeft = sellResourcesWorldInternal(amount)._2 | |
887 | 887 | $Tuple2(nil, usdtLeft) | |
888 | 888 | } | |
889 | 889 | ||
890 | 890 | ||
891 | 891 | ||
892 | 892 | @Callable(i) | |
893 | 893 | func sellResourcesDuckDelivery (amounts,minPrices,factoryContinent) = { | |
894 | 894 | let prologResult = prolog() | |
895 | 895 | if ((prologResult == prologResult)) | |
896 | 896 | then { | |
897 | 897 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
898 | 898 | if ((size(i.payments) != 0)) | |
899 | 899 | then throw("sellResources doesn't require any payments") | |
900 | 900 | else { | |
901 | 901 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
902 | 902 | let resList = split(currentPack[bpIdxRes], "_") | |
903 | 903 | let $t03114931270 = sellResourcesCommon(resList, factoryContinent, amounts, minPrices) | |
904 | 904 | let factoryActions = $t03114931270._1 | |
905 | 905 | let newRes = $t03114931270._2 | |
906 | 906 | let usdtReceived = $t03114931270._3 | |
907 | 907 | let totalRes = $t03114931270._4 | |
908 | 908 | let newPack = makeString_2C([currentPack[bpIdxLevel], makeString(newRes, "_"), currentPack[bpIdxMat], currentPack[bpIdxProd]], ":") | |
909 | 909 | let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
910 | 910 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalRes, MULT8)], nil)) | |
911 | 911 | let feePart = fraction(usdtReceived, DELIVERY_FEE, MULT6) | |
912 | 912 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY]) | |
913 | 913 | let activitiesAmount = (usdtReceived / 100) | |
914 | 914 | if ((fee >= (usdtReceived - activitiesAmount))) | |
915 | 915 | then throw(("This trade does not cover delivery cost of " + fixedPoint(fee, 6))) | |
916 | 916 | else { | |
917 | 917 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
918 | 918 | $Tuple2((((factoryActions :+ ScriptTransfer(i.caller, ((usdtReceived - activitiesAmount) - fee), usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult)) | |
919 | 919 | } | |
920 | 920 | } | |
921 | 921 | } | |
922 | 922 | else throw("Strict value is not equal to itself.") | |
923 | 923 | } | |
924 | 924 | ||
925 | 925 | ||
926 | 926 | ||
927 | 927 | @Callable(i) | |
928 | 928 | func sellResourcesLandDelivery (amounts,minPrices,landAssetId,factoryContinent) = { | |
929 | 929 | let prologResult = prolog() | |
930 | 930 | if ((prologResult == prologResult)) | |
931 | 931 | then if ((size(i.payments) != 0)) | |
932 | 932 | then throw("sellResources doesn't require any payments") | |
933 | 933 | else { | |
934 | 934 | let user = i.caller | |
935 | 935 | let addr = toString(user) | |
936 | 936 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
937 | 937 | if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId))))) | |
938 | 938 | then throw((("NFT " + asset.name) + " is not staked")) | |
939 | 939 | else { | |
940 | 940 | let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
941 | 941 | if ((owner != addr)) | |
942 | 942 | then throw((LANDPREFIX + " is not yours")) | |
943 | 943 | else { | |
944 | 944 | let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil)) | |
945 | 945 | let currentWh = split_4C(wh, ":") | |
946 | 946 | let resList = split(currentWh[whIdxRes], "_") | |
947 | 947 | let $t03318433305 = sellResourcesCommon(resList, factoryContinent, amounts, minPrices) | |
948 | 948 | let factoryActions = $t03318433305._1 | |
949 | 949 | let newRes = $t03318433305._2 | |
950 | 950 | let usdtReceived = $t03318433305._3 | |
951 | 951 | let totalRes = $t03318433305._4 | |
952 | 952 | let whStr = makeString_2C([currentWh[whIdxLevels], makeString(newRes, "_"), currentWh[whIdxMat], currentWh[whIdxProd], currentWh[whIdxLOFT]], ":") | |
953 | 953 | let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)) | |
954 | 954 | let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalRes, MULT8)], nil)) | |
955 | 955 | let feePart = fraction(usdtReceived, DELIVERY_FEE, MULT6) | |
956 | 956 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY]) | |
957 | 957 | let activitiesAmount = (usdtReceived / 100) | |
958 | 958 | if ((fee >= (usdtReceived - activitiesAmount))) | |
959 | 959 | then throw(("This trade does not cover delivery cost of " + fixedPoint(fee, 6))) | |
960 | 960 | else { | |
961 | 961 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
962 | 962 | $Tuple2((((factoryActions :+ ScriptTransfer(i.caller, ((usdtReceived - activitiesAmount) - fee), usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(whSave, prologResult, statsResult)) | |
963 | 963 | } | |
964 | 964 | } | |
965 | 965 | } | |
966 | 966 | } | |
967 | 967 | else throw("Strict value is not equal to itself.") | |
968 | 968 | } | |
969 | 969 | ||
970 | 970 | ||
971 | 971 | ||
972 | 972 | @Callable(i) | |
973 | 973 | func buyMaterials (amounts,maxPrices) = { | |
974 | 974 | let prologResult = prolog() | |
975 | 975 | if ((prologResult == prologResult)) | |
976 | 976 | then { | |
977 | 977 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
978 | 978 | if ((size(i.payments) != 1)) | |
979 | 979 | then throw("exactly 1 payment must be attached") | |
980 | 980 | else { | |
981 | 981 | let pmt = i.payments[0] | |
982 | 982 | let amt = pmt.amount | |
983 | 983 | if (if (!(isDefined(pmt.assetId))) | |
984 | 984 | then true | |
985 | 985 | else (value(pmt.assetId) != usdtAssetId)) | |
986 | 986 | then throw("USDT payments only!") | |
987 | 987 | else { | |
988 | 988 | let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
989 | 989 | if ((curLocation[locIdxType] != "F")) | |
990 | 990 | then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType])) | |
991 | 991 | else { | |
992 | 992 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
993 | 993 | let matList = split(currentPack[bpIdxMat], "_") | |
994 | 994 | let $t03512935251 = buyMaterialsCommon(matList, curLocation[locIdxId], amounts, maxPrices) | |
995 | 995 | let factoryActions = $t03512935251._1 | |
996 | 996 | let newMat = $t03512935251._2 | |
997 | 997 | let usdtSpent = $t03512935251._3 | |
998 | 998 | let totalMat = $t03512935251._4 | |
999 | 999 | if ((usdtSpent > amt)) | |
1000 | 1000 | then throw(((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6))) | |
1001 | 1001 | else { | |
1002 | 1002 | let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(newMat, "_"), currentPack[bpIdxProd]], ":") | |
1003 | 1003 | let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
1004 | 1004 | let rest = if (((amt - usdtSpent) > 0)) | |
1005 | 1005 | then [ScriptTransfer(i.caller, (amt - usdtSpent), usdtAssetId)] | |
1006 | 1006 | else nil | |
1007 | 1007 | let activitiesAmount = (usdtSpent / 100) | |
1008 | 1008 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalMat, MULT8)], nil)) | |
1009 | 1009 | $Tuple2(((factoryActions ++ rest) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult)) | |
1010 | 1010 | } | |
1011 | 1011 | } | |
1012 | 1012 | } | |
1013 | 1013 | } | |
1014 | 1014 | } | |
1015 | 1015 | else throw("Strict value is not equal to itself.") | |
1016 | 1016 | } | |
1017 | 1017 | ||
1018 | 1018 | ||
1019 | 1019 | ||
1020 | 1020 | @Callable(i) | |
1021 | 1021 | func buyMaterialsDuckDelivery (amounts,maxPrices,factoryContinent) = { | |
1022 | 1022 | let prologResult = prolog() | |
1023 | 1023 | if ((prologResult == prologResult)) | |
1024 | 1024 | then { | |
1025 | 1025 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1026 | 1026 | if ((size(i.payments) != 1)) | |
1027 | 1027 | then throw("exactly 1 payment must be attached") | |
1028 | 1028 | else { | |
1029 | 1029 | let pmt = i.payments[0] | |
1030 | 1030 | let amt = pmt.amount | |
1031 | 1031 | if (if (!(isDefined(pmt.assetId))) | |
1032 | 1032 | then true | |
1033 | 1033 | else (value(pmt.assetId) != usdtAssetId)) | |
1034 | 1034 | then throw("USDT payments only!") | |
1035 | 1035 | else { | |
1036 | 1036 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
1037 | 1037 | let matList = split(currentPack[bpIdxMat], "_") | |
1038 | 1038 | let $t03669536812 = buyMaterialsCommon(matList, factoryContinent, amounts, maxPrices) | |
1039 | 1039 | let factoryActions = $t03669536812._1 | |
1040 | 1040 | let newMat = $t03669536812._2 | |
1041 | 1041 | let usdtSpent = $t03669536812._3 | |
1042 | 1042 | let totalMat = $t03669536812._4 | |
1043 | 1043 | let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(newMat, "_"), currentPack[bpIdxProd]], ":") | |
1044 | 1044 | let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
1045 | 1045 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalMat, MULT8)], nil)) | |
1046 | 1046 | let feePart = fraction(usdtSpent, DELIVERY_FEE, MULT6) | |
1047 | 1047 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY]) | |
1048 | 1048 | let usdtSpentWithFee = (usdtSpent + fee) | |
1049 | 1049 | if ((usdtSpentWithFee > amt)) | |
1050 | 1050 | then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)")) | |
1051 | 1051 | else { | |
1052 | 1052 | let rest = if (((amt - usdtSpentWithFee) > 0)) | |
1053 | 1053 | then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)] | |
1054 | 1054 | else nil | |
1055 | 1055 | let activitiesAmount = (usdtSpent / 100) | |
1056 | 1056 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1057 | 1057 | $Tuple2((((factoryActions ++ rest) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(backpackResult, prologResult, statsResult)) | |
1058 | 1058 | } | |
1059 | 1059 | } | |
1060 | 1060 | } | |
1061 | 1061 | } | |
1062 | 1062 | else throw("Strict value is not equal to itself.") | |
1063 | 1063 | } | |
1064 | 1064 | ||
1065 | 1065 | ||
1066 | 1066 | ||
1067 | 1067 | @Callable(i) | |
1068 | 1068 | func buyMaterialsLandDelivery (amounts,maxPrices,landAssetId,factoryContinent) = { | |
1069 | 1069 | let prologResult = prolog() | |
1070 | 1070 | if ((prologResult == prologResult)) | |
1071 | 1071 | then if ((size(i.payments) != 1)) | |
1072 | 1072 | then throw("exactly 1 payment must be attached") | |
1073 | 1073 | else { | |
1074 | 1074 | let pmt = i.payments[0] | |
1075 | 1075 | let amt = pmt.amount | |
1076 | 1076 | if (if (!(isDefined(pmt.assetId))) | |
1077 | 1077 | then true | |
1078 | 1078 | else (value(pmt.assetId) != usdtAssetId)) | |
1079 | 1079 | then throw("USDT payments only!") | |
1080 | 1080 | else { | |
1081 | 1081 | let user = i.caller | |
1082 | 1082 | let addr = toString(user) | |
1083 | 1083 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1084 | 1084 | if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId))))) | |
1085 | 1085 | then throw((("NFT " + asset.name) + " is not staked")) | |
1086 | 1086 | else { | |
1087 | 1087 | let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1088 | 1088 | if ((owner != addr)) | |
1089 | 1089 | then throw((LANDPREFIX + " is not yours")) | |
1090 | 1090 | else { | |
1091 | 1091 | let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil)) | |
1092 | 1092 | let currentWh = split_4C(wh, ":") | |
1093 | 1093 | let matList = split(currentWh[whIdxMat], "_") | |
1094 | 1094 | let $t03897739094 = buyMaterialsCommon(matList, factoryContinent, amounts, maxPrices) | |
1095 | 1095 | let factoryActions = $t03897739094._1 | |
1096 | 1096 | let newMat = $t03897739094._2 | |
1097 | 1097 | let usdtSpent = $t03897739094._3 | |
1098 | 1098 | let totalMat = $t03897739094._4 | |
1099 | 1099 | let whStr = makeString_2C([currentWh[whIdxLevels], currentWh[whIdxRes], makeString(newMat, "_"), currentWh[whIdxProd], currentWh[whIdxLOFT]], ":") | |
1100 | 1100 | let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)) | |
1101 | 1101 | let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalMat, MULT8)], nil)) | |
1102 | 1102 | let feePart = fraction(usdtSpent, DELIVERY_FEE, MULT6) | |
1103 | 1103 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY]) | |
1104 | 1104 | let usdtSpentWithFee = (usdtSpent + fee) | |
1105 | 1105 | if ((usdtSpentWithFee > amt)) | |
1106 | 1106 | then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)")) | |
1107 | 1107 | else { | |
1108 | 1108 | let rest = if (((amt - usdtSpentWithFee) > 0)) | |
1109 | 1109 | then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)] | |
1110 | 1110 | else nil | |
1111 | 1111 | let activitiesAmount = (usdtSpent / 100) | |
1112 | 1112 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1113 | 1113 | $Tuple2((((factoryActions ++ rest) :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(whSave, prologResult, statsResult)) | |
1114 | 1114 | } | |
1115 | 1115 | } | |
1116 | 1116 | } | |
1117 | 1117 | } | |
1118 | 1118 | } | |
1119 | 1119 | else throw("Strict value is not equal to itself.") | |
1120 | 1120 | } | |
1121 | 1121 | ||
1122 | 1122 | ||
1123 | 1123 | ||
1124 | 1124 | @Callable(i) | |
1125 | 1125 | func exchangeResources (amounts) = { | |
1126 | 1126 | let prologResult = prolog() | |
1127 | 1127 | if ((prologResult == prologResult)) | |
1128 | 1128 | then { | |
1129 | 1129 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1130 | 1130 | if ((size(i.payments) != 1)) | |
1131 | 1131 | then throw("exactly 1 payment must be attached") | |
1132 | 1132 | else { | |
1133 | 1133 | let pmt = i.payments[0] | |
1134 | 1134 | let amt = pmt.amount | |
1135 | 1135 | if (if (!(isDefined(pmt.assetId))) | |
1136 | 1136 | then true | |
1137 | 1137 | else (value(pmt.assetId) != usdtAssetId)) | |
1138 | 1138 | then throw("USDT payments only!") | |
1139 | 1139 | else { | |
1140 | 1140 | let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
1141 | 1141 | if ((curLocation[locIdxType] != "F")) | |
1142 | 1142 | then throw(("Duck location type should be Factory, but is " + curLocation[locIdxType])) | |
1143 | 1143 | else { | |
1144 | 1144 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
1145 | 1145 | let resList = split(currentPack[bpIdxRes], "_") | |
1146 | 1146 | let matList = split(currentPack[bpIdxMat], "_") | |
1147 | 1147 | let $t04117241278 = exchangeResourcesCommon(resList, matList, amounts) | |
1148 | 1148 | let newRes = $t04117241278._1 | |
1149 | 1149 | let newMat = $t04117241278._2 | |
1150 | 1150 | let usdtSpent = $t04117241278._3 | |
1151 | 1151 | let totalAmountConverted = $t04117241278._4 | |
1152 | 1152 | if ((usdtSpent > amt)) | |
1153 | 1153 | then throw(((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6))) | |
1154 | 1154 | else { | |
1155 | 1155 | let newPack = makeString([currentPack[bpIdxLevel], makeString(newRes, "_"), makeString(newMat, "_"), currentPack[bpIdxProd]], ":") | |
1156 | 1156 | let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
1157 | 1157 | let rest = if (((amt - usdtSpent) > 0)) | |
1158 | 1158 | then [ScriptTransfer(i.caller, (amt - usdtSpent), usdtAssetId)] | |
1159 | 1159 | else nil | |
1160 | 1160 | let activitiesAmount = (usdtSpent / 100) | |
1161 | 1161 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalAmountConverted, MULT8)], nil)) | |
1162 | 1162 | $Tuple2((rest :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)), $Tuple3(backpackResult, prologResult, statsResult)) | |
1163 | 1163 | } | |
1164 | 1164 | } | |
1165 | 1165 | } | |
1166 | 1166 | } | |
1167 | 1167 | } | |
1168 | 1168 | else throw("Strict value is not equal to itself.") | |
1169 | 1169 | } | |
1170 | 1170 | ||
1171 | 1171 | ||
1172 | 1172 | ||
1173 | 1173 | @Callable(i) | |
1174 | 1174 | func exchangeResourcesDuckDelivery (amounts) = { | |
1175 | 1175 | let prologResult = prolog() | |
1176 | 1176 | if ((prologResult == prologResult)) | |
1177 | 1177 | then { | |
1178 | 1178 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1179 | 1179 | if ((size(i.payments) != 1)) | |
1180 | 1180 | then throw("exactly 1 payment must be attached") | |
1181 | 1181 | else { | |
1182 | 1182 | let pmt = i.payments[0] | |
1183 | 1183 | let amt = pmt.amount | |
1184 | 1184 | if (if (!(isDefined(pmt.assetId))) | |
1185 | 1185 | then true | |
1186 | 1186 | else (value(pmt.assetId) != usdtAssetId)) | |
1187 | 1187 | then throw("USDT payments only!") | |
1188 | 1188 | else { | |
1189 | 1189 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
1190 | 1190 | let resList = split(currentPack[bpIdxRes], "_") | |
1191 | 1191 | let matList = split(currentPack[bpIdxMat], "_") | |
1192 | 1192 | let $t04271642822 = exchangeResourcesCommon(resList, matList, amounts) | |
1193 | 1193 | let newRes = $t04271642822._1 | |
1194 | 1194 | let newMat = $t04271642822._2 | |
1195 | 1195 | let usdtSpent = $t04271642822._3 | |
1196 | 1196 | let totalAmountConverted = $t04271642822._4 | |
1197 | 1197 | let feePart = fraction(usdtSpent, DELIVERY_FEE15, MULT6) | |
1198 | 1198 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY15]) | |
1199 | 1199 | let usdtSpentWithFee = (usdtSpent + fee) | |
1200 | 1200 | if ((usdtSpentWithFee > amt)) | |
1201 | 1201 | then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)")) | |
1202 | 1202 | else { | |
1203 | 1203 | let newPack = makeString([currentPack[bpIdxLevel], makeString(newRes, "_"), makeString(newMat, "_"), currentPack[bpIdxProd]], ":") | |
1204 | 1204 | let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
1205 | 1205 | let rest = if (((amt - usdtSpentWithFee) > 0)) | |
1206 | 1206 | then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)] | |
1207 | 1207 | else nil | |
1208 | 1208 | let activitiesAmount = (usdtSpent / 100) | |
1209 | 1209 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpTrade, totalAmountConverted, MULT8)], nil)) | |
1210 | 1210 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1211 | 1211 | $Tuple2(((rest :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(backpackResult, prologResult, statsResult)) | |
1212 | 1212 | } | |
1213 | 1213 | } | |
1214 | 1214 | } | |
1215 | 1215 | } | |
1216 | 1216 | else throw("Strict value is not equal to itself.") | |
1217 | 1217 | } | |
1218 | 1218 | ||
1219 | 1219 | ||
1220 | 1220 | ||
1221 | 1221 | @Callable(i) | |
1222 | 1222 | func exchangeResourcesLandDelivery (amounts,landAssetId) = { | |
1223 | 1223 | let prologResult = prolog() | |
1224 | 1224 | if ((prologResult == prologResult)) | |
1225 | 1225 | then if ((size(i.payments) != 1)) | |
1226 | 1226 | then throw("exactly 1 payment must be attached") | |
1227 | 1227 | else { | |
1228 | 1228 | let pmt = i.payments[0] | |
1229 | 1229 | let amt = pmt.amount | |
1230 | 1230 | if (if (!(isDefined(pmt.assetId))) | |
1231 | 1231 | then true | |
1232 | 1232 | else (value(pmt.assetId) != usdtAssetId)) | |
1233 | 1233 | then throw("USDT payments only!") | |
1234 | 1234 | else { | |
1235 | 1235 | let user = i.caller | |
1236 | 1236 | let addr = toString(user) | |
1237 | 1237 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1238 | 1238 | if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId))))) | |
1239 | 1239 | then throw((("NFT " + asset.name) + " is not staked")) | |
1240 | 1240 | else { | |
1241 | 1241 | let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1242 | 1242 | if ((owner != addr)) | |
1243 | 1243 | then throw((LANDPREFIX + " is not yours")) | |
1244 | 1244 | else { | |
1245 | 1245 | let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil)) | |
1246 | 1246 | let currentWh = split_4C(wh, ":") | |
1247 | 1247 | let resList = split(currentWh[whIdxRes], "_") | |
1248 | 1248 | let matList = split(currentWh[whIdxMat], "_") | |
1249 | 1249 | let $t04500745113 = exchangeResourcesCommon(resList, matList, amounts) | |
1250 | 1250 | let newRes = $t04500745113._1 | |
1251 | 1251 | let newMat = $t04500745113._2 | |
1252 | 1252 | let usdtSpent = $t04500745113._3 | |
1253 | 1253 | let totalAmountConverted = $t04500745113._4 | |
1254 | 1254 | let whStr = makeString_2C([currentWh[whIdxLevels], makeString(newRes, "_"), makeString(newMat, "_"), currentWh[whIdxProd], currentWh[whIdxLOFT]], ":") | |
1255 | 1255 | let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)) | |
1256 | 1256 | let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpTrade, totalAmountConverted, MULT8)], nil)) | |
1257 | 1257 | let feePart = fraction(usdtSpent, DELIVERY_FEE15, MULT6) | |
1258 | 1258 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY15]) | |
1259 | 1259 | let usdtSpentWithFee = (usdtSpent + fee) | |
1260 | 1260 | if ((usdtSpentWithFee > amt)) | |
1261 | 1261 | then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(usdtSpent, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)")) | |
1262 | 1262 | else { | |
1263 | 1263 | let rest = if (((amt - usdtSpentWithFee) > 0)) | |
1264 | 1264 | then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)] | |
1265 | 1265 | else nil | |
1266 | 1266 | let activitiesAmount = (usdtSpent / 100) | |
1267 | 1267 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1268 | 1268 | $Tuple2(((rest :+ ScriptTransfer(restContract, activitiesAmount, usdtAssetId)) :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(whSave, prologResult, statsResult)) | |
1269 | 1269 | } | |
1270 | 1270 | } | |
1271 | 1271 | } | |
1272 | 1272 | } | |
1273 | 1273 | } | |
1274 | 1274 | else throw("Strict value is not equal to itself.") | |
1275 | 1275 | } | |
1276 | 1276 | ||
1277 | 1277 | ||
1278 | 1278 | ||
1279 | 1279 | @Callable(i) | |
1280 | 1280 | func craftGoods (productIdx,quantity) = { | |
1281 | 1281 | let prologResult = prolog() | |
1282 | 1282 | if ((prologResult == prologResult)) | |
1283 | 1283 | then if ((size(i.payments) != 1)) | |
1284 | 1284 | then throw("exactly 1 payment must be attached") | |
1285 | 1285 | else { | |
1286 | 1286 | let pmt = i.payments[0] | |
1287 | 1287 | let amt = pmt.amount | |
1288 | 1288 | if (if (!(isDefined(pmt.assetId))) | |
1289 | 1289 | then true | |
1290 | 1290 | else (value(pmt.assetId) != usdtAssetId)) | |
1291 | 1291 | then throw("USDT payments only!") | |
1292 | 1292 | else if ((amt != MULT6)) | |
1293 | 1293 | then throw((("exactly " + fixedPoint(CRAFT_USDT_COST, 6)) + " USDT must be attached as payment")) | |
1294 | 1294 | else { | |
1295 | 1295 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1296 | 1296 | let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
1297 | 1297 | if ((curLocation[locIdxType] != "M")) | |
1298 | 1298 | then throw(("Duck location type should be Manufactory, but is " + curLocation[locIdxType])) | |
1299 | 1299 | else { | |
1300 | 1300 | let cont = curLocation[locIdxContinent] | |
1301 | 1301 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
1302 | 1302 | let matList = split(currentPack[bpIdxMat], "_") | |
1303 | 1303 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
1304 | 1304 | then nil | |
1305 | 1305 | else split_4C(currentPack[bpIdxProd], "_") | |
1306 | 1306 | let $t04743847535 = craftGoodsCommon(matList, prodList, cont, productIdx, quantity) | |
1307 | 1307 | let newMat = $t04743847535._1 | |
1308 | 1308 | let newProd = $t04743847535._2 | |
1309 | 1309 | let matSpent = $t04743847535._3 | |
1310 | 1310 | let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(newMat, "_"), makeString_2C(newProd, "_")], ":") | |
1311 | 1311 | let result = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
1312 | 1312 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpCraft, matSpent, MULT8)], nil)) | |
1313 | 1313 | $Tuple2(nil, $Tuple3(result, prologResult, statsResult)) | |
1314 | 1314 | } | |
1315 | 1315 | } | |
1316 | 1316 | } | |
1317 | 1317 | else throw("Strict value is not equal to itself.") | |
1318 | 1318 | } | |
1319 | 1319 | ||
1320 | 1320 | ||
1321 | 1321 | ||
1322 | 1322 | @Callable(i) | |
1323 | 1323 | func craftGoodsDuckDelivery (productIdx,quantity,manufactoryContinent) = { | |
1324 | 1324 | let prologResult = prolog() | |
1325 | 1325 | if ((prologResult == prologResult)) | |
1326 | 1326 | then { | |
1327 | 1327 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1328 | 1328 | if ((size(i.payments) != 1)) | |
1329 | 1329 | then throw("exactly 1 payment must be attached") | |
1330 | 1330 | else { | |
1331 | 1331 | let pmt = i.payments[0] | |
1332 | 1332 | let amt = pmt.amount | |
1333 | 1333 | if (if (!(isDefined(pmt.assetId))) | |
1334 | 1334 | then true | |
1335 | 1335 | else (value(pmt.assetId) != usdtAssetId)) | |
1336 | 1336 | then throw("USDT payments only!") | |
1337 | 1337 | else { | |
1338 | 1338 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
1339 | 1339 | let matList = split(currentPack[bpIdxMat], "_") | |
1340 | 1340 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
1341 | 1341 | then nil | |
1342 | 1342 | else split_4C(currentPack[bpIdxProd], "_") | |
1343 | 1343 | let $t04868348796 = craftGoodsCommon(matList, prodList, manufactoryContinent, productIdx, quantity) | |
1344 | 1344 | let newMat = $t04868348796._1 | |
1345 | 1345 | let newProd = $t04868348796._2 | |
1346 | 1346 | let matSpent = $t04868348796._3 | |
1347 | 1347 | let newPack = makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], makeString(newMat, "_"), makeString_2C(newProd, "_")], ":") | |
1348 | 1348 | let backpackResult = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newPack], nil)) | |
1349 | 1349 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpCraft, matSpent, MULT8)], nil)) | |
1350 | 1350 | let feePart = fraction(quantity, MIN_USDT_FEE_DELIVERY, CRAFT_DELIVERY_COEFF) | |
1351 | 1351 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY]) | |
1352 | 1352 | let usdtSpentWithFee = (CRAFT_USDT_COST + fee) | |
1353 | 1353 | if ((usdtSpentWithFee > amt)) | |
1354 | 1354 | then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(CRAFT_USDT_COST, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)")) | |
1355 | 1355 | else { | |
1356 | 1356 | let rest = if (((amt - usdtSpentWithFee) > 0)) | |
1357 | 1357 | then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)] | |
1358 | 1358 | else nil | |
1359 | 1359 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1360 | 1360 | $Tuple2((rest :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(backpackResult, prologResult, statsResult)) | |
1361 | 1361 | } | |
1362 | 1362 | } | |
1363 | 1363 | } | |
1364 | 1364 | } | |
1365 | 1365 | else throw("Strict value is not equal to itself.") | |
1366 | 1366 | } | |
1367 | 1367 | ||
1368 | 1368 | ||
1369 | 1369 | ||
1370 | 1370 | @Callable(i) | |
1371 | 1371 | func craftGoodsLandDelivery (productIdx,quantity,landAssetId,manufactoryContinent) = { | |
1372 | 1372 | let prologResult = prolog() | |
1373 | 1373 | if ((prologResult == prologResult)) | |
1374 | 1374 | then if ((size(i.payments) != 1)) | |
1375 | 1375 | then throw("exactly 1 payment must be attached") | |
1376 | 1376 | else { | |
1377 | 1377 | let pmt = i.payments[0] | |
1378 | 1378 | let amt = pmt.amount | |
1379 | 1379 | if (if (!(isDefined(pmt.assetId))) | |
1380 | 1380 | then true | |
1381 | 1381 | else (value(pmt.assetId) != usdtAssetId)) | |
1382 | 1382 | then throw("USDT payments only!") | |
1383 | 1383 | else { | |
1384 | 1384 | let user = i.caller | |
1385 | 1385 | let addr = toString(user) | |
1386 | 1386 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1387 | 1387 | if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId))))) | |
1388 | 1388 | then throw((("NFT " + asset.name) + " is not staked")) | |
1389 | 1389 | else { | |
1390 | 1390 | let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1391 | 1391 | if ((owner != addr)) | |
1392 | 1392 | then throw((LANDPREFIX + " is not yours")) | |
1393 | 1393 | else { | |
1394 | 1394 | let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil)) | |
1395 | 1395 | let currentWh = split_4C(wh, ":") | |
1396 | 1396 | let matList = split(currentWh[whIdxMat], "_") | |
1397 | 1397 | let prodList = if ((currentWh[whIdxProd] == "")) | |
1398 | 1398 | then nil | |
1399 | 1399 | else split_4C(currentWh[whIdxProd], "_") | |
1400 | 1400 | let $t05096251075 = craftGoodsCommon(matList, prodList, manufactoryContinent, productIdx, quantity) | |
1401 | 1401 | let newMat = $t05096251075._1 | |
1402 | 1402 | let newProd = $t05096251075._2 | |
1403 | 1403 | let matSpent = $t05096251075._3 | |
1404 | 1404 | let whStr = makeString_2C([currentWh[whIdxLevels], currentWh[whIdxRes], makeString(newMat, "_"), makeString_2C(newProd, "_"), currentWh[whIdxLOFT]], ":") | |
1405 | 1405 | let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)) | |
1406 | 1406 | let statsResult = asInt(invoke(stakingContract, "updateAccStats", [addr, fraction(xpCraft, matSpent, MULT8)], nil)) | |
1407 | 1407 | let feePart = fraction(quantity, MIN_USDT_FEE_DELIVERY, CRAFT_DELIVERY_COEFF) | |
1408 | 1408 | let fee = max([feePart, MIN_USDT_FEE_DELIVERY]) | |
1409 | 1409 | let usdtSpentWithFee = (CRAFT_USDT_COST + fee) | |
1410 | 1410 | if ((usdtSpentWithFee > amt)) | |
1411 | 1411 | then throw((((((("Insufficient payment! Attached=" + fixedPoint(amt, 6)) + ", required=") + fixedPoint(CRAFT_USDT_COST, 6)) + "+") + fixedPoint(fee, 6)) + "(delivery fee)")) | |
1412 | 1412 | else { | |
1413 | 1413 | let rest = if (((amt - usdtSpentWithFee) > 0)) | |
1414 | 1414 | then [ScriptTransfer(i.caller, (amt - usdtSpentWithFee), usdtAssetId)] | |
1415 | 1415 | else nil | |
1416 | 1416 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1417 | 1417 | $Tuple2((rest :+ IntegerEntry(deliveryFundKey, (fundTotal + fee))), $Tuple3(whSave, prologResult, statsResult)) | |
1418 | 1418 | } | |
1419 | 1419 | } | |
1420 | 1420 | } | |
1421 | 1421 | } | |
1422 | 1422 | } | |
1423 | 1423 | else throw("Strict value is not equal to itself.") | |
1424 | 1424 | } | |
1425 | 1425 | ||
1426 | 1426 | ||
1427 | 1427 | ||
1428 | 1428 | @Callable(i) | |
1429 | 1429 | func setWarehouseOrder (newOrderStr,landAssetId) = { | |
1430 | 1430 | let user = i.originCaller | |
1431 | 1431 | let addr = toString(user) | |
1432 | 1432 | let result = if ((user != restContract)) | |
1433 | 1433 | then checkBlocked() | |
1434 | 1434 | else false | |
1435 | 1435 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1436 | 1436 | if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId))))) | |
1437 | 1437 | then throw((("NFT " + asset.name) + " is not staked")) | |
1438 | 1438 | else { | |
1439 | 1439 | let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1440 | 1440 | if (if ((user != restContract)) | |
1441 | 1441 | then (owner != addr) | |
1442 | 1442 | else false) | |
1443 | 1443 | then throw((LANDPREFIX + " is not yours")) | |
1444 | 1444 | else { | |
1445 | 1445 | let newOrder = split_4C(newOrderStr, ":") | |
1446 | 1446 | let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [landAssetId], nil)) | |
1447 | 1447 | let currentWh = split_4C(wh, ":") | |
1448 | 1448 | let loft = split(currentWh[whIdxLOFT], "_") | |
1449 | 1449 | let whTotal = parseIntValue(loft[volTotal]) | |
1450 | 1450 | let ordKey = keyOrderByLand(landAssetId) | |
1451 | 1451 | let currentOrd = getOrder(ordKey) | |
1452 | 1452 | let z = setInternal(currentWh, currentOrd, newOrder) | |
1453 | 1453 | let buyVolSaldo = z._4 | |
1454 | 1454 | let sellVolSaldo = z._5 | |
1455 | 1455 | let whOccupied = z._7 | |
1456 | 1456 | let whLocked = (buyVolSaldo + sellVolSaldo) | |
1457 | 1457 | let whFree = ((whTotal - whOccupied) - whLocked) | |
1458 | 1458 | if ((0 > whFree)) | |
1459 | 1459 | then throw((((((("Attempt to reserve " + toString(buyVolSaldo)) + " space for buy orders, and ") + toString(sellVolSaldo)) + " space for sell orders (and occupied=") + toString(whOccupied)) + "), leads to negative free space")) | |
1460 | 1460 | else { | |
1461 | 1461 | let whStr = makeString_2C([currentWh[whIdxLevels], makeString(z._1, "_"), makeString(z._2, "_"), makeString_2C(z._3, "_"), toString(whLocked)], ":") | |
1462 | 1462 | let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, landAssetId], nil)) | |
1463 | 1463 | let usdSaldo = z._6 | |
1464 | 1464 | let actions = if ((usdSaldo > 0)) | |
1465 | 1465 | then if ((size(i.payments) != 1)) | |
1466 | 1466 | then throw("exactly 1 payment must be attached") | |
1467 | 1467 | else { | |
1468 | 1468 | let pmt = i.payments[0] | |
1469 | 1469 | let amt = pmt.amount | |
1470 | 1470 | let pmtAssetId = valueOrErrorMessage(pmt.assetId, "WAVES can't be used as payment") | |
1471 | 1471 | if ((pmtAssetId != usdtAssetId)) | |
1472 | 1472 | then throw("USDT payments only!") | |
1473 | 1473 | else if ((amt != usdSaldo)) | |
1474 | 1474 | then throw(("Payment needed is " + toString(usdSaldo))) | |
1475 | 1475 | else [StringEntry(ordKey, newOrderStr)] | |
1476 | 1476 | } | |
1477 | 1477 | else if ((usdSaldo == 0)) | |
1478 | 1478 | then if ((size(i.payments) != 0)) | |
1479 | 1479 | then throw("No payments needed") | |
1480 | 1480 | else [StringEntry(ordKey, newOrderStr)] | |
1481 | 1481 | else if ((size(i.payments) != 0)) | |
1482 | 1482 | then throw("No payments needed") | |
1483 | 1483 | else [ScriptTransfer(addressFromStringValue(owner), -(usdSaldo), usdtAssetId), StringEntry(ordKey, newOrderStr)] | |
1484 | 1484 | $Tuple2(actions, $Tuple2(result, whSave)) | |
1485 | 1485 | } | |
1486 | 1486 | } | |
1487 | 1487 | } | |
1488 | 1488 | } | |
1489 | 1489 | ||
1490 | 1490 | ||
1491 | 1491 | ||
1492 | 1492 | @Callable(i) | |
1493 | 1493 | func acceptWarehouseOrder (bpOrderStr,shopLandAssetId,duckAssetId) = { | |
1494 | 1494 | let prologResult = prolog() | |
1495 | 1495 | if ((prologResult == prologResult)) | |
1496 | 1496 | then { | |
1497 | 1497 | let caller = i.originCaller | |
1498 | 1498 | let callerAddr = toString(caller) | |
1499 | 1499 | let stakedDuckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(callerAddr)), "You don't have a duck staked") | |
1500 | 1500 | let curLocation = valueOrElse(getString(stakingContract, keyDuckLocation(stakedDuckAssetId)), DEFAULTLOCATION) | |
1501 | 1501 | let loc = split(value(curLocation), "_") | |
1502 | 1502 | if ((loc[locIdxType] != "L")) | |
1503 | 1503 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
1504 | 1504 | else if ((stakedDuckAssetId != duckAssetId)) | |
1505 | 1505 | then throw(((("Your staked duck is " + stakedDuckAssetId) + ", but passed ") + duckAssetId)) | |
1506 | 1506 | else { | |
1507 | 1507 | let bpKey = keyBackpackByDuck(duckAssetId) | |
1508 | 1508 | let currentPack = getBackpack(bpKey) | |
1509 | 1509 | let bpResList = split(currentPack[bpIdxRes], "_") | |
1510 | 1510 | let bpMatList = split(currentPack[bpIdxMat], "_") | |
1511 | 1511 | let bpProdList = if ((currentPack[bpIdxProd] == "")) | |
1512 | 1512 | then nil | |
1513 | 1513 | else split_4C(currentPack[bpIdxProd], "_") | |
1514 | 1514 | let $t05698857228 = acceptShopOrderCommon(shopLandAssetId, callerAddr, bpOrderStr, bpResList, bpMatList, bpProdList) | |
1515 | 1515 | let shopAction = $t05698857228._1 | |
1516 | 1516 | let newUserRes = $t05698857228._2 | |
1517 | 1517 | let newUserMat = $t05698857228._3 | |
1518 | 1518 | let newUserProd = $t05698857228._4 | |
1519 | 1519 | let usdWh2BpSaldo = $t05698857228._5 | |
1520 | 1520 | let usdBp2WhSaldo = $t05698857228._6 | |
1521 | 1521 | let xpAmount = $t05698857228._7 | |
1522 | 1522 | let shopLandOwner = $t05698857228._8 | |
1523 | 1523 | let shopWhSave = $t05698857228._9 | |
1524 | 1524 | let accStatsResult = $t05698857228._10 | |
1525 | 1525 | let actions1 = [shopAction, shop2userActions(usdWh2BpSaldo, callerAddr, 0)] | |
1526 | 1526 | let actions2 = user2shopActions(usdBp2WhSaldo, i.payments, shopLandOwner, 0) | |
1527 | 1527 | let newBpStr = makeString_2C([currentPack[bpIdxLevel], makeString(newUserRes, "_"), makeString(newUserMat, "_"), makeString_2C(newUserProd, "_")], ":") | |
1528 | 1528 | let bpSave = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newBpStr], nil)) | |
1529 | 1529 | let duckStatsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpShop, xpAmount, MULT8)], nil)) | |
1530 | 1530 | $Tuple2((actions1 ++ actions2), $Tuple5(prologResult, shopWhSave, bpSave, duckStatsResult, accStatsResult)) | |
1531 | 1531 | } | |
1532 | 1532 | } | |
1533 | 1533 | else throw("Strict value is not equal to itself.") | |
1534 | 1534 | } | |
1535 | 1535 | ||
1536 | 1536 | ||
1537 | 1537 | ||
1538 | 1538 | @Callable(i) | |
1539 | 1539 | func acceptShopOrderDuckDelivery (orderStr,shopLandAssetId) = { | |
1540 | 1540 | let prologResult = prolog() | |
1541 | 1541 | if ((prologResult == prologResult)) | |
1542 | 1542 | then { | |
1543 | 1543 | let caller = i.originCaller | |
1544 | 1544 | let callerAddr = toString(caller) | |
1545 | 1545 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(callerAddr)), "You don't have a duck staked") | |
1546 | 1546 | let bpKey = keyBackpackByDuck(duckAssetId) | |
1547 | 1547 | let currentPack = getBackpack(bpKey) | |
1548 | 1548 | let bpResList = split(currentPack[bpIdxRes], "_") | |
1549 | 1549 | let bpMatList = split(currentPack[bpIdxMat], "_") | |
1550 | 1550 | let bpProdList = if ((currentPack[bpIdxProd] == "")) | |
1551 | 1551 | then nil | |
1552 | 1552 | else split_4C(currentPack[bpIdxProd], "_") | |
1553 | 1553 | let $t05859358831 = acceptShopOrderCommon(shopLandAssetId, callerAddr, orderStr, bpResList, bpMatList, bpProdList) | |
1554 | 1554 | let shopAction = $t05859358831._1 | |
1555 | 1555 | let newUserRes = $t05859358831._2 | |
1556 | 1556 | let newUserMat = $t05859358831._3 | |
1557 | 1557 | let newUserProd = $t05859358831._4 | |
1558 | 1558 | let usdWh2BpSaldo = $t05859358831._5 | |
1559 | 1559 | let usdBp2WhSaldo = $t05859358831._6 | |
1560 | 1560 | let xpAmount = $t05859358831._7 | |
1561 | 1561 | let shopLandOwner = $t05859358831._8 | |
1562 | 1562 | let shopWhSave = $t05859358831._9 | |
1563 | 1563 | let accStatsResult = $t05859358831._10 | |
1564 | 1564 | let deliveryFeePart = fraction((usdBp2WhSaldo + usdWh2BpSaldo), DELIVERY_FEE, MULT6) | |
1565 | 1565 | let deliveryFee = max([deliveryFeePart, MIN_USDT_FEE_DELIVERY]) | |
1566 | 1566 | let spentFee = fraction(deliveryFee, usdBp2WhSaldo, (usdBp2WhSaldo + usdWh2BpSaldo)) | |
1567 | 1567 | let receivedFee = (deliveryFee - spentFee) | |
1568 | 1568 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1569 | 1569 | let actions1 = [shopAction, shop2userActions(usdWh2BpSaldo, callerAddr, receivedFee)] | |
1570 | 1570 | let actions2 = user2shopActions(usdBp2WhSaldo, i.payments, shopLandOwner, spentFee) | |
1571 | 1571 | let newBpStr = makeString_2C([currentPack[bpIdxLevel], makeString(newUserRes, "_"), makeString(newUserMat, "_"), makeString_2C(newUserProd, "_")], ":") | |
1572 | 1572 | let bpSave = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newBpStr], nil)) | |
1573 | 1573 | let duckStatsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpShop, xpAmount, MULT8)], nil)) | |
1574 | 1574 | $Tuple2(((actions1 ++ actions2) :+ IntegerEntry(deliveryFundKey, (fundTotal + deliveryFee))), $Tuple5(prologResult, shopWhSave, bpSave, duckStatsResult, accStatsResult)) | |
1575 | 1575 | } | |
1576 | 1576 | else throw("Strict value is not equal to itself.") | |
1577 | 1577 | } | |
1578 | 1578 | ||
1579 | 1579 | ||
1580 | 1580 | ||
1581 | 1581 | @Callable(i) | |
1582 | 1582 | func acceptShopOrderLandDelivery (orderStr,shopLandAssetId,myLandAssetId) = { | |
1583 | 1583 | let prologResult = prolog() | |
1584 | 1584 | if ((prologResult == prologResult)) | |
1585 | 1585 | then { | |
1586 | 1586 | let caller = i.originCaller | |
1587 | 1587 | let callerAddr = toString(caller) | |
1588 | 1588 | let asset = value(assetInfo(fromBase58String(myLandAssetId))) | |
1589 | 1589 | if (!(isDefined(getInteger(stakingContract, keyStakedTimeByAssetId(myLandAssetId))))) | |
1590 | 1590 | then throw((("NFT " + asset.name) + " is not staked")) | |
1591 | 1591 | else { | |
1592 | 1592 | let owner = valueOrErrorMessage(getString(stakingContract, keyLandAssetIdToOwner(myLandAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1593 | 1593 | if ((owner != callerAddr)) | |
1594 | 1594 | then throw((LANDPREFIX + " is not yours")) | |
1595 | 1595 | else { | |
1596 | 1596 | let wh = asString(invoke(stakingContract, "getWarehouseREADONLY", [myLandAssetId], nil)) | |
1597 | 1597 | let currentWh = split_4C(wh, ":") | |
1598 | 1598 | let resList = split(currentWh[whIdxRes], "_") | |
1599 | 1599 | let matList = split(currentWh[whIdxMat], "_") | |
1600 | 1600 | let prodList = if ((currentWh[whIdxProd] == "")) | |
1601 | 1601 | then nil | |
1602 | 1602 | else split_4C(currentWh[whIdxProd], "_") | |
1603 | 1603 | let $t06095261184 = acceptShopOrderCommon(shopLandAssetId, callerAddr, orderStr, resList, matList, prodList) | |
1604 | 1604 | let shopAction = $t06095261184._1 | |
1605 | 1605 | let newUserRes = $t06095261184._2 | |
1606 | 1606 | let newUserMat = $t06095261184._3 | |
1607 | 1607 | let newUserProd = $t06095261184._4 | |
1608 | 1608 | let usdWh2BpSaldo = $t06095261184._5 | |
1609 | 1609 | let usdBp2WhSaldo = $t06095261184._6 | |
1610 | 1610 | let xpAmount = $t06095261184._7 | |
1611 | 1611 | let shopLandOwner = $t06095261184._8 | |
1612 | 1612 | let shopWhSave = $t06095261184._9 | |
1613 | 1613 | let accStatsResult = $t06095261184._10 | |
1614 | 1614 | let deliveryFeePart = fraction((usdBp2WhSaldo + usdWh2BpSaldo), DELIVERY_FEE, MULT6) | |
1615 | 1615 | let deliveryFee = max([deliveryFeePart, MIN_USDT_FEE_DELIVERY]) | |
1616 | 1616 | let spentFee = fraction(deliveryFee, usdBp2WhSaldo, (usdBp2WhSaldo + usdWh2BpSaldo)) | |
1617 | 1617 | let receivedFee = (deliveryFee - spentFee) | |
1618 | 1618 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1619 | 1619 | let actions1 = [shopAction, shop2userActions(usdWh2BpSaldo, callerAddr, receivedFee)] | |
1620 | 1620 | let actions2 = user2shopActions(usdBp2WhSaldo, i.payments, shopLandOwner, spentFee) | |
1621 | 1621 | let whStr = makeString_2C([currentWh[whIdxLevels], makeString(newUserRes, "_"), makeString(newUserMat, "_"), makeString(newUserProd, "_"), currentWh[whIdxLOFT]], ":") | |
1622 | 1622 | let whSave = asString(invoke(stakingContract, "saveWarehouse", [whStr, myLandAssetId], nil)) | |
1623 | 1623 | let statsResult = asInt(invoke(stakingContract, "updateAccStats", [callerAddr, fraction(xpShop, xpAmount, MULT8)], nil)) | |
1624 | 1624 | $Tuple2(((actions1 ++ actions2) :+ IntegerEntry(deliveryFundKey, (fundTotal + deliveryFee))), $Tuple5(prologResult, shopWhSave, whSave, statsResult, accStatsResult)) | |
1625 | 1625 | } | |
1626 | 1626 | } | |
1627 | 1627 | } | |
1628 | 1628 | else throw("Strict value is not equal to itself.") | |
1629 | 1629 | } | |
1630 | 1630 | ||
1631 | 1631 | ||
1632 | 1632 | ||
1633 | 1633 | @Callable(i) | |
1634 | 1634 | func sellProductsToES (amounts) = { | |
1635 | 1635 | let prologResult = prolog() | |
1636 | 1636 | if ((prologResult == prologResult)) | |
1637 | 1637 | then if ((size(i.payments) != 0)) | |
1638 | 1638 | then throw("No payments needed") | |
1639 | 1639 | else { | |
1640 | 1640 | let duckAssetId = valueOrErrorMessage(getString(stakingContract, keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1641 | 1641 | let curLocation = split(valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
1642 | 1642 | if ((curLocation[locIdxType] != "A")) | |
1643 | 1643 | then throw(("Duck location type should be Airport, but is " + curLocation[locIdxType])) | |
1644 | 1644 | else { | |
1645 | 1645 | let currentPack = getBackpack(keyBackpackByDuck(duckAssetId)) | |
1646 | 1646 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
1647 | 1647 | then nil | |
1648 | 1648 | else split_4C(currentPack[bpIdxProd], "_") | |
1649 | 1649 | let esKey = keyEsWarehouse() | |
1650 | 1650 | let existStr = getString(esKey) | |
1651 | 1651 | let existAmounts = if (isDefined(existStr)) | |
1652 | 1652 | then split_4C(value(existStr), "_") | |
1653 | 1653 | else nil | |
1654 | 1654 | func moveProd (acc,recipeStr) = { | |
1655 | 1655 | let j = acc._1 | |
1656 | 1656 | let quantity = if ((size(amounts) > j)) | |
1657 | 1657 | then amounts[j] | |
1658 | 1658 | else 0 | |
1659 | 1659 | if ((0 > quantity)) | |
1660 | 1660 | then throw("Quantity cannot be negative") | |
1661 | 1661 | else { | |
1662 | 1662 | let recipe = split(recipeStr, "_") | |
1663 | 1663 | if ((size(recipe) != RECIPESIZE)) | |
1664 | 1664 | then throw(("Fatal: unknown recipe: " + recipeStr)) | |
1665 | 1665 | else { | |
1666 | 1666 | let maxAmount = (ESMAXPACKAGES * PRODUCTPKGSIZE) | |
1667 | 1667 | let existAmount = if ((size(existAmounts) > j)) | |
1668 | 1668 | then parseIntValue(existAmounts[j]) | |
1669 | 1669 | else 0 | |
1670 | 1670 | let canBuy = (maxAmount - existAmount) | |
1671 | 1671 | if ((quantity > canBuy)) | |
1672 | 1672 | then throw(((("Warehouse can buy only " + toString(canBuy)) + " of ") + prodTypes[j])) | |
1673 | 1673 | else { | |
1674 | 1674 | let totalMat = getRecipeMaterials(recipe) | |
1675 | 1675 | let unitPrice = fraction((totalMat * ESBUYCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
1676 | 1676 | let bpProdAmount = if ((size(prodList) > j)) | |
1677 | 1677 | then parseIntValue(prodList[j]) | |
1678 | 1678 | else 0 | |
1679 | 1679 | if ((quantity > bpProdAmount)) | |
1680 | 1680 | then throw(((("You have only " + toString(bpProdAmount)) + " of ") + prodTypes[j])) | |
1681 | 1681 | else $Tuple5((j + 1), (acc._2 + (unitPrice * quantity)), (acc._3 :+ toString((bpProdAmount - quantity))), (acc._4 :+ toString((existAmount + quantity))), (acc._5 + (totalMat * quantity))) | |
1682 | 1682 | } | |
1683 | 1683 | } | |
1684 | 1684 | } | |
1685 | 1685 | } | |
1686 | 1686 | ||
1687 | 1687 | let merged = { | |
1688 | 1688 | let $l = productionMatrix | |
1689 | 1689 | let $s = size($l) | |
1690 | 1690 | let $acc0 = $Tuple5(0, 0, nil, nil, 0) | |
1691 | 1691 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1692 | 1692 | then $a | |
1693 | 1693 | else moveProd($a, $l[$i]) | |
1694 | 1694 | ||
1695 | 1695 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1696 | 1696 | then $a | |
1697 | 1697 | else throw("List size exceeds 50") | |
1698 | 1698 | ||
1699 | 1699 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
1700 | 1700 | } | |
1701 | 1701 | let newBpStr = makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString_2C(merged._3, "_")], ":") | |
1702 | 1702 | let bpSave = asString(invoke(stakingContract, "updateBackpack", [duckAssetId, newBpStr], nil)) | |
1703 | 1703 | let statsResult = asInt(invoke(stakingContract, "updateDuckStats", [duckAssetId, fraction(xpSellToEs, merged._5, (MULT8 * 10))], nil)) | |
1704 | 1704 | $Tuple2([StringEntry(esKey, makeString_2C(merged._4, "_")), ScriptTransfer(i.caller, merged._2, usdtAssetId)], $Tuple3(bpSave, prologResult, statsResult)) | |
1705 | 1705 | } | |
1706 | 1706 | } | |
1707 | 1707 | else throw("Strict value is not equal to itself.") | |
1708 | 1708 | } | |
1709 | 1709 | ||
1710 | 1710 | ||
1711 | 1711 | ||
1712 | 1712 | @Callable(i) | |
1713 | 1713 | func updateEsStorage (newStorage) = if ((i.caller != stakingContract)) | |
1714 | 1714 | then throw("Permission denied") | |
1715 | 1715 | else $Tuple2([StringEntry(keyEsWarehouse(), newStorage)], newStorage) | |
1716 | 1716 | ||
1717 | 1717 | ||
1718 | 1718 | ||
1719 | 1719 | @Callable(i) | |
1720 | 1720 | func updateDeliveryLocked (newAmount) = if ((i.caller != stakingContract)) | |
1721 | 1721 | then throw("Permission denied") | |
1722 | 1722 | else $Tuple2([IntegerEntry(deliveryLockedKey, newAmount)], newAmount) | |
1723 | 1723 | ||
1724 | 1724 | ||
1725 | 1725 | ||
1726 | 1726 | @Callable(i) | |
1727 | 1727 | func sendDeliveryReward (addr) = if ((i.caller != stakingContract)) | |
1728 | 1728 | then throw("Permission denied") | |
1729 | 1729 | else { | |
1730 | 1730 | let fundTotal = valueOrElse(getInteger(deliveryFundKey), 0) | |
1731 | 1731 | let lockedTotal = valueOrElse(getInteger(deliveryLockedKey), 0) | |
1732 | 1732 | let acresAmount = (MIN_USDT_FEE_DELIVERY * USDT2ACRES_MULTIPLIER) | |
1733 | 1733 | let acresResult = invoke(acresContract, "sendAcres", [addr, acresAmount], nil) | |
1734 | 1734 | $Tuple2([IntegerEntry(deliveryFundKey, (fundTotal - MIN_USDT_FEE_DELIVERY)), IntegerEntry(deliveryLockedKey, (lockedTotal - MIN_USDT_FEE_DELIVERY))], acresResult) | |
1735 | 1735 | } | |
1736 | 1736 | ||
1737 | 1737 |
github/deemru/w8io/169f3d6 258.76 ms ◑