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