tx · GkrQjTbdCfTdVr7UDq7ysTWweLNPJ8G49RAr11upWwyF

3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9:  -0.01400000 Waves

2022.07.27 11:27 [2157985] smart account 3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9 > SELF 0.00000000 Waves

{ "type": 13, "id": "GkrQjTbdCfTdVr7UDq7ysTWweLNPJ8G49RAr11upWwyF", "fee": 1400000, "feeAssetId": null, "timestamp": 1658910482183, "version": 2, "chainId": 84, "sender": "3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9", "senderPublicKey": "8oL7nu18BhijZNKwmxWzaUpmNrA48i32oeCZiqKEKMYh", "proofs": [ "4q1Yp6ou2cwb6j5n3hcpq47yWxdf5fJja1JfnyjUMfCX3bcLe9cTKaDBC8yTEVfEpcTPD8X6DwEQXGX8iYreyTBt" ], "script": "base64:AAIFAAAAAAAAAAoIAhIAEgASABIAAAAABgAAAAALVVNUTkFzc2V0SUQBAAAAIN0RNjT0JhkV/PqqEOeuHYh00ore/OqX8thpQ4wtl1rFAAAAAAtVU0RUQXNzZXRJRAEAAAAgX1dpGMgKJ4Em8VuX7cTsTfnCu1nLEhiLhGCgX6b3/PMAAAAAE0lzc3VlVVNUTkZlZUFkZHJlc3MJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEBAAAAIJlGKrAhJUXwk0JOfIynzOy+/80qLSj42YjgDuQyB58vAAAAAA5taW5pbXVtTGVhc2luZwAAAAAXSHboAAAAAAAEdHhucwQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAlUb3RhbHR4bnMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAAAAAAJdG90YWx0eG5zCQAAZAAAAAIFAAAABHR4bnMAAAAAAAAAAAEAAAAEAAAAAWkBAAAACUxlYXNpbmdUTgAAAAAEAAAAA3BtdAMJA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us": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CSCUyZKaQtFB5nuAcVrpRfJoPghkABJrA1abzryGTBbs Next: 9KPnMskvATogZ7ewCXvU5PYNWBdm9FyT3HEHKgw2PcSq Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let USTNAssetID = base58'3qP844Rajw8zHSZuCkKFSpAoYPqwKUTysbfqRKFa5nLw'
4+let USTNAssetID = base58'FsxKknTc7bt27AFipyH42NGYojpgXA3KwAfXSNZJkBfz'
55
6-let USDTAssetID = base58'HSHJecCLGF7DEPA23dJe6WwroaLeDnik5eptjxEJYvwY'
6+let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4'
77
8-let IssueUSTNFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
8+let IssueUSTNFeeAddress = addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp')
9+
10+let minimumLeasing = 100000000000
911
1012 let txns = match getInteger(this, "Totaltxns") {
1113 case a: Int =>
1517 }
1618
1719 let totaltxns = (txns + 1)
20+
21+@Callable(i)
22+func LeasingTN () = {
23+ let pmt = if ((size(i.payments) == 1))
24+ then i.payments[0]
25+ else throw("No Payments Attached Please Attach TN Asset Only.")
26+ let currentKey = toBase58String(i.caller.bytes)
27+ let txnId = toBase58String(i.transactionId)
28+ let NewLeasingAmount = pmt.amount
29+ let leasetxns = match getInteger(this, "Total_Leasers") {
30+ case b: Int =>
31+ b
32+ case _ =>
33+ 0
34+ }
35+ let totalleasetxns = (leasetxns + 1)
36+ let PreviousLeasedTN = match getInteger(this, "Total_Leased_TN:") {
37+ case a: Int =>
38+ a
39+ case _ =>
40+ 0
41+ }
42+ let TotalLeasedTN = (PreviousLeasedTN + NewLeasingAmount)
43+ let UserNoOfDeposits = match getInteger(this, ("No_Of_Deposits_" + currentKey)) {
44+ case a: Int =>
45+ a
46+ case _ =>
47+ 0
48+ }
49+ let SumpupofUserNoOfDeposits = (UserNoOfDeposits + 1)
50+ if (isDefined(pmt.assetId))
51+ then throw("Incorrect asset attached, please attach TN.")
52+ else if ((minimumLeasing > pmt.amount))
53+ then throw("Please Attach minimum 1000 TN To Start Leasing.")
54+ else if ((UserNoOfDeposits == 1))
55+ then throw("You Already Have an Active Leasing, Please Wait until Mature.")
56+ 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), StringEntry(("Lease_Txn_id_" + currentKey), txnId), StringEntry("message", "<h1>TN Leased to Tradecoin Node Successfully!</h1><br>"), Lease(addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp'), NewLeasingAmount)]
57+ }
58+
59+
60+
61+@Callable(i)
62+func UnLeasingTN () = {
63+ let pmt = if ((size(i.payments) == 1))
64+ then i.payments[0]
65+ else throw("No Payments Attached Please Attach TN Asset Only.")
66+ let currentKey = toBase58String(i.caller.bytes)
67+ let ClaimFee = 100000000
68+ let checkdepositvalue = getIntegerValue(this, ("No_Of_Deposits_" + currentKey))
69+ let CheckLeasingHeight = getIntegerValue(this, ("Leasing_height_Of_" + currentKey))
70+ let Checktotalleasetxns = getIntegerValue(this, "Total_Leasers")
71+ let CheckTotalLeasedTN = getIntegerValue(this, "Total_Leased_TN:")
72+ let CheckLeasingAmount = getIntegerValue(this, ("Lease_Amount_" + currentKey))
73+ let UpdatedLeasedTN = (CheckTotalLeasedTN - CheckLeasingAmount)
74+ let ChecktxnId = getStringValue(this, ("Lease_Txn_id_" + currentKey))
75+ if ((pmt.amount != ClaimFee))
76+ then throw((("Please Attach Exact " + toString(fraction(ClaimFee, 1, 100000000))) + " TN As a Claim Fee."))
77+ else if ((checkdepositvalue == 0))
78+ then throw("You Have Already Unleased your TN Amount last time.")
79+ else [IntegerEntry(("No_Of_Deposits_" + currentKey), 0), DeleteEntry(("Leasing_height_Of_" + currentKey)), IntegerEntry("Total_Leasers", (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(toBytes(ChecktxnId))]
80+ }
81+
82+
1883
1984 @Callable(i)
2085 func IssueUSTN () = {
39104 let USTNReserveValue = (PreviousUSTNReserveValue + pmt.amount)
40105 if ((pmt.assetId != USDTAssetID))
41106 then throw("Incorrect asset attached, please attach USDT.")
42- else if ((1000000 > pmt.amount))
107+ else if ((10000 > pmt.amount))
43108 then throw("Please Attach minimum 0.01 USDT To Issue USTN Asset.")
44109 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)]
45110 }
70135 case _ =>
71136 0
72137 }
73- let FeesCharged = 25000000
138+ let FeesCharged = fraction(calculateburnvalue, 1, 100)
74139 let totalfee = (fee + FeesCharged)
75140 if ((pmt.assetId != USTNAssetID))
76141 then throw((("Kindly Deposit Only " + toBase58String(USTNAssetID)) + " (USTN)."))
77- else if ((100000000 > pmt.amount))
78- then throw("Attach Amount must be greater than or equal to 1 USTN.")
142+ else if ((10000 > pmt.amount))
143+ then throw("Attach Amount must be greater than or equal to 0.01 USTN.")
79144 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)]
80145 }
81146
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let USTNAssetID = base58'3qP844Rajw8zHSZuCkKFSpAoYPqwKUTysbfqRKFa5nLw'
4+let USTNAssetID = base58'FsxKknTc7bt27AFipyH42NGYojpgXA3KwAfXSNZJkBfz'
55
6-let USDTAssetID = base58'HSHJecCLGF7DEPA23dJe6WwroaLeDnik5eptjxEJYvwY'
6+let USDTAssetID = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4'
77
8-let IssueUSTNFeeAddress = addressFromPublicKey(base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR')
8+let IssueUSTNFeeAddress = addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp')
9+
10+let minimumLeasing = 100000000000
911
1012 let txns = match getInteger(this, "Totaltxns") {
1113 case a: Int =>
1214 a
1315 case _ =>
1416 0
1517 }
1618
1719 let totaltxns = (txns + 1)
20+
21+@Callable(i)
22+func LeasingTN () = {
23+ let pmt = if ((size(i.payments) == 1))
24+ then i.payments[0]
25+ else throw("No Payments Attached Please Attach TN Asset Only.")
26+ let currentKey = toBase58String(i.caller.bytes)
27+ let txnId = toBase58String(i.transactionId)
28+ let NewLeasingAmount = pmt.amount
29+ let leasetxns = match getInteger(this, "Total_Leasers") {
30+ case b: Int =>
31+ b
32+ case _ =>
33+ 0
34+ }
35+ let totalleasetxns = (leasetxns + 1)
36+ let PreviousLeasedTN = match getInteger(this, "Total_Leased_TN:") {
37+ case a: Int =>
38+ a
39+ case _ =>
40+ 0
41+ }
42+ let TotalLeasedTN = (PreviousLeasedTN + NewLeasingAmount)
43+ let UserNoOfDeposits = match getInteger(this, ("No_Of_Deposits_" + currentKey)) {
44+ case a: Int =>
45+ a
46+ case _ =>
47+ 0
48+ }
49+ let SumpupofUserNoOfDeposits = (UserNoOfDeposits + 1)
50+ if (isDefined(pmt.assetId))
51+ then throw("Incorrect asset attached, please attach TN.")
52+ else if ((minimumLeasing > pmt.amount))
53+ then throw("Please Attach minimum 1000 TN To Start Leasing.")
54+ else if ((UserNoOfDeposits == 1))
55+ then throw("You Already Have an Active Leasing, Please Wait until Mature.")
56+ 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), StringEntry(("Lease_Txn_id_" + currentKey), txnId), StringEntry("message", "<h1>TN Leased to Tradecoin Node Successfully!</h1><br>"), Lease(addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp'), NewLeasingAmount)]
57+ }
58+
59+
60+
61+@Callable(i)
62+func UnLeasingTN () = {
63+ let pmt = if ((size(i.payments) == 1))
64+ then i.payments[0]
65+ else throw("No Payments Attached Please Attach TN Asset Only.")
66+ let currentKey = toBase58String(i.caller.bytes)
67+ let ClaimFee = 100000000
68+ let checkdepositvalue = getIntegerValue(this, ("No_Of_Deposits_" + currentKey))
69+ let CheckLeasingHeight = getIntegerValue(this, ("Leasing_height_Of_" + currentKey))
70+ let Checktotalleasetxns = getIntegerValue(this, "Total_Leasers")
71+ let CheckTotalLeasedTN = getIntegerValue(this, "Total_Leased_TN:")
72+ let CheckLeasingAmount = getIntegerValue(this, ("Lease_Amount_" + currentKey))
73+ let UpdatedLeasedTN = (CheckTotalLeasedTN - CheckLeasingAmount)
74+ let ChecktxnId = getStringValue(this, ("Lease_Txn_id_" + currentKey))
75+ if ((pmt.amount != ClaimFee))
76+ then throw((("Please Attach Exact " + toString(fraction(ClaimFee, 1, 100000000))) + " TN As a Claim Fee."))
77+ else if ((checkdepositvalue == 0))
78+ then throw("You Have Already Unleased your TN Amount last time.")
79+ else [IntegerEntry(("No_Of_Deposits_" + currentKey), 0), DeleteEntry(("Leasing_height_Of_" + currentKey)), IntegerEntry("Total_Leasers", (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(toBytes(ChecktxnId))]
80+ }
81+
82+
1883
1984 @Callable(i)
2085 func IssueUSTN () = {
2186 let pmt = if ((size(i.payments) == 1))
2287 then i.payments[0]
2388 else throw((("No Payments Attached Please Attach " + toBase58String(USDTAssetID)) + " Asset Only."))
2489 let currentKey = toBase58String(i.caller.bytes)
2590 let NewUSTNToUser = pmt.amount
2691 let PreviousIssuedUSTN = match getInteger(this, "Total_Issued_USTN:") {
2792 case a: Int =>
2893 a
2994 case _ =>
3095 0
3196 }
3297 let TotalIssuedUSTN = (PreviousIssuedUSTN + NewUSTNToUser)
3398 let PreviousUSTNReserveValue = match getInteger(this, "Total_USTN_Reserve_In_USDT:") {
3499 case a: Int =>
35100 a
36101 case _ =>
37102 0
38103 }
39104 let USTNReserveValue = (PreviousUSTNReserveValue + pmt.amount)
40105 if ((pmt.assetId != USDTAssetID))
41106 then throw("Incorrect asset attached, please attach USDT.")
42- else if ((1000000 > pmt.amount))
107+ else if ((10000 > pmt.amount))
43108 then throw("Please Attach minimum 0.01 USDT To Issue USTN Asset.")
44109 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)]
45110 }
46111
47112
48113
49114 @Callable(i)
50115 func Liquidate () = {
51116 let currentKey = toBase58String(i.callerPublicKey)
52117 let pmt = if ((size(i.payments) == 1))
53118 then i.payments[0]
54119 else throw((("No Payments Attached Please Attach " + toBase58String(USTNAssetID)) + " Asset Only."))
55120 let PreviousIssuedUSTN = getIntegerValue(this, "Total_Issued_USTN:")
56121 let PreviousBurnedUSTN = match getInteger(this, "Total_Burned_USTN:") {
57122 case a: Int =>
58123 a
59124 case _ =>
60125 0
61126 }
62127 let TotalBurnedUSTN = (PreviousBurnedUSTN + pmt.amount)
63128 let TotalIssuedUSTN = (PreviousIssuedUSTN - pmt.amount)
64129 let PreviousUSTNReserveValue = getIntegerValue(this, "Total_USTN_Reserve_In_USDT:")
65130 let calculateburnvalue = pmt.amount
66131 let USTNReserveValue = (PreviousUSTNReserveValue - calculateburnvalue)
67132 let fee = match getInteger(this, "Total_Fee_Collected") {
68133 case a: Int =>
69134 a
70135 case _ =>
71136 0
72137 }
73- let FeesCharged = 25000000
138+ let FeesCharged = fraction(calculateburnvalue, 1, 100)
74139 let totalfee = (fee + FeesCharged)
75140 if ((pmt.assetId != USTNAssetID))
76141 then throw((("Kindly Deposit Only " + toBase58String(USTNAssetID)) + " (USTN)."))
77- else if ((100000000 > pmt.amount))
78- then throw("Attach Amount must be greater than or equal to 1 USTN.")
142+ else if ((10000 > pmt.amount))
143+ then throw("Attach Amount must be greater than or equal to 0.01 USTN.")
79144 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)]
80145 }
81146
82147
83148 @Verifier(tx)
84149 func verify () = match tx {
85150 case _ =>
86151 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
87152 }
88153

github/deemru/w8io/026f985 
42.48 ms