tx · BRZkBjRwoZ5cScvpEWR5kJSB29WQMbRuF3sxz7wUSWWQ

3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj:  -0.01400000 Waves

2021.11.09 01:18 [1782627] smart account 3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj > SELF 0.00000000 Waves

{ "type": 13, "id": "BRZkBjRwoZ5cScvpEWR5kJSB29WQMbRuF3sxz7wUSWWQ", "fee": 1400000, "feeAssetId": null, "timestamp": 1636409935979, "version": 2, "chainId": 84, "sender": "3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj", "senderPublicKey": "C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV", "proofs": [ "4orMNqXiFZGbtqbgpT2LfTAGm1UzMx3yGonAndk56CZsQVZTmz5E9x841FX6xwAFkCY4e5e9sCiEjxCncPUZHEs6" ], "script": "base64:AAIEAAAAAAAAAA8IAhIAEgASAwoBARIAEgAAAAAHAAAAAApBNEFBc3NldElEAQAAACD+xBrh3u/naSJ9Eujvd+1d33EPvCCH0lpodP3xbghYNwAAAAALVVNEVEFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAAAAtDT0RFQXNzZXRJRAEAAAAg0ARhGkWctBlceTsA9ujm1aKPVhDZwbdH9Q3XZNNMfvcAAAAACkZlZUFkZHJlc3MBAAAAIFKD2aCL15CSOzPl4EBEchtzseD8Xh+YHSzFnrJIx+IgAAAAAApkZXZBZGRyZXNzAQAAACBxPzntQa7CXqUpHrNREofekMqtlOVQyxdZBdjFyNZ4GwAAAAAMYWRtaW5QdWJLZXkxAQAAACA+yiT1G2Titjyu3xV7oQeDd58TcUoK9vchtoj7Ba3wdwAAAAAMYWRtaW5QdWJLZXkyAQAAACCjtaSeUVhAbk0T+akFnLGoDh+X4aR50o/42ilEuU4EFgAAAAUAAAABaQEAAAAISXNzdWVBNEEAAAAABAAAAANwbXQJAQAAAAV2YWx1ZQAAAAEJ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AAADGFkbWluUHViS2V5MQAAAAAAAAAAAQAAAAAAAAAAAAQAAAASYWRtaW5QdWJLZXkyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADGFkbWluUHViS2V5MgAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIFAAAAEmFkbWluUHViS2V5MVNpZ25lZAUAAAASYWRtaW5QdWJLZXkyU2lnbmVkAAAAAAAAAAAC8lM/PQ==", "height": 1782627, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GfUtvE5hWSAh69wnXDwpkuAkhot97LpwMXLNM6mFpZXL Next: none Diff:
OldNewDifferences
1010 let FeeAddress = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1111
1212 let devAddress = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
13+
14+let adminPubKey1 = base58'5E74BDoH1TWjnaLoRTzgV8r2eMJvyyJr4dCAcRHXonaS'
15+
16+let adminPubKey2 = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV'
1317
1418 @Callable(i)
1519 func IssueA4A () = {
164168
165169
166170 @Verifier(tx)
167-func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
171+func verify () = match tx {
172+ case _ =>
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)
180+}
168181
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let A4AAssetID = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook'
55
66 let USDTAssetID = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
77
88 let CODEAssetID = base58'F11g74azdw3SZN83raygbu9useimfTwSQ7HmTLggAq26'
99
1010 let FeeAddress = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
1111
1212 let devAddress = base58'8d4zGuTjT3h67Z4DatzMXdXXW1GvoQhMTjwCGFxJuene'
13+
14+let adminPubKey1 = base58'5E74BDoH1TWjnaLoRTzgV8r2eMJvyyJr4dCAcRHXonaS'
15+
16+let adminPubKey2 = base58'C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV'
1317
1418 @Callable(i)
1519 func IssueA4A () = {
1620 let pmt = value(i.payments[0])
1721 let currentKey = toBase58String(i.caller.bytes)
1822 let PricePerA4A = getIntegerValue(this, "A4A/TN")
1923 let A4AHardCap = getIntegerValue(this, "A4AHardCap")
2024 let NewA4AToUser = fraction(100000, pmt.amount, PricePerA4A)
2125 let PreviousIssuedA4A = getIntegerValue(this, "Total_Issued_A4A:")
2226 let TotalIssuedA4A = (PreviousIssuedA4A + NewA4AToUser)
2327 let PendingMinting = (A4AHardCap - TotalIssuedA4A)
2428 let PreviousA4AReserveValue = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
2529 let A4AReserveValue = (PreviousA4AReserveValue + pmt.amount)
2630 let PreviousA4ABackupPrice = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
2731 let A4ABackupPrice = fraction(100000, A4AReserveValue, TotalIssuedA4A)
2832 if (isDefined(pmt.assetId))
2933 then throw("Incorrect asset attached, please attach TN.")
3034 else if ((5000000 > pmt.amount))
3135 then throw("Please Attach minimum 0.05 TN To Issue A4A Asset.")
3236 else if ((TotalIssuedA4A > A4AHardCap))
3337 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"))
3438 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)]
3539 }
3640
3741
3842
3943 @Callable(i)
4044 func Liquidate () = {
4145 let currentKey = toBase58String(i.callerPublicKey)
4246 let pmt = value(i.payments[0])
4347 let PreviousIssuedA4A = getIntegerValue(this, "Total_Issued_A4A:")
4448 let PreviousBurnedA4A = getIntegerValue(this, "Total_Burned_A4A:")
4549 let TotalIssuedA4A = (PreviousIssuedA4A - pmt.amount)
4650 let TotalBurnedA4A = (PreviousBurnedA4A + pmt.amount)
4751 let PreviousA4AReserveValue = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
4852 let PreviousA4ABackupPrice = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
4953 let calculateburnvalue = fraction(PreviousA4ABackupPrice, pmt.amount, 100000)
5054 let A4AReserveValue = (PreviousA4AReserveValue - calculateburnvalue)
5155 let A4ABackupPrice = fraction(100000, A4AReserveValue, TotalIssuedA4A)
5256 if ((pmt.assetId != A4AAssetID))
5357 then throw("Kindly Deposit Only 8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g (A4A).")
5458 else if ((100000 > pmt.amount))
5559 then throw("Attach Amount must be greater than 0.001 A4A.")
5660 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)]
5761 }
5862
5963
6064
6165 @Callable(i)
6266 func Deposit (days) = {
6367 let pmt = if ((size(i.payments) == 1))
6468 then i.payments[0]
6569 else throw("No payment attached, Please Attach A4A Token as per TIER in payment[1].")
6670 let currentKey = toBase58String(i.caller.bytes)
6771 let maximumlockdays = 90
6872 let lockstatus = "LOCKED"
6973 let ULBT = 99999999999
7074 let ULST = 599999999999
7175 let ULGT = 1199999999999
7276 let ULDT = 1200000000000
7377 let oneday = 1440
7478 let actualblocks = (oneday * days)
7579 let totallockblocks = (height + actualblocks)
7680 let Tier1 = 36000
7781 let Tier1rewards = fraction(fraction((Tier1 * 2), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
7882 let Tier2rewards = fraction(fraction((Tier1 * 4), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
7983 let Tier3rewards = fraction(fraction((Tier1 * 8), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
8084 let StakedA4AAmount = match getInteger(this, "Staked_Amount") {
8185 case a: Int =>
8286 a
8387 case _ =>
8488 0
8589 }
8690 let newStakedA4AAmount = (StakedA4AAmount + pmt.amount)
8791 let currentA4AAmount = match getInteger(this, ("Deposit_Amount_Of_" + currentKey)) {
8892 case a: Int =>
8993 a
9094 case _ =>
9195 0
9296 }
9397 let newA4AAmount = (currentA4AAmount + pmt.amount)
9498 if ((pmt.assetId != A4AAssetID))
9599 then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " only."))
96100 else if ((6 >= days))
97101 then throw("Choose Locking days in between 7 to 90.")
98102 else if ((days > maximumlockdays))
99103 then throw("You Entered days greater than 90 please Enter no. of days in between 7 to 90.")
100104 else if ((7700000000 > pmt.amount))
101105 then throw("Please Attach minimum 77 A4A To Achieve BRONZE TIER.")
102106 else if ((ULBT >= pmt.amount))
103107 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)))]
104108 else if ((ULST >= pmt.amount))
105109 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)]
106110 else if ((ULGT >= pmt.amount))
107111 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)]
108112 else if ((ULDT == pmt.amount))
109113 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)]
110114 else throw("Please Choose a Range Between 77-12000.")
111115 }
112116
113117
114118
115119 @Callable(i)
116120 func Withdraw () = {
117121 let currentKey = toBase58String(i.caller.bytes)
118122 let checkdepositvalue = getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey))
119123 let checkstakedvalue = getIntegerValue(this, "Staked_Amount")
120124 let newstakedvalue = (checkstakedvalue - checkdepositvalue)
121125 let check90Dgap = (getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) - getIntegerValue(this, ("Deposit_height_Of_" + currentKey)))
122126 let fetchRewardData = getIntegerValue(this, "Total_USDT_Claimed:")
123127 let totalrewardclaimed = (fetchRewardData + getIntegerValue(this, ("Rewards_Of_" + currentKey)))
124128 if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) > height))
125129 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))))
126130 else if ((checkdepositvalue == 0))
127131 then throw("You Have Already Withdraw your Amount.")
128132 else if (if ((1200000000000 > checkdepositvalue))
129133 then (check90Dgap == 129600)
130134 else false)
131135 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)]
132136 else if (if ((checkdepositvalue > 1200000000000))
133137 then (check90Dgap == 129600)
134138 else false)
135139 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)]
136140 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)]
137141 }
138142
139143
140144
141145 @Callable(i)
142146 func DepositUSDT () = {
143147 let pmt = if ((size(i.payments) == 1))
144148 then i.payments[0]
145149 else throw("No payment attached, Please Attach USDT Token in payment[1].")
146150 let calleraddress = toBase58String(i.caller.bytes)
147151 let USDTdepositor = getStringValue(this, "Funding_Address")
148152 let fetcholdUSDTbal = getIntegerValue(this, "USDT_Balance")
149153 let oldUSDTbal = match getInteger(this, "USDT_Balance") {
150154 case a: Int =>
151155 a
152156 case _ =>
153157 0
154158 }
155159 let newUSDTbal = (oldUSDTbal + pmt.amount)
156160 if ((USDTdepositor != calleraddress))
157161 then throw((("I know You are not An Admin. Only " + USDTdepositor) + " has rights to add USDT Funds."))
158162 else if ((pmt.assetId != USDTAssetID))
159163 then throw((("Kindly Deposit Only USDT " + toBase58String(USDTAssetID)) + " AssetID."))
160164 else if ((1000000 > pmt.amount))
161165 then throw("Attach minimum 1 USDT atleast For Payment.")
162166 else [IntegerEntry("USDT_Balance", newUSDTbal)]
163167 }
164168
165169
166170 @Verifier(tx)
167-func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
171+func verify () = match tx {
172+ case _ =>
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)
180+}
168181

github/deemru/w8io/026f985 
38.00 ms