tx · CVEo29mg6Rkhyr5oqb34rMgt3bDwPvqfrKMqCpiTbMVB

3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9:  -0.01400000 Waves

2022.07.27 16:38 [2158287] smart account 3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9 > SELF 0.00000000 Waves

{ "type": 13, "id": "CVEo29mg6Rkhyr5oqb34rMgt3bDwPvqfrKMqCpiTbMVB", "fee": 1400000, "feeAssetId": null, "timestamp": 1658929140210, "version": 2, "chainId": 84, "sender": "3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9", "senderPublicKey": "8oL7nu18BhijZNKwmxWzaUpmNrA48i32oeCZiqKEKMYh", "proofs": [ "3JCQQ7qdpNoCrPzyAR6ikfJJ48SFpK5vNe7KR9sE3WRGYcAxwk9syGvuYinoUb1uTE6uMbxNufmNiHizviPPBMbK" ], "script": "base64:AAIFAAAAAAAAAAoIAhIAEgASABIAAAAABgAAAAALVVNUTkFzc2V0SUQBAAAAIN0RNjT0JhkV/PqqEOeuHYh00ore/OqX8thpQ4wtl1rFAAAAAAtVU0RUQXNzZXRJRAEAAAAgX1dpGMgKJ4Em8VuX7cTsTfnCu1nLEhiLhGCgX6b3/PMAAAAAE0lzc3VlVVNUTkZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIJlGKrAhJUXwk0JOfIynzOy+/80qLSj42YjgDuQyB58vAAAAAA5taW5pbXVtTGVhc2luZwAAAAAAAJiWgAAAAAAEdHhucwQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAlUb3RhbHR4bnMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAAAAAAJdG90YWx0eG5zCQAAZAAAAAIFAAAABHR4bnMAAAAAAAAAAAEAAAAEAAAAAWkBAAAACUxlYXNpbmdUTgAAAAAEAAAAA3BtdA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Pc2VuZGVyUHVibGljS2V5Tuvf9w==", "height": 2158287, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3cEAcvhwpdJb4tHpHHUg62dvtaj3NBzuMVkuMZR1xLQQ Next: 6nAQTJK46ULnApJGHEUrRwidLqbdvjy6ukjTB2RvbLUd Diff:
OldNewDifferences
2626 let currentKey = toBase58String(i.caller.bytes)
2727 let txnId = toBase58String(i.transactionId)
2828 let NewLeasingAmount = pmt.amount
29- let Leasing = Lease(addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp'), NewLeasingAmount)
29+ let Leasing = Lease(addressFromPublicKey(base58'28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t'), NewLeasingAmount)
3030 let LeaseId = calculateLeaseId(Leasing)
31- let leasetxns = match getInteger(this, "Total_Leasers") {
31+ let leasetxns = match getInteger(this, "ActiveLeasers") {
3232 case b: Int =>
3333 b
3434 case _ =>
6666 then i.payments[0]
6767 else throw("No Payments Attached Please Attach TN Asset Only.")
6868 let currentKey = toBase58String(i.caller.bytes)
69- let ClaimFee = 100000000
69+ let ClaimFee = 100000
7070 let checkdepositvalue = getIntegerValue(this, ("No_Of_Deposits_" + currentKey))
7171 let CheckLeasingHeight = getIntegerValue(this, ("Leasing_height_Of_" + currentKey))
7272 let Checktotalleasetxns = getIntegerValue(this, "ActiveLeasers")
7979 else if ((checkdepositvalue == 0))
8080 then throw("You Have Already Unleased your TN Amount last time.")
8181 else [IntegerEntry(("No_Of_Deposits_" + currentKey), 0), DeleteEntry(("Leasing_height_Of_" + currentKey)), IntegerEntry("ActiveLeasers", (Checktotalleasetxns - 1)), IntegerEntry("Total_Leased_TN:", UpdatedLeasedTN), IntegerEntry(("Lease_Amount_" + currentKey), 0), DeleteEntry(("Lease_Txn_id_" + currentKey)), StringEntry("message", "<h1>TN Unleased from Tradecoin Node Successfully!</h1><br>"), LeaseCancel(ChecktxnId)]
82- }
83-
84-
85-
86-@Callable(i)
87-func Replace () = {
88- let currentKey = toBase58String(i.caller.bytes)
89-[DeleteEntry("Lease_Txn_id_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), BinaryEntry(("Lease_Txn_id_" + currentKey), toBytes("HbYLGNYq7vk15WbgA38GV5ze21wAtAvhkB6a73nsRTq6"))]
9082 }
9183
9284
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let USTNAssetID = base58'FsxKknTc7bt27AFipyH42NGYojpgXA3KwAfXSNZJkBfz'
55
66 let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4'
77
88 let IssueUSTNFeeAddress = addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp')
99
1010 let minimumLeasing = 10000000
1111
1212 let txns = match getInteger(this, "Totaltxns") {
1313 case a: Int =>
1414 a
1515 case _ =>
1616 0
1717 }
1818
1919 let totaltxns = (txns + 1)
2020
2121 @Callable(i)
2222 func LeasingTN () = {
2323 let pmt = if ((size(i.payments) == 1))
2424 then i.payments[0]
2525 else throw("No Payments Attached Please Attach TN Asset Only.")
2626 let currentKey = toBase58String(i.caller.bytes)
2727 let txnId = toBase58String(i.transactionId)
2828 let NewLeasingAmount = pmt.amount
29- let Leasing = Lease(addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp'), NewLeasingAmount)
29+ let Leasing = Lease(addressFromPublicKey(base58'28sGn7FYnmxceAmnGYiDiKuMK1QyXiqX8zQXfKDnrc8t'), NewLeasingAmount)
3030 let LeaseId = calculateLeaseId(Leasing)
31- let leasetxns = match getInteger(this, "Total_Leasers") {
31+ let leasetxns = match getInteger(this, "ActiveLeasers") {
3232 case b: Int =>
3333 b
3434 case _ =>
3535 0
3636 }
3737 let totalleasetxns = (leasetxns + 1)
3838 let PreviousLeasedTN = match getInteger(this, "Total_Leased_TN:") {
3939 case a: Int =>
4040 a
4141 case _ =>
4242 0
4343 }
4444 let TotalLeasedTN = (PreviousLeasedTN + NewLeasingAmount)
4545 let UserNoOfDeposits = match getInteger(this, ("No_Of_Deposits_" + currentKey)) {
4646 case a: Int =>
4747 a
4848 case _ =>
4949 0
5050 }
5151 let SumpupofUserNoOfDeposits = (UserNoOfDeposits + 1)
5252 if (isDefined(pmt.assetId))
5353 then throw("Incorrect asset attached, please attach TN.")
5454 else if ((minimumLeasing > pmt.amount))
5555 then throw("Please Attach minimum 1000 TN To Start Leasing.")
5656 else if ((UserNoOfDeposits == 1))
5757 then throw("You Already Have an Active Leasing, Please Wait until Mature.")
5858 else [IntegerEntry(("No_Of_Deposits_" + currentKey), SumpupofUserNoOfDeposits), IntegerEntry(("Leasing_height_Of_" + currentKey), height), IntegerEntry("ActiveLeasers", totalleasetxns), IntegerEntry("Total_Leased_TN:", TotalLeasedTN), IntegerEntry(("Lease_Amount_" + currentKey), NewLeasingAmount), BinaryEntry(("Lease_Txn_id_" + currentKey), LeaseId), StringEntry("message", "<h1>TN Leased to Tradecoin Node Successfully!</h1><br>"), Leasing]
5959 }
6060
6161
6262
6363 @Callable(i)
6464 func UnLeasingTN () = {
6565 let pmt = if ((size(i.payments) == 1))
6666 then i.payments[0]
6767 else throw("No Payments Attached Please Attach TN Asset Only.")
6868 let currentKey = toBase58String(i.caller.bytes)
69- let ClaimFee = 100000000
69+ let ClaimFee = 100000
7070 let checkdepositvalue = getIntegerValue(this, ("No_Of_Deposits_" + currentKey))
7171 let CheckLeasingHeight = getIntegerValue(this, ("Leasing_height_Of_" + currentKey))
7272 let Checktotalleasetxns = getIntegerValue(this, "ActiveLeasers")
7373 let CheckTotalLeasedTN = getIntegerValue(this, "Total_Leased_TN:")
7474 let CheckLeasingAmount = getIntegerValue(this, ("Lease_Amount_" + currentKey))
7575 let UpdatedLeasedTN = (CheckTotalLeasedTN - CheckLeasingAmount)
7676 let ChecktxnId = getBinaryValue(this, ("Lease_Txn_id_" + currentKey))
7777 if ((pmt.amount != ClaimFee))
7878 then throw((("Please Attach Exact " + toString(fraction(ClaimFee, 1, 100000000))) + " TN As a Claim Fee."))
7979 else if ((checkdepositvalue == 0))
8080 then throw("You Have Already Unleased your TN Amount last time.")
8181 else [IntegerEntry(("No_Of_Deposits_" + currentKey), 0), DeleteEntry(("Leasing_height_Of_" + currentKey)), IntegerEntry("ActiveLeasers", (Checktotalleasetxns - 1)), IntegerEntry("Total_Leased_TN:", UpdatedLeasedTN), IntegerEntry(("Lease_Amount_" + currentKey), 0), DeleteEntry(("Lease_Txn_id_" + currentKey)), StringEntry("message", "<h1>TN Unleased from Tradecoin Node Successfully!</h1><br>"), LeaseCancel(ChecktxnId)]
82- }
83-
84-
85-
86-@Callable(i)
87-func Replace () = {
88- let currentKey = toBase58String(i.caller.bytes)
89-[DeleteEntry("Lease_Txn_id_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), BinaryEntry(("Lease_Txn_id_" + currentKey), toBytes("HbYLGNYq7vk15WbgA38GV5ze21wAtAvhkB6a73nsRTq6"))]
9082 }
9183
9284
9385
9486 @Callable(i)
9587 func IssueUSTN () = {
9688 let pmt = if ((size(i.payments) == 1))
9789 then i.payments[0]
9890 else throw((("No Payments Attached Please Attach " + toBase58String(USDTAssetID)) + " Asset Only."))
9991 let currentKey = toBase58String(i.caller.bytes)
10092 let NewUSTNToUser = pmt.amount
10193 let PreviousIssuedUSTN = match getInteger(this, "Total_Issued_USTN:") {
10294 case a: Int =>
10395 a
10496 case _ =>
10597 0
10698 }
10799 let TotalIssuedUSTN = (PreviousIssuedUSTN + NewUSTNToUser)
108100 let PreviousUSTNReserveValue = match getInteger(this, "Total_USTN_Reserve_In_USDT:") {
109101 case a: Int =>
110102 a
111103 case _ =>
112104 0
113105 }
114106 let USTNReserveValue = (PreviousUSTNReserveValue + pmt.amount)
115107 if ((pmt.assetId != USDTAssetID))
116108 then throw("Incorrect asset attached, please attach USDT.")
117109 else if ((10000 > pmt.amount))
118110 then throw("Please Attach minimum 0.01 USDT To Issue USTN Asset.")
119111 else [IntegerEntry("Total_Issued_USTN:", TotalIssuedUSTN), IntegerEntry("Total_USTN_Reserve_In_USDT:", USTNReserveValue), IntegerEntry("Totaltxns", totaltxns), StringEntry("message", "<h1>USTN Issued Successfully!</h1><br>"), Reissue(USTNAssetID, NewUSTNToUser, true), ScriptTransfer(i.caller, NewUSTNToUser, USTNAssetID)]
120112 }
121113
122114
123115
124116 @Callable(i)
125117 func Liquidate () = {
126118 let currentKey = toBase58String(i.callerPublicKey)
127119 let pmt = if ((size(i.payments) == 1))
128120 then i.payments[0]
129121 else throw((("No Payments Attached Please Attach " + toBase58String(USTNAssetID)) + " Asset Only."))
130122 let PreviousIssuedUSTN = getIntegerValue(this, "Total_Issued_USTN:")
131123 let PreviousBurnedUSTN = match getInteger(this, "Total_Burned_USTN:") {
132124 case a: Int =>
133125 a
134126 case _ =>
135127 0
136128 }
137129 let TotalBurnedUSTN = (PreviousBurnedUSTN + pmt.amount)
138130 let TotalIssuedUSTN = (PreviousIssuedUSTN - pmt.amount)
139131 let PreviousUSTNReserveValue = getIntegerValue(this, "Total_USTN_Reserve_In_USDT:")
140132 let calculateburnvalue = pmt.amount
141133 let USTNReserveValue = (PreviousUSTNReserveValue - calculateburnvalue)
142134 let fee = match getInteger(this, "Total_Fee_Collected") {
143135 case a: Int =>
144136 a
145137 case _ =>
146138 0
147139 }
148140 let FeesCharged = fraction(calculateburnvalue, 1, 100)
149141 let totalfee = (fee + FeesCharged)
150142 if ((pmt.assetId != USTNAssetID))
151143 then throw((("Kindly Deposit Only " + toBase58String(USTNAssetID)) + " (USTN)."))
152144 else if ((10000 > pmt.amount))
153145 then throw("Attach Amount must be greater than or equal to 0.01 USTN.")
154146 else [Burn(USTNAssetID, pmt.amount), IntegerEntry("Totaltxns", totaltxns), IntegerEntry("Total_Issued_USTN:", TotalIssuedUSTN), IntegerEntry("Total_Fee_Collected", totalfee), IntegerEntry("Total_Burned_USTN:", TotalBurnedUSTN), IntegerEntry("Total_USTN_Reserve_In_USDT:", USTNReserveValue), StringEntry("message", "<h1>USTN Liquidated Successfully!</h1><br>"), ScriptTransfer(i.caller, (calculateburnvalue - FeesCharged), USDTAssetID), ScriptTransfer(IssueUSTNFeeAddress, FeesCharged, USDTAssetID)]
155147 }
156148
157149
158150 @Verifier(tx)
159151 func verify () = match tx {
160152 case _ =>
161153 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
162154 }
163155

github/deemru/w8io/169f3d6 
49.17 ms