tx · Gh6pHhRujSEYQqhvyEKX61dyHEcdDxTDZLUWpgWSRmQh

3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj:  -0.01400000 Waves

2021.09.22 08:57 [1713858] smart account 3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj > SELF 0.00000000 Waves

{ "type": 13, "id": "Gh6pHhRujSEYQqhvyEKX61dyHEcdDxTDZLUWpgWSRmQh", "fee": 1400000, "feeAssetId": null, "timestamp": 1632290277943, "version": 2, "chainId": 84, "sender": "3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj", "senderPublicKey": "C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV", "proofs": [ "4pJsrABT2eRZFtW24T2JZLQWc72jqcB4i9wHXECQJFNkdvY75JFh8JZcj9GsC9Unf1SMimefLWMiCxmeNffqdE2U" ], "script": "base64:AAIEAAAAAAAAAA8IAhIAEgASAwoBARIAEgAAAAACAAAAAApBNEFBc3NldElEAQAAACByarr7pbGvbKjC25EQtAxsVoAzV+UMwNJVwz0ikDXgtQAAAAALVVNEVEFzc2V0SUQBAAAAIF9XaRjICieBJvFbl+3E7E35wrtZyxIYi4RgoF+m9/zzAAAABQAAAAFpAQAAAAhJc3N1ZUE0QQAAAAAEAAAAA3BtdAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAtQcmljZVBlckE0QQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAGQTRBL1ROBAAAAAxOZXdBNEFUb1VzZXIJAABrAAAAAwAAAAAAAAGGoAgFAAAAA3BtdAAAAAZhbW91bnQFAAAAC1ByaWNlUGVyQTRBBAAAABFQcmV2aW91c0lzc3VlZEE0QQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAA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AAAEFAAAAC1VTRFRBc3NldElEAgAAAAkgQXNzZXRJRC4DCQAAZgAAAAIAAAAAAAAPQkAIBQAAAANwbXQAAAAGYW1vdW50CQAAAgAAAAECAAAAJkF0dGFjaCBtaW5pbXVtIDEkIGF0bGVhc3QgRm9yIFBheW1lbnQuCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAtPTERVU0RUX0JhbAUAAAAKb2xkVVNEVGJhbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAALTkVXVVNEVF9CYWwFAAAACm5ld1VTRFRiYWwFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5Eq7qmw==", "height": 1713858, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GJY2fx9hYDobEXZqAAvohvdY6Yjus642TdqQzA9HpDf6 Next: 49HSd1Ekq1Kqt6AhjYCq4NNj5J5JLPgwGeyzewir97Et Diff:
OldNewDifferences
122122 let newUSDTbal = (oldUSDTbal + pmt.amount)
123123 if ((USDTdepositor != calleraddress))
124124 then throw((("I know You are not An Admin. Only " + USDTdepositor) + " has rights to add USDT Funds."))
125- else if ((1000000 > pmt.amount))
126- then throw("Attach minimum 1$ atleast For Payment.")
127- else [IntegerEntry("OLDUSDT_Bal", oldUSDTbal), IntegerEntry("NEWUSDT_Bal", newUSDTbal)]
125+ else if ((pmt.assetId != USDTAssetID))
126+ then throw((("Kindly Deposit Only USDT " + toBase58String(USDTAssetID)) + " AssetID."))
127+ else if ((1000000 > pmt.amount))
128+ then throw("Attach minimum 1$ atleast For Payment.")
129+ else [IntegerEntry("OLDUSDT_Bal", oldUSDTbal), IntegerEntry("NEWUSDT_Bal", newUSDTbal)]
128130 }
129131
130132
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let A4AAssetID = base58'8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g'
55
66 let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4'
77
88 @Callable(i)
99 func IssueA4A () = {
1010 let pmt = value(i.payments[0])
1111 let currentKey = toBase58String(i.caller.bytes)
1212 let PricePerA4A = getIntegerValue(this, "A4A/TN")
1313 let NewA4AToUser = fraction(100000, pmt.amount, PricePerA4A)
1414 let PreviousIssuedA4A = getIntegerValue(this, "Total_Issued_A4A:")
1515 let TotalIssuedA4A = (PreviousIssuedA4A + NewA4AToUser)
1616 let PreviousA4AReserveValue = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
1717 let A4AReserveValue = (PreviousA4AReserveValue + pmt.amount)
1818 let PreviousA4ABackupPrice = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
1919 let A4ABackupPrice = fraction(100000, A4AReserveValue, TotalIssuedA4A)
2020 let FeeAddress = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
2121 if (isDefined(pmt.assetId))
2222 then throw("Incorrect asset attached, please attach TN.")
2323 else if ((5000000 > pmt.amount))
2424 then throw("Please Attach minimum 0.05 TN To Issue A4A Asset.")
2525 else [IntegerEntry("Total_Issued_A4A:", TotalIssuedA4A), 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 * 99) / 100), A4AAssetID), ScriptTransfer(addressFromPublicKey(FeeAddress), ((NewA4AToUser * 1) / 100), A4AAssetID)]
2626 }
2727
2828
2929
3030 @Callable(i)
3131 func Liquidate () = {
3232 let currentKey = toBase58String(i.callerPublicKey)
3333 let pmt = value(i.payments[0])
3434 let PreviousIssuedA4A = getIntegerValue(this, "Total_Issued_A4A:")
3535 let PreviousBurnedA4A = getIntegerValue(this, "Total_Burned_A4A:")
3636 let TotalIssuedA4A = (PreviousIssuedA4A - pmt.amount)
3737 let TotalBurnedA4A = (PreviousBurnedA4A + pmt.amount)
3838 let PreviousA4AReserveValue = getIntegerValue(this, "Total_A4A_Reserve_In_TN:")
3939 let PreviousA4ABackupPrice = getIntegerValue(this, "A4A_Backup_Value_In_TN:")
4040 let calculateburnvalue = fraction(PreviousA4ABackupPrice, pmt.amount, 100000)
4141 let A4AReserveValue = (PreviousA4AReserveValue - calculateburnvalue)
4242 let A4ABackupPrice = fraction(100000, A4AReserveValue, TotalIssuedA4A)
4343 if ((pmt.assetId != A4AAssetID))
4444 then throw("Kindly Deposit Only 8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g (A4A).")
4545 else if ((100000 > pmt.amount))
4646 then throw("Attach Amount must be greater than 0.001 A4A.")
4747 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, unit)]
4848 }
4949
5050
5151
5252 @Callable(i)
5353 func Deposit (days) = {
5454 let pmt = if ((size(i.payments) == 1))
5555 then i.payments[0]
5656 else throw("No payment attached, Please Attach A4A Token as per TIER in payment[1].")
5757 let currentKey = toBase58String(i.caller.bytes)
5858 let maximumlockdays = 90
5959 let lockstatus = "LOCKED"
6060 let ULBT = 99999999999
6161 let ULST = 599999999999
6262 let ULGT = 1199999999999
6363 let ULDT = 1200000000000
6464 let oneday = 1440
6565 let actualblocks = (oneday * days)
6666 let totallockblocks = (height + actualblocks)
6767 let Tier1 = 36000
6868 let Tier1rewards = fraction(fraction((Tier1 * 2), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
6969 let Tier2rewards = fraction(fraction((Tier1 * 4), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
7070 let Tier3rewards = fraction(fraction((Tier1 * 8), pmt.amount, pow(10, 0, 8, 0, 0, UP)), actualblocks, pow(10, 0, 6, 0, 0, UP))
7171 let currentA4AAmount = match getInteger(this, ("Deposit_Amount_Of_" + currentKey)) {
7272 case a: Int =>
7373 a
7474 case _ =>
7575 0
7676 }
7777 let newA4AAmount = (currentA4AAmount + pmt.amount)
7878 if ((pmt.assetId != A4AAssetID))
7979 then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " only."))
8080 else if ((6 >= days))
8181 then throw("Choose Locking days in between 7 to 90.")
8282 else if ((days > maximumlockdays))
8383 then throw("You Entered days greater than 90 please Enter no. of days in between 7 to 90.")
8484 else if ((33300000000 > pmt.amount))
8585 then throw("Please Attach minimum 333 A4A To Achieve BRONZE TIER.")
8686 else if ((ULBT >= pmt.amount))
8787 then [StringEntry(("Tier_Of_" + currentKey), "BRONZE"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), 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)))]
8888 else if ((ULST >= pmt.amount))
8989 then [StringEntry(("Tier_Of_" + currentKey), "SILVER"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newA4AAmount), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), StringEntry(("Lock_Status_Of_" + currentKey), lockstatus), IntegerEntry(("Rewards_Of_" + currentKey), Tier1rewards)]
9090 else if ((ULGT >= pmt.amount))
9191 then [StringEntry(("Tier_Of_" + currentKey), "GOLD"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newA4AAmount), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), StringEntry(("Lock_Status_Of_" + currentKey), lockstatus), IntegerEntry(("Rewards_Of_" + currentKey), Tier2rewards)]
9292 else if ((ULDT == pmt.amount))
9393 then [StringEntry(("Tier_Of_" + currentKey), "DIAMOND"), IntegerEntry(("Deposit_height_Of_" + currentKey), height), IntegerEntry(("Deposit_Amount_Of_" + currentKey), newA4AAmount), IntegerEntry(("Total_Lock_Blocks_Of_" + currentKey), totallockblocks), StringEntry(("Lock_Status_Of_" + currentKey), lockstatus), IntegerEntry(("Rewards_Of_" + currentKey), Tier3rewards)]
9494 else throw("Please Choose a Range Between 333-12000.")
9595 }
9696
9797
9898
9999 @Callable(i)
100100 func Withdraw () = {
101101 let currentKey = toBase58String(i.caller.bytes)
102102 let checkdepositvalue = getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey))
103103 let fetchRewardData = getIntegerValue(this, "Total_USDT_Claimed:")
104104 let totalrewardclaimed = (fetchRewardData + getIntegerValue(this, ("Rewards_Of_" + currentKey)))
105105 if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + currentKey)) > height))
106106 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))))
107107 else if ((checkdepositvalue == 0))
108108 then throw("You Have Already Withdraw your Amount.")
109109 else [ScriptTransfer(i.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + currentKey)), A4AAssetID), ScriptTransfer(i.caller, getIntegerValue(this, ("Rewards_Of_" + currentKey)), USDTAssetID), IntegerEntry(("Deposit_height_Of_" + currentKey), 0), 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)]
110110 }
111111
112112
113113
114114 @Callable(i)
115115 func DepositUSDT () = {
116116 let pmt = if ((size(i.payments) == 1))
117117 then i.payments[0]
118118 else throw("No payment attached, Please Attach USDT Token in payment[1].")
119119 let calleraddress = toBase58String(i.caller.bytes)
120120 let USDTdepositor = getStringValue(this, "Funding_Address")
121121 let oldUSDTbal = getIntegerValue(this, "OLDUSDT_Bal")
122122 let newUSDTbal = (oldUSDTbal + pmt.amount)
123123 if ((USDTdepositor != calleraddress))
124124 then throw((("I know You are not An Admin. Only " + USDTdepositor) + " has rights to add USDT Funds."))
125- else if ((1000000 > pmt.amount))
126- then throw("Attach minimum 1$ atleast For Payment.")
127- else [IntegerEntry("OLDUSDT_Bal", oldUSDTbal), IntegerEntry("NEWUSDT_Bal", newUSDTbal)]
125+ else if ((pmt.assetId != USDTAssetID))
126+ then throw((("Kindly Deposit Only USDT " + toBase58String(USDTAssetID)) + " AssetID."))
127+ else if ((1000000 > pmt.amount))
128+ then throw("Attach minimum 1$ atleast For Payment.")
129+ else [IntegerEntry("OLDUSDT_Bal", oldUSDTbal), IntegerEntry("NEWUSDT_Bal", newUSDTbal)]
128130 }
129131
130132
131133 @Verifier(tx)
132134 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
133135

github/deemru/w8io/026f985 
37.45 ms