tx · AMUwG36YQv66tpSkTNkVUyUeaCsDCK5rdczmaWj9tJvc 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h: -0.05000000 Waves 2023.03.29 14:47 [2511189] smart account 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h > SELF 0.00000000 Waves
{ "type": 13, "id": "AMUwG36YQv66tpSkTNkVUyUeaCsDCK5rdczmaWj9tJvc", "fee": 5000000, "feeAssetId": null, "timestamp": 1680090462618, "version": 2, "chainId": 84, "sender": "3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h", "senderPublicKey": "3z8Q6Zu3KppVmn6fJJvrLc1Wo3krVHSvfaNcerm82md2", "proofs": [ "5Qzfr8ZS6nBS9u2FuZSHxkmPcTTBDYDKJeFZPVi18XiM67Bk6iz5QVLhQDG3N6o5sNwz6P6xo9WtVum2NqsbCdSz" ], "script": "base64:BgIJCAISAwoBARIAFAAMY29udHJhY3RGaWxlAglyZWJhbGFuY2UAD2tleXNUYXJnZXRSYXRpbwIPJXNfX3RhcmdldFJhdGlvABRrZXlBZGRpdGlvbmFsQmFsYW5jZQIaJXNfX2FkZGl0aW9uYWxXYXZlc0JhbGFuY2UAGmtleVNXYXZlc0FkZGl0aW9uYWxCYWxhbmNlAhElc19fc1dhdmVzQmFsYW5jZQAQa2V5U1dhdmVzQXNzZXRJZAIRJXNfX3NXYXZlc0Fzc2V0SWQAD2tleVByb3h5QWRkcmVzcwIQJXNfX3Byb3h5QWRkcmVzcwANa2V5TWluQmFsYW5jZQITJXNfX21pbldhdmVzQmFsYW5jZQARa2V5RmFjdG9yeUFkZHJlc3MCCyVzX19mYWN0b3J5AAZNVUxUMTIAgKCUpY0dARBnZXRJbnRlZ2VyT3JaZXJvAQppbnRlZ2VyS2V5BAckbWF0Y2gwCQCaCAIFBHRoaXMFCmludGVnZXJLZXkDCQABAgUHJG1hdGNoMAIDSW50BAN2YWwFByRtYXRjaDAFA3ZhbAAAARBnZXRTdHJpbmdPclRocm93AQl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sQmFsYW5jZQURYWRkaXRpb25hbEJhbGFuY2UEDHdob2xlQmFsYW5jZQkAlgMBCQDMCAIAAAkAzAgCCQBlAgkAZAIFEGF2YWlsYWJsZUJhbGFuY2UFEWFkZGl0aW9uYWxCYWxhbmNlCQENZ2V0TWluQmFsYW5jZQAFA25pbAQXdGFyZ2V0QWRkaXRpb25hbEJhbGFuY2UJAGsDBQt0YXJnZXRSYXRpbwUMd2hvbGVCYWxhbmNlAGQEBGRpZmYJAGUCBRFhZGRpdGlvbmFsQmFsYW5jZQUXdGFyZ2V0QWRkaXRpb25hbEJhbGFuY2UDCQAAAgUEZGlmZgAABQNuaWwDCQBmAgAABQRkaWZmBA9zZW5kV2F2ZXNBbW91bnQJAQEtAQUEZGlmZgkBB2RlcG9zaXQBBQ9zZW5kV2F2ZXNBbW91bnQEDmdldFdhdmVzQW1vdW50BQRkaWZmCQEId2l0aGRyYXcBBQ5nZXRXYXZlc0Ftb3VudAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgIBaQEOcmViYWxhbmNlUmF0aW8BC3RhcmdldFJhdGlvCQERcmViYWxhbmNlSW50ZXJuYWwBBQt0YXJnZXRSYXRpbwFpAQlyZWJhbGFuY2UACQERcmViYWxhbmNlSW50ZXJuYWwBCQEOZ2V0VGFyZ2V0UmF0aW8AAFQWmzM=", "height": 2511189, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GuWtKs3nYMdz2tUqzSF3Xmi9nZzLLUmXVtpq8jcdRpEn Next: 6qjiGmkGnHy9XM3BQwo6xgVdGx6go2qGNUPJvCvpBFnS Diff:
Old | New | Differences | |
---|---|---|---|
74 | 74 | func getLeaseProxyConfig () = { | |
75 | 75 | let factory = addressFromStringValue(valueOrElse(getString(keyFactoryAddress), "")) | |
76 | 76 | let myAddressString = toString(this) | |
77 | - | $Tuple2(invoke(factory, "", [myAddressString, "WAVES"], nil), myAddressString) | |
77 | + | $Tuple2(invoke(factory, "getPoolLeaseConfigREADONLY", [myAddressString, "WAVES"], nil), myAddressString) | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let contractFile = "rebalance" | |
5 | 5 | ||
6 | 6 | let keysTargetRatio = "%s__targetRatio" | |
7 | 7 | ||
8 | 8 | let keyAdditionalBalance = "%s__additionalWavesBalance" | |
9 | 9 | ||
10 | 10 | let keySWavesAdditionalBalance = "%s__sWavesBalance" | |
11 | 11 | ||
12 | 12 | let keySWavesAssetId = "%s__sWavesAssetId" | |
13 | 13 | ||
14 | 14 | let keyProxyAddress = "%s__proxyAddress" | |
15 | 15 | ||
16 | 16 | let keyMinBalance = "%s__minWavesBalance" | |
17 | 17 | ||
18 | 18 | let keyFactoryAddress = "%s__factory" | |
19 | 19 | ||
20 | 20 | let MULT12 = 1000000000000 | |
21 | 21 | ||
22 | 22 | func getIntegerOrZero (integerKey) = match getInteger(this, integerKey) { | |
23 | 23 | case val: Int => | |
24 | 24 | val | |
25 | 25 | case _ => | |
26 | 26 | 0 | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func getStringOrThrow (stringKey) = match getString(this, stringKey) { | |
31 | 31 | case s: String => | |
32 | 32 | s | |
33 | 33 | case _ => | |
34 | 34 | throw((("[" + stringKey) + "] is empty")) | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func getTargetRatio () = match getInteger(keysTargetRatio) { | |
39 | 39 | case ratio: Int => | |
40 | 40 | min([100, max([0, ratio])]) | |
41 | 41 | case _ => | |
42 | 42 | 0 | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func getMinBalance () = match getInteger(keyMinBalance) { | |
47 | 47 | case i: Int => | |
48 | 48 | max([0, i]) | |
49 | 49 | case _ => | |
50 | 50 | 0 | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func getRate () = { | |
55 | 55 | let proxy = addressFromStringValue(getStringOrThrow(keyProxyAddress)) | |
56 | 56 | let inv = invoke(proxy, "getRate", nil, nil) | |
57 | 57 | if ((inv == inv)) | |
58 | 58 | then match inv { | |
59 | 59 | case s: String => | |
60 | 60 | parseIntValue(s) | |
61 | 61 | case _ => | |
62 | 62 | throw("Rate is zero (0)") | |
63 | 63 | } | |
64 | 64 | else throw("Strict value is not equal to itself.") | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func getProxyAddress () = addressFromStringValue(getStringOrThrow(keyProxyAddress)) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func getSWavesId () = fromBase58String(getStringOrThrow(keySWavesAssetId)) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func getLeaseProxyConfig () = { | |
75 | 75 | let factory = addressFromStringValue(valueOrElse(getString(keyFactoryAddress), "")) | |
76 | 76 | let myAddressString = toString(this) | |
77 | - | $Tuple2(invoke(factory, "", [myAddressString, "WAVES"], nil), myAddressString) | |
77 | + | $Tuple2(invoke(factory, "getPoolLeaseConfigREADONLY", [myAddressString, "WAVES"], nil), myAddressString) | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func deposit (wavesAmount) = { | |
82 | 82 | let proxy = getProxyAddress() | |
83 | 83 | let currentAdditionalBalance = getIntegerOrZero(keyAdditionalBalance) | |
84 | 84 | if ((currentAdditionalBalance == currentAdditionalBalance)) | |
85 | 85 | then { | |
86 | 86 | let currentSWavesBalance = getIntegerOrZero(keySWavesAdditionalBalance) | |
87 | 87 | if ((currentSWavesBalance == currentSWavesBalance)) | |
88 | 88 | then if ((wavesAmount > 0)) | |
89 | 89 | then { | |
90 | 90 | let depositInvoke = invoke(proxy, "deposit", nil, [AttachedPayment(unit, wavesAmount)]) | |
91 | 91 | if ((depositInvoke == depositInvoke)) | |
92 | 92 | then match depositInvoke { | |
93 | 93 | case receivedSWaves: Int => | |
94 | 94 | let newAdditionalBalance = (currentAdditionalBalance + wavesAmount) | |
95 | 95 | let newSWavesBalance = (currentSWavesBalance + receivedSWaves) | |
96 | 96 | [IntegerEntry(keyAdditionalBalance, newAdditionalBalance), IntegerEntry(keySWavesAdditionalBalance, newSWavesBalance)] | |
97 | 97 | case _ => | |
98 | 98 | nil | |
99 | 99 | } | |
100 | 100 | else throw("Strict value is not equal to itself.") | |
101 | 101 | } | |
102 | 102 | else nil | |
103 | 103 | else throw("Strict value is not equal to itself.") | |
104 | 104 | } | |
105 | 105 | else throw("Strict value is not equal to itself.") | |
106 | 106 | } | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func withdraw (wavesAmount) = { | |
110 | 110 | let proxy = getProxyAddress() | |
111 | 111 | let currentAdditionalBalance = getIntegerOrZero(keyAdditionalBalance) | |
112 | 112 | if ((currentAdditionalBalance == currentAdditionalBalance)) | |
113 | 113 | then { | |
114 | 114 | let currentSWavesBalance = getIntegerOrZero(keySWavesAdditionalBalance) | |
115 | 115 | if ((currentSWavesBalance == currentSWavesBalance)) | |
116 | 116 | then { | |
117 | 117 | let currentProxyRate = getRate() | |
118 | 118 | if ((currentProxyRate == currentProxyRate)) | |
119 | 119 | then { | |
120 | 120 | let sendSWavesAmount = fraction(MULT12, wavesAmount, currentProxyRate) | |
121 | 121 | if ((sendSWavesAmount > 0)) | |
122 | 122 | then { | |
123 | 123 | let withdrawInvoke = invoke(proxy, "withdraw", nil, [AttachedPayment(getSWavesId(), sendSWavesAmount)]) | |
124 | 124 | if ((withdrawInvoke == withdrawInvoke)) | |
125 | 125 | then match withdrawInvoke { | |
126 | 126 | case receivedWaves: Int => | |
127 | 127 | let newAdditionalBalance = (currentAdditionalBalance - receivedWaves) | |
128 | 128 | let newSWavesBalance = (currentSWavesBalance - sendSWavesAmount) | |
129 | 129 | [IntegerEntry(keyAdditionalBalance, newAdditionalBalance), IntegerEntry(keySWavesAdditionalBalance, newSWavesBalance)] | |
130 | 130 | case _ => | |
131 | 131 | nil | |
132 | 132 | } | |
133 | 133 | else throw("Strict value is not equal to itself.") | |
134 | 134 | } | |
135 | 135 | else nil | |
136 | 136 | } | |
137 | 137 | else throw("Strict value is not equal to itself.") | |
138 | 138 | } | |
139 | 139 | else throw("Strict value is not equal to itself.") | |
140 | 140 | } | |
141 | 141 | else throw("Strict value is not equal to itself.") | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func rebalanceInternal (targetRatio) = { | |
146 | 146 | let availableBalance = wavesBalance(this).available | |
147 | 147 | if ((availableBalance == availableBalance)) | |
148 | 148 | then { | |
149 | 149 | let additionalBalance = getIntegerOrZero(keyAdditionalBalance) | |
150 | 150 | if ((additionalBalance == additionalBalance)) | |
151 | 151 | then { | |
152 | 152 | let wholeBalance = max([0, ((availableBalance + additionalBalance) - getMinBalance())]) | |
153 | 153 | let targetAdditionalBalance = fraction(targetRatio, wholeBalance, 100) | |
154 | 154 | let diff = (additionalBalance - targetAdditionalBalance) | |
155 | 155 | if ((diff == 0)) | |
156 | 156 | then nil | |
157 | 157 | else if ((0 > diff)) | |
158 | 158 | then { | |
159 | 159 | let sendWavesAmount = -(diff) | |
160 | 160 | deposit(sendWavesAmount) | |
161 | 161 | } | |
162 | 162 | else { | |
163 | 163 | let getWavesAmount = diff | |
164 | 164 | withdraw(getWavesAmount) | |
165 | 165 | } | |
166 | 166 | } | |
167 | 167 | else throw("Strict value is not equal to itself.") | |
168 | 168 | } | |
169 | 169 | else throw("Strict value is not equal to itself.") | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(i) | |
174 | 174 | func rebalanceRatio (targetRatio) = rebalanceInternal(targetRatio) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | ||
178 | 178 | @Callable(i) | |
179 | 179 | func rebalance () = rebalanceInternal(getTargetRatio()) | |
180 | 180 | ||
181 | 181 |
github/deemru/w8io/026f985 31.03 ms ◑