tx · 3JAUYNizVxmzAVSjKrirBMbnbZGxzPiZ44d7YuNy1sFu 3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw: -0.02000000 Waves 2023.08.20 09:33 [2718581] smart account 3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw > SELF 0.00000000 Waves
{ "type": 13, "id": "3JAUYNizVxmzAVSjKrirBMbnbZGxzPiZ44d7YuNy1sFu", "fee": 2000000, "feeAssetId": null, "timestamp": 1692513207596, "version": 2, "chainId": 84, "sender": "3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw", "senderPublicKey": "Apv79thF7LfxCEFRESoEAeqHQnhmt45geC8enb3ukDX", "proofs": [ "25rX4hhhAn9RPUPumo34qBfdegvhHAi4roBCcm9YnQXrasVKHJnHPPPmmq78DAQNhZXXhQKunSwWA442RmMWY1dz" ], "script": "base64:AAIFAAAAAAAAABkIAhIDCgEBEgASBAoCAQESAwoBARIDCgEIAAAAEAAAAAAHVmVyc2lvbgIAAAAFMy4wLjAAAAAAEWNvbnZlcnRlcl9hZGRyZXNzAgAAACMzSnR1VXd0UWpFWFNqRVJlclZoeDdabWZYUFBLTG5TRDMzMgAAAAALQ09ERUFzc2V0SUQBAAAAIMO7WpkPv3V6MicEWfxW+TeI3Tjc6gp0OC8l37fTvNKgAAAAABJDT0RFTElDRU5TRUFzc2V0SUQBAAAAIO5VZwI3C78XpHAd/wqGyn2HN9x741i+AN0cA2sBmd0OAAAAAAtTdGFraW5nRGFwcAEAAAAg/UGbBLHhsjFFb0b3YWn4seNHtEaYngIcscRj3mvW1T8AAAAAElRyZWFzdXJ5RmVlQWRkcmVzcwEAAAAgUoPZoIvXkJI7M+XgQERyG3Ox4PxeH5gdLMWeskjH4iAAAAAACmRldmFkZHJlc3MBAAAAIHE/Oe1BrsJepSkes1ESh96Qyq2U5VDLF1kF2MXI1ngbAAAAAAxkZXZmZWVjaGFyZWQAAAAAAAAAABQAAAAAC1N0YXJ0SGVpZ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c3NldElECQAAAgAAAAECAAAAH1dyb25nIEFzc2V0SUQgb3IgUHJvYmFseSBCbGFuay4JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAARY29udmVydGVyX2FkZHJlc3MJAAPwAAAAAgUAAAAEdGhpcwkAAlkAAAABBQAAAAdBc3NldElECQACWQAAAAEFAAAAB0Fzc2V0SUQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Fi7tpA==", "height": 2718581, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 81d5XvRMHgmvbXRGzx1LnfaMw25tBNYF2yFZqX9WH5CM Next: 8VxC8mXbtcMLsX5r6sPxwndNCLbb2TiALVcNmmPTLkP8 Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | let Version = "3.0.0" | |
5 | 5 | ||
6 | 6 | let converter_address = "3JtuUwtQjEXSjERerVhx7ZmfXPPKLnSD332" | |
7 | - | ||
8 | - | let autobuyback_controller_pubkey = base58'CFS24Rd5VmayXgJRCaGq1CfrQY9aRNbQEMFcM8r6vsUZ' | |
9 | - | ||
10 | - | let controller_address = addressFromPublicKey(autobuyback_controller_pubkey) | |
11 | 7 | ||
12 | 8 | let CODEAssetID = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB' | |
13 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let Version = "3.0.0" | |
5 | 5 | ||
6 | 6 | let converter_address = "3JtuUwtQjEXSjERerVhx7ZmfXPPKLnSD332" | |
7 | - | ||
8 | - | let autobuyback_controller_pubkey = base58'CFS24Rd5VmayXgJRCaGq1CfrQY9aRNbQEMFcM8r6vsUZ' | |
9 | - | ||
10 | - | let controller_address = addressFromPublicKey(autobuyback_controller_pubkey) | |
11 | 7 | ||
12 | 8 | let CODEAssetID = base58'EB4CUQH4fHzzQt9YjcHtA6T7uosHNH9RnQKHgBdZHPCB' | |
13 | 9 | ||
14 | 10 | let CODELICENSEAssetID = base58'H3MZcnjakUsXycTbuR1BtZbyXj8C4RAPgdoeoTMGczjX' | |
15 | 11 | ||
16 | 12 | let StakingDapp = base58'J3cAptAPQxVqpEz6Rch57JeKpbns48s1a6HoeQG9aX4J' | |
17 | 13 | ||
18 | 14 | let TreasuryFeeAddress = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' | |
19 | 15 | ||
20 | 16 | let devaddress = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene' | |
21 | 17 | ||
22 | 18 | let devfeechared = 20 | |
23 | 19 | ||
24 | 20 | let StartHeight = 1850000 | |
25 | 21 | ||
26 | 22 | let minimumlockdays = getIntegerValue(this, "Minimum_Days_Range") | |
27 | 23 | ||
28 | 24 | let maximumlockdays = getIntegerValue(this, "Maximum_Days_Range") | |
29 | 25 | ||
30 | 26 | let Minimum_CODE_Stake_Amount = 100000 | |
31 | 27 | ||
32 | 28 | let Minimum_Burn_factor = 1000000 | |
33 | 29 | ||
34 | 30 | let oneday = 1440 | |
35 | 31 | ||
36 | 32 | let blockdiff = (height - StartHeight) | |
37 | 33 | ||
38 | 34 | let InflationNo = (fraction(10000000000, 1, blockdiff) + 6000) | |
39 | 35 | ||
40 | 36 | @Callable(i) | |
41 | 37 | func Deposit (days) = { | |
42 | 38 | let pmt = if ((size(i.payments) == 1)) | |
43 | 39 | then i.payments[0] | |
44 | 40 | else throw((("No Payments Attached Please Attach " + toBase58String(CODEAssetID)) + " Asset Only.")) | |
45 | 41 | let currentKey = toBase58String(i.caller.bytes) | |
46 | 42 | let UserClaimAmount = ((((InflationNo * pmt.amount) * days) / 365) / 1000) | |
47 | 43 | let allowdedpymt = (blockdiff * 100000) | |
48 | 44 | let actualblocks = (oneday * days) | |
49 | 45 | let totallockblocks = (height + actualblocks) | |
50 | 46 | let max_receivable = fraction(maximumlockdays, (allowdedpymt * InflationNo), (365 * 1000)) | |
51 | 47 | let Burn_factor = fraction(max_receivable, 1000000, allowdedpymt) | |
52 | 48 | let PreviousTxnsCODE = match getIntegerValue(this, "Total_Txns:") { | |
53 | 49 | case a: Int => | |
54 | 50 | a | |
55 | 51 | case _ => | |
56 | 52 | 0 | |
57 | 53 | } | |
58 | 54 | let TotalTxnsCODE = (PreviousTxnsCODE + 1) | |
59 | 55 | let PreviousBurnedCODE = match getInteger(this, "Total_Burned_CODE:") { | |
60 | 56 | case a: Int => | |
61 | 57 | a | |
62 | 58 | case _ => | |
63 | 59 | 0 | |
64 | 60 | } | |
65 | 61 | let TotalBurnedCODE = (PreviousBurnedCODE + pmt.amount) | |
66 | 62 | let fetchuserstakeheight = valueOrErrorMessage(getInteger(addressFromPublicKey(StakingDapp), ("Deposit_height_Of_" + currentKey)), "Your Address not Found on Staking DApp") | |
67 | 63 | let fetchusermatureheight = valueOrErrorMessage(getInteger(addressFromPublicKey(StakingDapp), ("Total_Lock_Blocks_Of_" + currentKey)), "Your Address not Found on Staking DApp") | |
68 | 64 | let gapofheight = (fetchusermatureheight - fetchuserstakeheight) | |
69 | 65 | let checkLicenseBalance = assetBalance(Address(i.caller.bytes), CODELICENSEAssetID) | |
70 | 66 | let currentCODEAmount = match getInteger(this, ("Deposit_Amount_Of_" + currentKey)) { | |
71 | 67 | case a: Int => | |
72 | 68 | a | |
73 | 69 | case _ => | |
74 | 70 | 0 | |
75 | 71 | } | |
76 | 72 | let newCODEAmount = (currentCODEAmount + pmt.amount) | |
77 | 73 | let UserNoOfDeposits = match getInteger(this, ("No_Of_Deposits_" + currentKey)) { | |
78 | 74 | case a: Int => | |
79 | 75 | a | |
80 | 76 | case _ => | |
81 | 77 | 0 | |
82 | 78 | } | |
83 | 79 | let SumpupofUserNoOfDeposits = (UserNoOfDeposits + 1) | |
84 | 80 | let Expansion_Counter = match getInteger(this, "Expansion_Counter") { | |
85 | 81 | case a: Int => | |
86 | 82 | a | |
87 | 83 | case _ => | |
88 | 84 | 0 | |
89 | 85 | } | |
90 | 86 | let NewExpansion_Counter = (Expansion_Counter + 1) | |
91 | 87 | if ((checkLicenseBalance != 1)) | |
92 | 88 | then throw("You Need to Mint a CODE License from DApp Address 3JeqfvcGZxJbuSpCB5cFhV2Bb8fdV4WzZzZ.") | |
93 | 89 | else if ((checkLicenseBalance > 1)) | |
94 | 90 | then throw("You Own Multiple CODE License on Same Address.") | |
95 | 91 | else if ((StartHeight > height)) | |
96 | 92 | then throw((("DApp is Not Started Yet please Wait until " + toString((StartHeight - height))) + " blocks")) | |
97 | 93 | else if ((pmt.assetId != CODEAssetID)) | |
98 | 94 | then throw((("Incorrect asset attached, please attach " + toBase58String(CODEAssetID)) + " asset only")) | |
99 | 95 | else if ((minimumlockdays >= days)) | |
100 | 96 | then throw(((("Choose Locking days in between " + toString((minimumlockdays + 1))) + " to ") + toString(maximumlockdays))) | |
101 | 97 | else if ((days > maximumlockdays)) | |
102 | 98 | then throw(((((("You Entered days to " + toString(days)) + ", Please Enter no. of days in between ") + toString((minimumlockdays + 1))) + " to ") + toString(maximumlockdays))) | |
103 | 99 | else if ((Minimum_CODE_Stake_Amount > pmt.amount)) | |
104 | 100 | then throw("Please Attach minimum 0.001 CODE Token To Issue More CODE Asset.") | |
105 | 101 | else if ((pmt.amount > allowdedpymt)) | |
106 | 102 | then throw((("You can attach maximum " + toString(allowdedpymt)) + "/10^8 CODE.")) | |
107 | 103 | else if ((gapofheight != 129600)) | |
108 | 104 | then throw("You are Not Eligible to Mint CODE. It need minimum 90 Days Staking.") | |
109 | 105 | else if ((UserNoOfDeposits == 1)) | |
110 | 106 | then throw("You Already Have an Active Staking, Please Wait until Mature.") | |
111 | 107 | else if ((Minimum_Burn_factor > Burn_factor)) | |
112 | 108 | then [StringEntry("Version", Version), IntegerEntry("Expansion_Counter", NewExpansion_Counter), StringEntry(((toString(NewExpansion_Counter) + "_Expansion_Updator_") + toString(height)), currentKey), StringEntry("message", (((("New Days Range Expended from " + toString(maximumlockdays)) + " To ") + toString((maximumlockdays + 1))) + " Days. Please Restake CODE.")), IntegerEntry("Maximum_Days_Range", (maximumlockdays + 1)), IntegerEntry("Minimum_Days_Range", (minimumlockdays + 1)), ScriptTransfer(i.caller, pmt.amount, CODEAssetID)] | |
113 | 109 | else [Burn(CODEAssetID, pmt.amount), IntegerEntry("Total_Burned_CODE:", TotalBurnedCODE), IntegerEntry("Total_Txns:", TotalTxnsCODE), IntegerEntry("Inflation", InflationNo), IntegerEntry("Block_Passed", blockdiff), IntegerEntry("Burn_Factor", Burn_factor), IntegerEntry(("No_Of_Deposits_" + currentKey), SumpupofUserNoOfDeposits), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newCODEAmount), IntegerEntry(("Rewards_Of_" + currentKey), UserClaimAmount), StringEntry("message", "<h1>CODE Staked Successfully!</h1><br>")] | |
114 | 110 | } | |
115 | 111 | ||
116 | 112 | ||
117 | 113 | ||
118 | 114 | @Callable(i) | |
119 | 115 | func Withdraw () = { | |
120 | 116 | let currentKey = toBase58String(i.caller.bytes) | |
121 | 117 | let MaxA4AAmt = 1200000000000 | |
122 | 118 | let MaxFee = 24000000 | |
123 | 119 | let divisiblefactor = 19 | |
124 | 120 | let fetchUserStakeAmt = valueOrErrorMessage(getInteger(addressFromPublicKey(StakingDapp), ("Deposit_Amount_Of_" + currentKey)), "Your Address not Found on Staking DApp") | |
125 | 121 | let FlatfeePercent = 500 | |
126 | 122 | let FeesPercent = ((MaxFee - (fraction(fetchUserStakeAmt, 1000000, MaxA4AAmt) * 19)) / 10000) | |
127 | 123 | let ClaimFee = getIntegerValue(this, "Claim_Fee") | |
128 | 124 | let pmt = value(i.payments[0]) | |
129 | 125 | let checkdepositvalue = getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey)) | |
130 | 126 | let userFeeAmt = (((getIntegerValue(this, ("Rewards_Of_" + currentKey)) - checkdepositvalue) * FeesPercent) / 10000) | |
131 | 127 | let userFlatFeeAmt = (((getIntegerValue(this, ("Rewards_Of_" + currentKey)) - checkdepositvalue) * FlatfeePercent) / 10000) | |
132 | 128 | let PreviousTxnsCODE = match getIntegerValue(this, "Total_Txns:") { | |
133 | 129 | case a: Int => | |
134 | 130 | a | |
135 | 131 | case _ => | |
136 | 132 | 0 | |
137 | 133 | } | |
138 | 134 | let TotalTxnsCODE = (PreviousTxnsCODE + 1) | |
139 | 135 | let fetchRewardData = match getIntegerValue(this, "Total_CODE_Claimed:") { | |
140 | 136 | case a: Int => | |
141 | 137 | a | |
142 | 138 | case _ => | |
143 | 139 | 0 | |
144 | 140 | } | |
145 | 141 | let totalrewardclaimed = (fetchRewardData + getIntegerValue(this, ("Rewards_Of_" + currentKey))) | |
146 | 142 | let PreviousIssuedCODE = match getIntegerValue(this, "Total_Issued_CODE:") { | |
147 | 143 | case a: Int => | |
148 | 144 | a | |
149 | 145 | case _ => | |
150 | 146 | 0 | |
151 | 147 | } | |
152 | 148 | let TotalIssuedCODE = (PreviousIssuedCODE + getIntegerValue(this, ("Rewards_Of_" + currentKey))) | |
153 | 149 | let PreviousClaimFeeInTN = match getIntegerValue(this, "Total_Claim_Fee_In_TN") { | |
154 | 150 | case a: Int => | |
155 | 151 | a | |
156 | 152 | case _ => | |
157 | 153 | 0 | |
158 | 154 | } | |
159 | 155 | let TotalClaimFeeInTN = (PreviousClaimFeeInTN + ClaimFee) | |
160 | 156 | let fetchuserstakeheight = valueOrErrorMessage(getInteger(addressFromPublicKey(StakingDapp), ("Deposit_height_Of_" + currentKey)), "Your Address not Found on Staking DApp") | |
161 | 157 | let fetchusermatureheight = valueOrErrorMessage(getInteger(addressFromPublicKey(StakingDapp), ("Total_Lock_Blocks_Of_" + currentKey)), "Your Address not Found on Staking DApp") | |
162 | 158 | let gapofheight = (fetchusermatureheight - fetchuserstakeheight) | |
163 | 159 | if (isDefined(pmt.assetId)) | |
164 | 160 | then throw((("Wrong Asset Attached for Payment, please Attach " + toString(ClaimFee)) + "/10^8 TN.")) | |
165 | 161 | else if ((pmt.amount != ClaimFee)) | |
166 | 162 | then throw((("Please Attach Exact " + toString(ClaimFee)) + "/10^8 TN.")) | |
167 | 163 | else if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) > height)) | |
168 | 164 | then throw((((("Your " + toString(getIntegerValue(this, ("Rewards_Of_" + currentKey)))) + "/10^8 CODE are Still Maturing. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) - height))) + " blocks.")) | |
169 | 165 | else if ((checkdepositvalue == 0)) | |
170 | 166 | then throw("You Have Already Withdraw your CODE Amount.") | |
171 | 167 | else if ((gapofheight != 129600)) | |
172 | 168 | then throw("You are Not Eligible to Withdraw CODE. It need minimum 90 Days Staking at A4A DApp. Probably you already have Claimed Your Stake or you Overwrite the Smart Contract with less than 90 days.") | |
173 | 169 | else if ((fetchUserStakeAmt >= 1199999999999)) | |
174 | 170 | then [IntegerEntry("Total_Txns:", TotalTxnsCODE), IntegerEntry("Total_CODE_Claimed:", totalrewardclaimed), IntegerEntry("Total_Issued_CODE:", TotalIssuedCODE), IntegerEntry("Total_Claim_Fee_In_TN", TotalClaimFeeInTN), IntegerEntry("Fee_%_Charge", FlatfeePercent), IntegerEntry("Fee_Amount", userFlatFeeAmt), Reissue(CODEAssetID, getIntegerValue(this, ("Rewards_Of_" + currentKey)), true), ScriptTransfer(i.caller, (getIntegerValue(this, ("Rewards_Of_" + currentKey)) - userFlatFeeAmt), CODEAssetID), ScriptTransfer(addressFromPublicKey(TreasuryFeeAddress), fraction(userFlatFeeAmt, 80, 100), CODEAssetID), ScriptTransfer(addressFromPublicKey(devaddress), fraction(userFlatFeeAmt, devfeechared, 100), CODEAssetID), IntegerEntry(("No_Of_Deposits_" + currentKey), 0), IntegerEntry(("Deposit_height_Of_" + currentKey), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), 0), IntegerEntry(("Deposit_Amount_Of_" + currentKey), 0), IntegerEntry(("Rewards_Of_" + currentKey), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")] | |
175 | 171 | else [IntegerEntry("Total_Txns:", TotalTxnsCODE), IntegerEntry("Total_CODE_Claimed:", totalrewardclaimed), IntegerEntry("Total_Issued_CODE:", TotalIssuedCODE), IntegerEntry("Total_Claim_Fee_In_TN", TotalClaimFeeInTN), IntegerEntry("Fee_%_Charge", FeesPercent), IntegerEntry("Fee_Amount", userFeeAmt), Reissue(CODEAssetID, getIntegerValue(this, ("Rewards_Of_" + currentKey)), true), ScriptTransfer(i.caller, (getIntegerValue(this, ("Rewards_Of_" + currentKey)) - userFeeAmt), CODEAssetID), ScriptTransfer(addressFromPublicKey(TreasuryFeeAddress), fraction(userFeeAmt, 80, 100), CODEAssetID), ScriptTransfer(addressFromPublicKey(devaddress), fraction(userFeeAmt, devfeechared, 100), CODEAssetID), IntegerEntry(("No_Of_Deposits_" + currentKey), 0), IntegerEntry(("Deposit_height_Of_" + currentKey), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), 0), IntegerEntry(("Deposit_Amount_Of_" + currentKey), 0), IntegerEntry(("Rewards_Of_" + currentKey), 0), StringEntry("message", "<h1>CODE UnStaked Successfully!</h1><br>")] | |
176 | 172 | } | |
177 | 173 | ||
178 | 174 | ||
179 | 175 | ||
180 | 176 | @Callable(i) | |
181 | 177 | func SetDaysRange (Minimum_Days_Range,Maximum_Days_Range) = { | |
182 | 178 | let calleraddress = toBase58String(i.caller.bytes) | |
183 | 179 | let adminrights = getStringValue(this, "DApp_Admin_Rights") | |
184 | 180 | let Minimum_days = 7 | |
185 | 181 | let Maximum_days = 200 | |
186 | 182 | if ((adminrights != calleraddress)) | |
187 | 183 | then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to change Days Range.")) | |
188 | 184 | else if ((Minimum_days > Minimum_Days_Range)) | |
189 | 185 | then throw("Minimum days range must be more than 6 and in between 7-200.") | |
190 | 186 | else if ((Maximum_Days_Range > Maximum_days)) | |
191 | 187 | then throw("Maximum days range can't exceed the 200.") | |
192 | 188 | else if ((Minimum_Days_Range > Maximum_Days_Range)) | |
193 | 189 | then throw((((("Minimum days range can't be exceed the value of Maximum days range. Choose the Range between [" + toString(Minimum_days)) + "-") + toString(Maximum_days)) + "]")) | |
194 | 190 | else [IntegerEntry("Minimum_Days_Range", Minimum_Days_Range), IntegerEntry("Maximum_Days_Range", Maximum_Days_Range)] | |
195 | 191 | } | |
196 | 192 | ||
197 | 193 | ||
198 | 194 | ||
199 | 195 | @Callable(i) | |
200 | 196 | func SetClaimFee (ClaimFee) = { | |
201 | 197 | let calleraddress = toBase58String(i.caller.bytes) | |
202 | 198 | let adminrights = getStringValue(this, "DApp_Admin_Rights") | |
203 | 199 | let Minimum_Claim_fee = 100000000 | |
204 | 200 | let Maximum_Claim_fee = 100000000000 | |
205 | 201 | if ((adminrights != calleraddress)) | |
206 | 202 | then throw((("I know You are not An Admin. Only " + adminrights) + " has rights to change Claim Fee.")) | |
207 | 203 | else if ((Minimum_Claim_fee > ClaimFee)) | |
208 | 204 | then throw((("Minimum Claim fee is " + toString(Minimum_Claim_fee)) + " TN [int-format].")) | |
209 | 205 | else if ((ClaimFee > Maximum_Claim_fee)) | |
210 | 206 | then throw((("Maximum Claim fee can't be more than " + toString(Maximum_Claim_fee)) + " TN. [int-format]")) | |
211 | 207 | else [IntegerEntry("Claim_Fee", ClaimFee)] | |
212 | 208 | } | |
213 | 209 | ||
214 | 210 | ||
215 | 211 | ||
216 | 212 | @Callable(i) | |
217 | 213 | func PushForAutoSwap (AssetID) = if ((1 > assetBalance(this, fromBase58String(AssetID)))) | |
218 | 214 | then throw((AssetID + " has not Enough Balance To Transfer.")) | |
219 | 215 | else if ((40 > size(AssetID))) | |
220 | 216 | then throw("Wrong AssetID or Probaly Blank.") | |
221 | 217 | else [ScriptTransfer(addressFromStringValue(converter_address), assetBalance(this, fromBase58String(AssetID)), fromBase58String(AssetID))] | |
222 | 218 | ||
223 | 219 | ||
224 | 220 | @Verifier(tx) | |
225 | 221 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
226 | 222 |
github/deemru/w8io/026f985 43.81 ms ◑