tx · 3q1hu1aWg6Moi5MfxnRdCMNEjMQA5NwG6obmoGGt2dkM 3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9: -0.01400000 Waves 2022.07.27 14:54 [2158191] smart account 3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9 > SELF 0.00000000 Waves
{ "type": 13, "id": "3q1hu1aWg6Moi5MfxnRdCMNEjMQA5NwG6obmoGGt2dkM", "fee": 1400000, "feeAssetId": null, "timestamp": 1658922921501, "version": 2, "chainId": 84, "sender": "3MwJmgmMVD4KVZrhhAvmy3ufvDX9TN8xKa9", "senderPublicKey": "8oL7nu18BhijZNKwmxWzaUpmNrA48i32oeCZiqKEKMYh", "proofs": [ "2nmwTB3KrXe5gEgPsf5QmsUJ6ai3ZJAetu84At1Cr9bGELnjfpVKP3AhFkDFKqXpdKZHm88w2Rc4y5Rfsk9NoHM3" ], "script": "base64:AAIFAAAAAAAAAAwIAhIAEgASABIAEgAAAAAGAAAAAAtVU1ROQXNzZXRJRAEAAAAg3RE2NPQmGRX8+qoQ564diHTSit786pfy2GlDjC2XWsUAAAAAC1VTRFRBc3NldElEAQAAACBfV2kYyAongSbxW5ftxOxN+cK7WcsSGIuEYKBfpvf88wAAAAATSXNzdWVVU1RORmVlQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQEAAAAgmUYqsCElRfCTQk58jKfM7L7/zSotKPjZiOAO5DIHny8AAAAADm1pbmltdW1MZWFzaW5nAAAAAAAAmJaAAAAAAAR0eG5zBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAACVRvdGFsdHhucwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAAAAAAl0b3RhbHR4bnMJAABkAAAAAgUAAAAEdHhucwAAAAAAAAAAAQAAAAUAAAABaQEAAAAJTGVhc2luZ1ROAAAAAAQAAAADcG10AwkA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NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABlAAAAAgUAAAASY2FsY3VsYXRlYnVybnZhbHVlBQAAAAtGZWVzQ2hhcmdlZAUAAAALVVNEVEFzc2V0SUQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAATSXNzdWVVU1RORmVlQWRkcmVzcwUAAAALRmVlc0NoYXJnZWQFAAAAC1VTRFRBc3NldElEBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmZE0fK", "height": 2158191, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BVhMvky6JhBeiZU6a5UCJFumSMP1D9yczMm8NWS7Gsme Next: 3cEAcvhwpdJb4tHpHHUg62dvtaj3NBzuMVkuMZR1xLQQ Diff:
Old | New | Differences | |
---|---|---|---|
98 | 98 | @Callable(i) | |
99 | 99 | func Replace () = { | |
100 | 100 | let k = toBase58String(i.caller.bytes) | |
101 | - | [DeleteEntry("Lease_Txn_id_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), BinaryEntry(("Lease_Txn_id_" + k), toBytes(" | |
101 | + | [DeleteEntry("Lease_Txn_id_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), BinaryEntry(("Lease_Txn_id_" + k), toBytes("HbYLGNYq7vk15WbgA38GV5ze21wAtAvhkB6a73nsRTq6"))] | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'FsxKknTc7bt27AFipyH42NGYojpgXA3KwAfXSNZJkBfz' | |
5 | 5 | ||
6 | 6 | let b = base58'7RB3BWayeCVPq3kkpkeJZAFv2DYCB5gEwnutEpRofaw4' | |
7 | 7 | ||
8 | 8 | let c = addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp') | |
9 | 9 | ||
10 | 10 | let d = 10000000 | |
11 | 11 | ||
12 | 12 | let e = { | |
13 | 13 | let f = getInteger(this, "Totaltxns") | |
14 | 14 | if ($isInstanceOf(f, "Int")) | |
15 | 15 | then { | |
16 | 16 | let g = f | |
17 | 17 | g | |
18 | 18 | } | |
19 | 19 | else 0 | |
20 | 20 | } | |
21 | 21 | ||
22 | 22 | let h = (e + 1) | |
23 | 23 | ||
24 | 24 | @Callable(i) | |
25 | 25 | func LeasingTN () = { | |
26 | 26 | let j = if ((size(i.payments) == 1)) | |
27 | 27 | then i.payments[0] | |
28 | 28 | else throw("No Payments Attached Please Attach TN Asset Only.") | |
29 | 29 | let k = toBase58String(i.caller.bytes) | |
30 | 30 | let l = toBase58String(i.transactionId) | |
31 | 31 | let m = j.amount | |
32 | 32 | let n = Lease(addressFromPublicKey(base58'BKKS9b1LbvgamxQn5mTU2qkmZnD2obhf5xeb5NNk8Fqp'), m) | |
33 | 33 | let o = calculateLeaseId(n) | |
34 | 34 | let p = { | |
35 | 35 | let f = getInteger(this, "Total_Leasers") | |
36 | 36 | if ($isInstanceOf(f, "Int")) | |
37 | 37 | then { | |
38 | 38 | let q = f | |
39 | 39 | q | |
40 | 40 | } | |
41 | 41 | else 0 | |
42 | 42 | } | |
43 | 43 | let r = (p + 1) | |
44 | 44 | let s = { | |
45 | 45 | let f = getInteger(this, "Total_Leased_TN:") | |
46 | 46 | if ($isInstanceOf(f, "Int")) | |
47 | 47 | then { | |
48 | 48 | let g = f | |
49 | 49 | g | |
50 | 50 | } | |
51 | 51 | else 0 | |
52 | 52 | } | |
53 | 53 | let t = (s + m) | |
54 | 54 | let u = { | |
55 | 55 | let f = getInteger(this, ("No_Of_Deposits_" + k)) | |
56 | 56 | if ($isInstanceOf(f, "Int")) | |
57 | 57 | then { | |
58 | 58 | let g = f | |
59 | 59 | g | |
60 | 60 | } | |
61 | 61 | else 0 | |
62 | 62 | } | |
63 | 63 | let v = (u + 1) | |
64 | 64 | if (isDefined(j.assetId)) | |
65 | 65 | then throw("Incorrect asset attached, please attach TN.") | |
66 | 66 | else if ((d > j.amount)) | |
67 | 67 | then throw("Please Attach minimum 1000 TN To Start Leasing.") | |
68 | 68 | else if ((u == 1)) | |
69 | 69 | then throw("You Already Have an Active Leasing, Please Wait until Mature.") | |
70 | 70 | else [IntegerEntry(("No_Of_Deposits_" + k), v), IntegerEntry(("Leasing_height_Of_" + k), height), IntegerEntry("ActiveLeasers", r), IntegerEntry("Total_Leased_TN:", t), IntegerEntry(("Lease_Amount_" + k), m), BinaryEntry(("Lease_Txn_id_" + k), o), StringEntry("message", "<h1>TN Leased to Tradecoin Node Successfully!</h1><br>"), n] | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | ||
75 | 75 | @Callable(i) | |
76 | 76 | func UnLeasingTN () = { | |
77 | 77 | let j = if ((size(i.payments) == 1)) | |
78 | 78 | then i.payments[0] | |
79 | 79 | else throw("No Payments Attached Please Attach TN Asset Only.") | |
80 | 80 | let k = toBase58String(i.caller.bytes) | |
81 | 81 | let w = 100000000 | |
82 | 82 | let x = getIntegerValue(this, ("No_Of_Deposits_" + k)) | |
83 | 83 | let y = getIntegerValue(this, ("Leasing_height_Of_" + k)) | |
84 | 84 | let z = getIntegerValue(this, "ActiveLeasers") | |
85 | 85 | let A = getIntegerValue(this, "Total_Leased_TN:") | |
86 | 86 | let B = getIntegerValue(this, ("Lease_Amount_" + k)) | |
87 | 87 | let C = (A - B) | |
88 | 88 | let D = getBinaryValue(this, ("Lease_Txn_id_" + k)) | |
89 | 89 | if ((j.amount != w)) | |
90 | 90 | then throw((("Please Attach Exact " + toString(fraction(w, 1, 100000000))) + " TN As a Claim Fee.")) | |
91 | 91 | else if ((x == 0)) | |
92 | 92 | then throw("You Have Already Unleased your TN Amount last time.") | |
93 | 93 | else [IntegerEntry(("No_Of_Deposits_" + k), 0), DeleteEntry(("Leasing_height_Of_" + k)), IntegerEntry("ActiveLeasers", (z - 1)), IntegerEntry("Total_Leased_TN:", C), IntegerEntry(("Lease_Amount_" + k), 0), DeleteEntry(("Lease_Txn_id_" + k)), StringEntry("message", "<h1>TN Unleased from Tradecoin Node Successfully!</h1><br>"), LeaseCancel(D)] | |
94 | 94 | } | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | ||
98 | 98 | @Callable(i) | |
99 | 99 | func Replace () = { | |
100 | 100 | let k = toBase58String(i.caller.bytes) | |
101 | - | [DeleteEntry("Lease_Txn_id_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), BinaryEntry(("Lease_Txn_id_" + k), toBytes(" | |
101 | + | [DeleteEntry("Lease_Txn_id_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), BinaryEntry(("Lease_Txn_id_" + k), toBytes("HbYLGNYq7vk15WbgA38GV5ze21wAtAvhkB6a73nsRTq6"))] | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | ||
106 | 106 | @Callable(i) | |
107 | 107 | func IssueUSTN () = { | |
108 | 108 | let j = if ((size(i.payments) == 1)) | |
109 | 109 | then i.payments[0] | |
110 | 110 | else throw((("No Payments Attached Please Attach " + toBase58String(b)) + " Asset Only.")) | |
111 | 111 | let k = toBase58String(i.caller.bytes) | |
112 | 112 | let E = j.amount | |
113 | 113 | let F = { | |
114 | 114 | let f = getInteger(this, "Total_Issued_USTN:") | |
115 | 115 | if ($isInstanceOf(f, "Int")) | |
116 | 116 | then { | |
117 | 117 | let g = f | |
118 | 118 | g | |
119 | 119 | } | |
120 | 120 | else 0 | |
121 | 121 | } | |
122 | 122 | let G = (F + E) | |
123 | 123 | let H = { | |
124 | 124 | let f = getInteger(this, "Total_USTN_Reserve_In_USDT:") | |
125 | 125 | if ($isInstanceOf(f, "Int")) | |
126 | 126 | then { | |
127 | 127 | let g = f | |
128 | 128 | g | |
129 | 129 | } | |
130 | 130 | else 0 | |
131 | 131 | } | |
132 | 132 | let I = (H + j.amount) | |
133 | 133 | if ((j.assetId != b)) | |
134 | 134 | then throw("Incorrect asset attached, please attach USDT.") | |
135 | 135 | else if ((10000 > j.amount)) | |
136 | 136 | then throw("Please Attach minimum 0.01 USDT To Issue USTN Asset.") | |
137 | 137 | else [IntegerEntry("Total_Issued_USTN:", G), IntegerEntry("Total_USTN_Reserve_In_USDT:", I), IntegerEntry("Totaltxns", h), StringEntry("message", "<h1>USTN Issued Successfully!</h1><br>"), Reissue(a, E, true), ScriptTransfer(i.caller, E, a)] | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | ||
142 | 142 | @Callable(i) | |
143 | 143 | func Liquidate () = { | |
144 | 144 | let k = toBase58String(i.callerPublicKey) | |
145 | 145 | let j = if ((size(i.payments) == 1)) | |
146 | 146 | then i.payments[0] | |
147 | 147 | else throw((("No Payments Attached Please Attach " + toBase58String(a)) + " Asset Only.")) | |
148 | 148 | let F = getIntegerValue(this, "Total_Issued_USTN:") | |
149 | 149 | let J = { | |
150 | 150 | let f = getInteger(this, "Total_Burned_USTN:") | |
151 | 151 | if ($isInstanceOf(f, "Int")) | |
152 | 152 | then { | |
153 | 153 | let g = f | |
154 | 154 | g | |
155 | 155 | } | |
156 | 156 | else 0 | |
157 | 157 | } | |
158 | 158 | let K = (J + j.amount) | |
159 | 159 | let G = (F - j.amount) | |
160 | 160 | let H = getIntegerValue(this, "Total_USTN_Reserve_In_USDT:") | |
161 | 161 | let L = j.amount | |
162 | 162 | let I = (H - L) | |
163 | 163 | let M = { | |
164 | 164 | let f = getInteger(this, "Total_Fee_Collected") | |
165 | 165 | if ($isInstanceOf(f, "Int")) | |
166 | 166 | then { | |
167 | 167 | let g = f | |
168 | 168 | g | |
169 | 169 | } | |
170 | 170 | else 0 | |
171 | 171 | } | |
172 | 172 | let N = fraction(L, 1, 100) | |
173 | 173 | let O = (M + N) | |
174 | 174 | if ((j.assetId != a)) | |
175 | 175 | then throw((("Kindly Deposit Only " + toBase58String(a)) + " (USTN).")) | |
176 | 176 | else if ((10000 > j.amount)) | |
177 | 177 | then throw("Attach Amount must be greater than or equal to 0.01 USTN.") | |
178 | 178 | else [Burn(a, j.amount), IntegerEntry("Totaltxns", h), IntegerEntry("Total_Issued_USTN:", G), IntegerEntry("Total_Fee_Collected", O), IntegerEntry("Total_Burned_USTN:", K), IntegerEntry("Total_USTN_Reserve_In_USDT:", I), StringEntry("message", "<h1>USTN Liquidated Successfully!</h1><br>"), ScriptTransfer(i.caller, (L - N), b), ScriptTransfer(c, N, b)] | |
179 | 179 | } | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | @Verifier(P) | |
183 | 183 | func Q () = { | |
184 | 184 | let f = P | |
185 | 185 | sigVerify(P.bodyBytes, P.proofs[0], P.senderPublicKey) | |
186 | 186 | } | |
187 | 187 |
github/deemru/w8io/169f3d6 41.90 ms ◑