tx · 52W9AWLzbTiYwKo4vcvX3ytTWmxzyAczjra4z4gK6rxm

3N5XosLkdNGfHxbM1A4WoNRzrKePUwQEoZa:  -0.01400000 Waves

2021.11.09 03:39 [1782764] smart account 3N5XosLkdNGfHxbM1A4WoNRzrKePUwQEoZa > SELF 0.00000000 Waves

{ "type": 13, "id": "52W9AWLzbTiYwKo4vcvX3ytTWmxzyAczjra4z4gK6rxm", "fee": 1400000, "feeAssetId": null, "timestamp": 1636418307756, "version": 2, "chainId": 84, "sender": "3N5XosLkdNGfHxbM1A4WoNRzrKePUwQEoZa", "senderPublicKey": "5E74BDoH1TWjnaLoRTzgV8r2eMJvyyJr4dCAcRHXonaS", "proofs": [ "32rPtPDx6wxj7aHNmpXVDf5HM4xo4WFPPtKMrxAdTjniuZU1ZhJooWQkaS7De1Cyb5tK5XrGCt5MpBvtNpAjCLjV" ], "script": "base64:AAIEAAAAAAAAAA8IAhIAEgASAwoBARIAEgAAAAAHAAAAAApBNEFBc3NldElEAQAAACBB+pVChrIM0bYcHGVF+EU4PDpijQ3FQZHoT/jLsKTe6AAAAAALVVNEVEFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAAtDT0RFQXNzZXRJRAEAAAAg0ARhGkWctBlceTsA9ujm1aKPVhDZwbdH9Q3XZNNMfvcAAAAACkZlZUFkZHJlc3MBAAAAIFKD2aCL15CSOzPl4EBEchtzseD8Xh+YHSzFnrJIx+IgAAAAAApkZXZBZGRyZXNzAQAAACBxPzntQa7CXqUpHrNREofekMqtlOVQyxdZBdjFyNZ4GwAAAAAMYWRtaW5QdWJLZXkxAQAAACA+yiT1G2Titjyu3xV7oQeDd58TcUoK9vchtoj7Ba3wdwAAAAAMYWRtaW5QdWJLZXkyAQAAACCjtaSeUVhAbk0T+akFnLGoDh+X4aR50o/42ilEuU4EFgAAAAUAAAABaQEAAAAISXNzdWVBNEEAAAAABAAAAANwbXQJAQAAAAV2YWx1ZQAA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AAFAAAADGFkbWluUHViS2V5MQAAAAAAAAAAAQAAAAAAAAAAAAQAAAASYWRtaW5QdWJLZXkyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADGFkbWluUHViS2V5MgAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIFAAAAEmFkbWluUHViS2V5MVNpZ25lZAUAAAASYWRtaW5QdWJLZXkyU2lnbmVkAAAAAAAAAAACzkw3Xw==", "height": 1782764, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CiCHAsNQmqS1qXnTqtCsinsooReP4D4V9JA81gTaczTB Next: none Diff:
OldNewDifferences
1111
1212 let devAddress = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1313
14-let adminPubKey1 = base58'H6VV8dwZv8H2sTzhvykjM9RhQnt41Ec9cdHQxSgqU163'
14+let adminPubKey1 = base58'5E74BDoH1TWjnaLoRTzgV8r2eMJvyyJr4dCAcRHXonaS'
1515
1616 let adminPubKey2 = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV'
1717
170170 @Verifier(tx)
171171 func verify () = match tx {
172172 case _ =>
173- sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
173+ let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
174+ then 1
175+ else 0
176+ let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
177+ then 1
178+ else 0
179+ ((adminPubKey1Signed + adminPubKey2Signed) >= 2)
174180 }
175181
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let A4AAssetID = base58'5SZ7oVybGEm3F746GHiJTsBHr3XcRCRdXMjN3pFCi82T'
55
66 let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
77
88 let CODEAssetID = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
99
1010 let FeeAddress = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1111
1212 let devAddress = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
1313
14-let adminPubKey1 = base58'H6VV8dwZv8H2sTzhvykjM9RhQnt41Ec9cdHQxSgqU163'
14+let adminPubKey1 = base58'5E74BDoH1TWjnaLoRTzgV8r2eMJvyyJr4dCAcRHXonaS'
1515
1616 let adminPubKey2 = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV'
1717
1818 @Callable(i)
1919 func IssueA4A () = {
2020 let pmt = value(i.payments[0])
2121 let currentKey = toBase58String(i.caller.bytes)
2222 let PricePerA4A = getIntegerValue(this, "A4A/TN")
2323 let A4AHardCap = getIntegerValue(this, "A4AHardCap")
2424 let NewA4AToUser = fraction(100000, pmt.amount, PricePerA4A)
2525 let PreviousIssuedA4A = getIntegerValue(this, "Total_Issued_A4A:")
2626 let TotalIssuedA4A = (PreviousIssuedA4A + NewA4AToUser)
2727 let PendingMinting = (A4AHardCap - TotalIssuedA4A)
2828 let PreviousA4AReserveValue = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
2929 let A4AReserveValue = (PreviousA4AReserveValue + pmt.amount)
3030 let PreviousA4ABackupPrice = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
3131 let A4ABackupPrice = fraction(100000, A4AReserveValue, TotalIssuedA4A)
3232 if (isDefined(pmt.assetId))
3333 then throw("Incorrect asset attached, please attach TN.")
3434 else if ((5000000 > pmt.amount))
3535 then throw("Please Attach minimum 0.05 TN To Issue A4A Asset.")
3636 else if ((TotalIssuedA4A > A4AHardCap))
3737 then throw((((((("A4A Minting is about to reach the Hard Cap of " + toString(A4AHardCap)) + "/10^8 A4A. Please Reduce your Minting Order by ") + toString(PendingMinting)) + " or put ") + toString((A4AHardCap - PreviousIssuedA4A))) + "/10^8"))
3838 else [IntegerEntry("Total_Issued_A4A:", TotalIssuedA4A), IntegerEntry("Balance_Minting_A4A:", PendingMinting), IntegerEntry("Total_A4A_Reserve_In_TN:", A4AReserveValue), IntegerEntry("A4A_Backup_Value_In_TN:", A4ABackupPrice), StringEntry("message", "<h1>A4A Issued Successfully!</h1><br>"), Reissue(A4AAssetID, NewA4AToUser, true), ScriptTransfer(i.caller, ((NewA4AToUser * 990) / 1000), A4AAssetID), ScriptTransfer(addressFromPublicKey(FeeAddress), ((NewA4AToUser * 9) / 1000), A4AAssetID), ScriptTransfer(addressFromPublicKey(devAddress), ((NewA4AToUser * 1) / 1000), A4AAssetID)]
3939 }
4040
4141
4242
4343 @Callable(i)
4444 func Liquidate () = {
4545 let currentKey = toBase58String(i.callerPublicKey)
4646 let pmt = value(i.payments[0])
4747 let PreviousIssuedA4A = getIntegerValue(this, "Total_Issued_A4A:")
4848 let PreviousBurnedA4A = getIntegerValue(this, "Total_Burned_A4A:")
4949 let TotalIssuedA4A = (PreviousIssuedA4A - pmt.amount)
5050 let TotalBurnedA4A = (PreviousBurnedA4A + pmt.amount)
5151 let PreviousA4AReserveValue = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
5252 let PreviousA4ABackupPrice = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
5353 let calculateburnvalue = fraction(PreviousA4ABackupPrice, pmt.amount, 100000)
5454 let A4AReserveValue = (PreviousA4AReserveValue - calculateburnvalue)
5555 let A4ABackupPrice = fraction(100000, A4AReserveValue, TotalIssuedA4A)
5656 if ((pmt.assetId != A4AAssetID))
5757 then throw("Kindly Deposit Only 8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g (A4A).")
5858 else if ((100000 > pmt.amount))
5959 then throw("Attach Amount must be greater than 0.001 A4A.")
6060 else [Burn(A4AAssetID, pmt.amount), IntegerEntry("Total_Issued_A4A:", TotalIssuedA4A), IntegerEntry("Total_Burned_A4A:", TotalBurnedA4A), IntegerEntry("Total_A4A_Reserve_In_TN:", A4AReserveValue), IntegerEntry("A4A_Backup_Value_In_TN:", A4ABackupPrice), StringEntry("message", "<h1>A4A Liquidated Successfully!</h1><br>"), ScriptTransfer(i.caller, ((calculateburnvalue * 990) / 1000), unit), ScriptTransfer(addressFromPublicKey(FeeAddress), ((calculateburnvalue * 9) / 1000), unit), ScriptTransfer(addressFromPublicKey(devAddress), ((calculateburnvalue * 1) / 1000), unit)]
6161 }
6262
6363
6464
6565 @Callable(i)
6666 func Deposit (days) = {
6767 let pmt = if ((size(i.payments) == 1))
6868 then i.payments[0]
6969 else throw("No payment attached, Please Attach A4A Token as per TIER in payment[1].")
7070 let currentKey = toBase58String(i.caller.bytes)
7171 let maximumlockdays = 90
7272 let lockstatus = "LOCKED"
7373 let ULBT = 99999999999
7474 let ULST = 599999999999
7575 let ULGT = 1199999999999
7676 let ULDT = 1200000000000
7777 let oneday = 1440
7878 let actualblocks = (oneday * days)
7979 let totallockblocks = (height + actualblocks)
8080 let Tier1 = 36000
8181 let Tier1rewards = fraction(fraction((Tier1 * 2), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
8282 let Tier2rewards = fraction(fraction((Tier1 * 4), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
8383 let Tier3rewards = fraction(fraction((Tier1 * 8), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
8484 let StakedA4AAmount = match getInteger(this, "Staked_Amount") {
8585 case a: Int =>
8686 a
8787 case _ =>
8888 0
8989 }
9090 let newStakedA4AAmount = (StakedA4AAmount + pmt.amount)
9191 let currentA4AAmount = match getInteger(this, ("Deposit_Amount_Of_" + currentKey)) {
9292 case a: Int =>
9393 a
9494 case _ =>
9595 0
9696 }
9797 let newA4AAmount = (currentA4AAmount + pmt.amount)
9898 if ((pmt.assetId != A4AAssetID))
9999 then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " only."))
100100 else if ((6 >= days))
101101 then throw("Choose Locking days in between 7 to 90.")
102102 else if ((days > maximumlockdays))
103103 then throw("You Entered days greater than 90 please Enter no. of days in between 7 to 90.")
104104 else if ((7700000000 > pmt.amount))
105105 then throw("Please Attach minimum 77 A4A To Achieve BRONZE TIER.")
106106 else if ((ULBT >= pmt.amount))
107107 then [StringEntry(("Tier_Of_" + currentKey), "BRONZE"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry("Staked_Amount", newStakedA4AAmount), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newA4AAmount), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), StringEntry(("Lock_Status_Of_" + currentKey), lockstatus), IntegerEntry(("Rewards_Of_" + currentKey), fraction(fraction(Tier1, pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP)))]
108108 else if ((ULST >= pmt.amount))
109109 then [StringEntry(("Tier_Of_" + currentKey), "SILVER"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry("Staked_Amount", newStakedA4AAmount), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newA4AAmount), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), StringEntry(("Lock_Status_Of_" + currentKey), lockstatus), IntegerEntry(("Rewards_Of_" + currentKey), Tier1rewards)]
110110 else if ((ULGT >= pmt.amount))
111111 then [StringEntry(("Tier_Of_" + currentKey), "GOLD"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry("Staked_Amount", newStakedA4AAmount), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newA4AAmount), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), StringEntry(("Lock_Status_Of_" + currentKey), lockstatus), IntegerEntry(("Rewards_Of_" + currentKey), Tier2rewards)]
112112 else if ((ULDT == pmt.amount))
113113 then [StringEntry(("Tier_Of_" + currentKey), "DIAMOND"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry("Staked_Amount", newStakedA4AAmount), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newA4AAmount), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), StringEntry(("Lock_Status_Of_" + currentKey), lockstatus), IntegerEntry(("Rewards_Of_" + currentKey), Tier3rewards)]
114114 else throw("Please Choose a Range Between 77-12000.")
115115 }
116116
117117
118118
119119 @Callable(i)
120120 func Withdraw () = {
121121 let currentKey = toBase58String(i.caller.bytes)
122122 let checkdepositvalue = getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey))
123123 let checkstakedvalue = getIntegerValue(this, "Staked_Amount")
124124 let newstakedvalue = (checkstakedvalue - checkdepositvalue)
125125 let check90Dgap = (getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) - getIntegerValue(this, ("Deposit_height_Of_" + currentKey)))
126126 let fetchRewardData = getIntegerValue(this, "Total_USDT_Claimed:")
127127 let totalrewardclaimed = (fetchRewardData + getIntegerValue(this, ("Rewards_Of_" + currentKey)))
128128 if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) > height))
129129 then throw(((("Your " + toString(getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey)))) + " A4A are Under Lock. Consider last 8 digits as value after Decimals. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) - height))))
130130 else if ((checkdepositvalue == 0))
131131 then throw("You Have Already Withdraw your Amount.")
132132 else if (if ((1200000000000 > checkdepositvalue))
133133 then (check90Dgap == 129600)
134134 else false)
135135 then [ScriptTransfer(i.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey)), A4AAssetID), ScriptTransfer(i.caller, getIntegerValue(this, ("Rewards_Of_" + currentKey)), USDTAssetID), ScriptTransfer(i.caller, ((checkdepositvalue * 3) / 1000), CODEAssetID), StringEntry(("Tier_Of_" + currentKey), "NONE"), IntegerEntry(("Deposit_height_Of_" + currentKey), 0), IntegerEntry("Staked_Amount", newstakedvalue), IntegerEntry(("Deposit_Amount_Of_" + currentKey), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), 0), StringEntry(("Lock_Status_Of_" + currentKey), "UNLOCK"), IntegerEntry(("Rewards_Of_" + currentKey), 0), IntegerEntry("Total_USDT_Claimed:", totalrewardclaimed)]
136136 else if (if ((checkdepositvalue > 1200000000000))
137137 then (check90Dgap == 129600)
138138 else false)
139139 then [ScriptTransfer(i.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey)), A4AAssetID), ScriptTransfer(i.caller, getIntegerValue(this, ("Rewards_Of_" + currentKey)), USDTAssetID), ScriptTransfer(i.caller, ((1200000000000 * 3) / 1000), CODEAssetID), StringEntry(("Tier_Of_" + currentKey), "NONE"), IntegerEntry(("Deposit_height_Of_" + currentKey), 0), IntegerEntry("Staked_Amount", newstakedvalue), IntegerEntry(("Deposit_Amount_Of_" + currentKey), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), 0), StringEntry(("Lock_Status_Of_" + currentKey), "UNLOCK"), IntegerEntry(("Rewards_Of_" + currentKey), 0), IntegerEntry("Total_USDT_Claimed:", totalrewardclaimed)]
140140 else [ScriptTransfer(i.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey)), A4AAssetID), ScriptTransfer(i.caller, getIntegerValue(this, ("Rewards_Of_" + currentKey)), USDTAssetID), StringEntry(("Tier_Of_" + currentKey), "NONE"), IntegerEntry(("Deposit_height_Of_" + currentKey), 0), IntegerEntry("Staked_Amount", newstakedvalue), IntegerEntry(("Deposit_Amount_Of_" + currentKey), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), 0), StringEntry(("Lock_Status_Of_" + currentKey), "UNLOCK"), IntegerEntry(("Rewards_Of_" + currentKey), 0), IntegerEntry("Total_USDT_Claimed:", totalrewardclaimed)]
141141 }
142142
143143
144144
145145 @Callable(i)
146146 func DepositUSDT () = {
147147 let pmt = if ((size(i.payments) == 1))
148148 then i.payments[0]
149149 else throw("No payment attached, Please Attach USDT Token in payment[1].")
150150 let calleraddress = toBase58String(i.caller.bytes)
151151 let USDTdepositor = getStringValue(this, "Funding_Address")
152152 let fetcholdUSDTbal = getIntegerValue(this, "USDT_Balance")
153153 let oldUSDTbal = match getInteger(this, "USDT_Balance") {
154154 case a: Int =>
155155 a
156156 case _ =>
157157 0
158158 }
159159 let newUSDTbal = (oldUSDTbal + pmt.amount)
160160 if ((USDTdepositor != calleraddress))
161161 then throw((("I know You are not An Admin. Only " + USDTdepositor) + " has rights to add USDT Funds."))
162162 else if ((pmt.assetId != USDTAssetID))
163163 then throw((("Kindly Deposit Only USDT " + toBase58String(USDTAssetID)) + " AssetID."))
164164 else if ((1000000 > pmt.amount))
165165 then throw("Attach minimum 1 USDT atleast For Payment.")
166166 else [IntegerEntry("USDT_Balance", newUSDTbal)]
167167 }
168168
169169
170170 @Verifier(tx)
171171 func verify () = match tx {
172172 case _ =>
173- sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
173+ let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
174+ then 1
175+ else 0
176+ let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
177+ then 1
178+ else 0
179+ ((adminPubKey1Signed + adminPubKey2Signed) >= 2)
174180 }
175181

github/deemru/w8io/169f3d6 
42.62 ms