tx · BVhMvky6JhBeiZU6a5UCJFumSMP1D9yczMm8NWS7Gsme

3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9:  -0.01400000 Waves

2022.07.27 14:50 [2158187] smart account 3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9 > SELF 0.00000000 Waves

{ "type": 13, "id": "BVhMvky6JhBeiZU6a5UCJFumSMP1D9yczMm8NWS7Gsme", "fee": 1400000, "feeAssetId": null, "timestamp": 1658922659468, "version": 2, "chainId": 84, "sender": "3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9", "senderPublicKey": "8oL7nu18BhijZNKwmxWzaUpmNrA48i32oeCZiqKEKMYh", "proofs": [ "4BBab8euF3mRzivNyJxHJhj5FY2jWZhcVXhek5ZyG44y7BSwhKjgpRLRWpJYTz7Tzxo7PX9fZF7dnpEqu5XwveZf" ], "script": "base64:AAIFAAAAAAAAAAwIAhIAEgASABIAEgAAAAAGAAAAAAtVU1ROQXNzZXRJRAEAAAAg3RE2NPQmGRX8+qoQ564diHTSit786pfy2GlDjC2XWsUAAAAAC1VTRFRBc3NldElEAQAAACBfV2kYyAongSbxW5ftxOxN+cK7WcsSGIuEYKBfpvf88wAAAAATSXNzdWVVU1RORmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAgmUYqsCElRfCTQk58jKfM7L7/zSotKPjZiOAO5DIHny8AAAAADm1pbmltdW1MZWFzaW5nAAAAAAAAmJaAAAAAAAR0eG5zBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAACVRvdGFsdHhucwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAAAAAAl0b3RhbHR4bnMJAABkAAAAAgUAAAAEdHhucwAAAAAAAAAAAQAAAAUAAAABaQEAAAAJTGVhc2luZ1ROAAAAAAQAAAADcG10AwkAAAAAAAACC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JhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABlAAAAAgUAAAASY2FsY3VsYXRlYnVybnZhbHVlBQAAAAtGZWVzQ2hhcmdlZAUAAAALVVNEVEFzc2V0SUQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAATSXNzdWVVU1RORmVlQWRkcmVzcwUAAAALRmVlc0NoYXJnZWQFAAAAC1VTRFRBc3NldElEBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnFIXeS", "height": 2158187, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Cjwp5zv9Nqow6y6fJ49GhgQigKtLCE5h6tBvZAxcignL Next: 3q1hu1aWg6Moi5MfxnRdCMNEjMQA5NwG6obmoGGt2dkM Diff:
OldNewDifferences
7373 let CheckTotalLeasedTN = getIntegerValue(this, "Total_Leased_TN:")
7474 let CheckLeasingAmount = getIntegerValue(this, ("Lease_Amount_" + currentKey))
7575 let UpdatedLeasedTN = (CheckTotalLeasedTN - CheckLeasingAmount)
76- let ChecktxnId = getStringValue(this, ("Lease_Txn_id_" + currentKey))
76+ 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.")
81- 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(toBytes(ChecktxnId))]
81+ 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)]
8282 }
8383
8484
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
2929 let Leasing = Lease(addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp'), NewLeasingAmount)
3030 let LeaseId = calculateLeaseId(Leasing)
3131 let leasetxns = match getInteger(this, "Total_Leasers") {
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)
6969 let ClaimFee = 100000000
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)
76- let ChecktxnId = getStringValue(this, ("Lease_Txn_id_" + currentKey))
76+ 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.")
81- 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(toBytes(ChecktxnId))]
81+ 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)]
8282 }
8383
8484
8585
8686 @Callable(i)
8787 func Replace () = {
8888 let currentKey = toBase58String(i.caller.bytes)
8989 [DeleteEntry("Lease_Txn_id_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), BinaryEntry(("Lease_Txn_id_" + currentKey), toBytes("CFkHsMhEoKto5rcsbzjNbeJ83Xpu5VWb9RbGNXKqn7Bw"))]
9090 }
9191
9292
9393
9494 @Callable(i)
9595 func IssueUSTN () = {
9696 let pmt = if ((size(i.payments) == 1))
9797 then i.payments[0]
9898 else throw((("No Payments Attached Please Attach " + toBase58String(USDTAssetID)) + " Asset Only."))
9999 let currentKey = toBase58String(i.caller.bytes)
100100 let NewUSTNToUser = pmt.amount
101101 let PreviousIssuedUSTN = match getInteger(this, "Total_Issued_USTN:") {
102102 case a: Int =>
103103 a
104104 case _ =>
105105 0
106106 }
107107 let TotalIssuedUSTN = (PreviousIssuedUSTN + NewUSTNToUser)
108108 let PreviousUSTNReserveValue = match getInteger(this, "Total_USTN_Reserve_In_USDT:") {
109109 case a: Int =>
110110 a
111111 case _ =>
112112 0
113113 }
114114 let USTNReserveValue = (PreviousUSTNReserveValue + pmt.amount)
115115 if ((pmt.assetId != USDTAssetID))
116116 then throw("Incorrect asset attached, please attach USDT.")
117117 else if ((10000 > pmt.amount))
118118 then throw("Please Attach minimum 0.01 USDT To Issue USTN Asset.")
119119 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)]
120120 }
121121
122122
123123
124124 @Callable(i)
125125 func Liquidate () = {
126126 let currentKey = toBase58String(i.callerPublicKey)
127127 let pmt = if ((size(i.payments) == 1))
128128 then i.payments[0]
129129 else throw((("No Payments Attached Please Attach " + toBase58String(USTNAssetID)) + " Asset Only."))
130130 let PreviousIssuedUSTN = getIntegerValue(this, "Total_Issued_USTN:")
131131 let PreviousBurnedUSTN = match getInteger(this, "Total_Burned_USTN:") {
132132 case a: Int =>
133133 a
134134 case _ =>
135135 0
136136 }
137137 let TotalBurnedUSTN = (PreviousBurnedUSTN + pmt.amount)
138138 let TotalIssuedUSTN = (PreviousIssuedUSTN - pmt.amount)
139139 let PreviousUSTNReserveValue = getIntegerValue(this, "Total_USTN_Reserve_In_USDT:")
140140 let calculateburnvalue = pmt.amount
141141 let USTNReserveValue = (PreviousUSTNReserveValue - calculateburnvalue)
142142 let fee = match getInteger(this, "Total_Fee_Collected") {
143143 case a: Int =>
144144 a
145145 case _ =>
146146 0
147147 }
148148 let FeesCharged = fraction(calculateburnvalue, 1, 100)
149149 let totalfee = (fee + FeesCharged)
150150 if ((pmt.assetId != USTNAssetID))
151151 then throw((("Kindly Deposit Only " + toBase58String(USTNAssetID)) + " (USTN)."))
152152 else if ((10000 > pmt.amount))
153153 then throw("Attach Amount must be greater than or equal to 0.01 USTN.")
154154 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)]
155155 }
156156
157157
158158 @Verifier(tx)
159159 func verify () = match tx {
160160 case _ =>
161161 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
162162 }
163163

github/deemru/w8io/169f3d6 
38.71 ms