tx · 5XPxCVjSDJVEHPcGT4tr45XgFyTBE9Koizj3XjxopDD2 3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj: -0.01400000 Waves 2021.09.22 09:12 [1713872] smart account 3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj > SELF 0.00000000 Waves
{ "type": 13, "id": "5XPxCVjSDJVEHPcGT4tr45XgFyTBE9Koizj3XjxopDD2", "fee": 1400000, "feeAssetId": null, "timestamp": 1632291192463, "version": 2, "chainId": 84, "sender": "3NARdCrmQCEs9RNtwCSRc6JCoThQGyXjrAj", "senderPublicKey": "C246qxhuyo9DBk1pjMzEQSVAWmiqYupG2swGkxTeAvLV", "proofs": [ "4zMk2Z52siCpd2fKKNsZJnqGknkXJ4maW8ZcwqcPDKD27Mi5S7bbqVEL5jbS9tMRfXRpq8CFfrs27nRyNxEPe3jo" ], "script": "base64:AAIEAAAAAAAAAA8IAhIAEgASAwoBARIAEgAAAAACAAAAAApBNEFBc3NldElEAQAAACD+xBrh3u/naSJ9Eujvd+1d33EPvCCH0lpodP3xbghYNwAAAAALVVNEVEFzc2V0SUQBAAAAIAhlhLcP8IpqGvPiaOguCJAkw9MnWAPNLPYuXgvf2hWkAAAABQAAAAFpAQAAAAhJc3N1ZUE0QQAAAAAEAAAAA3BtdAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAtQcmljZVBlckE0QQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAGQTRBL1ROBAAAAAxOZXdBNEFUb1VzZXIJAABrAAAAAwAAAAAAAAGGoAgFAAAAA3BtdAAAAAZhbW91bnQFAAAAC1ByaWNlUGVyQTRBBAAAABFQcmV2aW91c0lzc3VlZEE0QQkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAg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aGFzIHJpZ2h0cyB0byBhZGQgVVNEVCBGdW5kcy4DCQEAAAACIT0AAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAC1VTRFRBc3NldElECQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAABlLaW5kbHkgRGVwb3NpdCBPbmx5IFVTRFQgCQACWAAAAAEFAAAAC1VTRFRBc3NldElEAgAAAAkgQXNzZXRJRC4DCQAAZgAAAAIAAAAAAAAPQkAIBQAAAANwbXQAAAAGYW1vdW50CQAAAgAAAAECAAAAJkF0dGFjaCBtaW5pbXVtIDEkIGF0bGVhc3QgRm9yIFBheW1lbnQuCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAxVU0RUX0JhbGFuY2UFAAAACm5ld1VTRFRiYWwFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V51PD/4A==", "height": 1713872, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4b5pGuN3CckVvjNRgpGaRYy5A1VTENVwDugFT58ozhyP Next: AZBEDW4YRomtkjWCphysi6Gdj4PFvpxiM68MyUqeREBM Diff:
Old | New | Differences | |
---|---|---|---|
122 | 122 | let M = toBase58String(c.caller.bytes) | |
123 | 123 | let N = getStringValue(this, "Funding_Address") | |
124 | 124 | let O = getIntegerValue(this, "USDT_Balance") | |
125 | - | let P = (O + d.amount) | |
125 | + | let P = { | |
126 | + | let G = getInteger(this, "USDT_Balance") | |
127 | + | if ($isInstanceOf(G, "Int")) | |
128 | + | then { | |
129 | + | let H = G | |
130 | + | H | |
131 | + | } | |
132 | + | else 0 | |
133 | + | } | |
134 | + | let Q = (P + d.amount) | |
126 | 135 | if ((N != M)) | |
127 | 136 | then throw((("I know You are not An Admin. Only " + N) + " has rights to add USDT Funds.")) | |
128 | 137 | else if ((d.assetId != b)) | |
129 | 138 | then throw((("Kindly Deposit Only USDT " + toBase58String(b)) + " AssetID.")) | |
130 | 139 | else if ((1000000 > d.amount)) | |
131 | 140 | then throw("Attach minimum 1$ atleast For Payment.") | |
132 | - | else [IntegerEntry("USDT_Balance", | |
141 | + | else [IntegerEntry("USDT_Balance", Q)] | |
133 | 142 | } | |
134 | 143 | ||
135 | 144 | ||
136 | - | @Verifier( | |
137 | - | func | |
145 | + | @Verifier(R) | |
146 | + | func S () = sigVerify(R.bodyBytes, R.proofs[0], R.senderPublicKey) | |
138 | 147 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook' | |
5 | 5 | ||
6 | 6 | let b = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
7 | 7 | ||
8 | 8 | @Callable(c) | |
9 | 9 | func IssueA4A () = { | |
10 | 10 | let d = value(c.payments[0]) | |
11 | 11 | let e = toBase58String(c.caller.bytes) | |
12 | 12 | let f = getIntegerValue(this, "A4A/TN") | |
13 | 13 | let g = fraction(100000, d.amount, f) | |
14 | 14 | let h = getIntegerValue(this, "Total_Issued_A4A:") | |
15 | 15 | let i = (h + g) | |
16 | 16 | let j = getIntegerValue(this, "Total_A4A_Reserve_In_TN:") | |
17 | 17 | let k = (j + d.amount) | |
18 | 18 | let l = getIntegerValue(this, "A4A_Backup_Value_In_TN:") | |
19 | 19 | let m = fraction(100000, k, i) | |
20 | 20 | let n = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' | |
21 | 21 | if (isDefined(d.assetId)) | |
22 | 22 | then throw("Incorrect asset attached, please attach TN.") | |
23 | 23 | else if ((5000000 > d.amount)) | |
24 | 24 | then throw("Please Attach minimum 0.05 TN To Issue A4A Asset.") | |
25 | 25 | else [IntegerEntry("Total_Issued_A4A:", i), IntegerEntry("Total_A4A_Reserve_In_TN:", k), IntegerEntry("A4A_Backup_Value_In_TN:", m), StringEntry("message", "<h1>A4A Issued Successfully!</h1><br>"), Reissue(a, g, true), ScriptTransfer(c.caller, ((g * 99) / 100), a), ScriptTransfer(addressFromPublicKey(n), ((g * 1) / 100), a)] | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | ||
30 | 30 | @Callable(c) | |
31 | 31 | func Liquidate () = { | |
32 | 32 | let e = toBase58String(c.callerPublicKey) | |
33 | 33 | let d = value(c.payments[0]) | |
34 | 34 | let h = getIntegerValue(this, "Total_Issued_A4A:") | |
35 | 35 | let o = getIntegerValue(this, "Total_Burned_A4A:") | |
36 | 36 | let i = (h - d.amount) | |
37 | 37 | let p = (o + d.amount) | |
38 | 38 | let j = getIntegerValue(this, "Total_A4A_Reserve_In_TN:") | |
39 | 39 | let l = getIntegerValue(this, "A4A_Backup_Value_In_TN:") | |
40 | 40 | let q = fraction(l, d.amount, 100000) | |
41 | 41 | let k = (j - q) | |
42 | 42 | let m = fraction(100000, k, i) | |
43 | 43 | if ((d.assetId != a)) | |
44 | 44 | then throw("Kindly Deposit Only 8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g (A4A).") | |
45 | 45 | else if ((100000 > d.amount)) | |
46 | 46 | then throw("Attach Amount must be greater than 0.001 A4A.") | |
47 | 47 | else [Burn(a, d.amount), IntegerEntry("Total_Issued_A4A:", i), IntegerEntry("Total_Burned_A4A:", p), IntegerEntry("Total_A4A_Reserve_In_TN:", k), IntegerEntry("A4A_Backup_Value_In_TN:", m), StringEntry("message", "<h1>A4A Liquidated Successfully!</h1><br>"), ScriptTransfer(c.caller, q, unit)] | |
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | ||
52 | 52 | @Callable(c) | |
53 | 53 | func Deposit (r) = { | |
54 | 54 | let d = if ((size(c.payments) == 1)) | |
55 | 55 | then c.payments[0] | |
56 | 56 | else throw("No payment attached, Please Attach A4A Token as per TIER in payment[1].") | |
57 | 57 | let e = toBase58String(c.caller.bytes) | |
58 | 58 | let s = 90 | |
59 | 59 | let t = "LOCKED" | |
60 | 60 | let u = 99999999999 | |
61 | 61 | let v = 599999999999 | |
62 | 62 | let w = 1199999999999 | |
63 | 63 | let x = 1200000000000 | |
64 | 64 | let y = 1440 | |
65 | 65 | let z = (y * r) | |
66 | 66 | let A = (height + z) | |
67 | 67 | let B = 36000 | |
68 | 68 | let C = fraction(fraction((B * 2), d.amount, pow(10, 0, 8, 0, 0, UP)), z, pow(10, 0, 6, 0, 0, UP)) | |
69 | 69 | let D = fraction(fraction((B * 4), d.amount, pow(10, 0, 8, 0, 0, UP)), z, pow(10, 0, 6, 0, 0, UP)) | |
70 | 70 | let E = fraction(fraction((B * 8), d.amount, pow(10, 0, 8, 0, 0, UP)), z, pow(10, 0, 6, 0, 0, UP)) | |
71 | 71 | let F = { | |
72 | 72 | let G = getInteger(this, ("Deposit_Amount_Of_" + e)) | |
73 | 73 | if ($isInstanceOf(G, "Int")) | |
74 | 74 | then { | |
75 | 75 | let H = G | |
76 | 76 | H | |
77 | 77 | } | |
78 | 78 | else 0 | |
79 | 79 | } | |
80 | 80 | let I = (F + d.amount) | |
81 | 81 | if ((d.assetId != a)) | |
82 | 82 | then throw((("Incorrect asset attached, please attach " + toBase58String(a)) + " only.")) | |
83 | 83 | else if ((6 >= r)) | |
84 | 84 | then throw("Choose Locking days in between 7 to 90.") | |
85 | 85 | else if ((r > s)) | |
86 | 86 | then throw("You Entered days greater than 90 please Enter no. of days in between 7 to 90.") | |
87 | 87 | else if ((33300000000 > d.amount)) | |
88 | 88 | then throw("Please Attach minimum 333 A4A To Achieve BRONZE TIER.") | |
89 | 89 | else if ((u >= d.amount)) | |
90 | 90 | then [StringEntry(("Tier_Of_" + e), "BRONZE"), IntegerEntry(("Deposit_height_Of_" + e), height), IntegerEntry(("Deposit_Amount_Of_" + e), I), IntegerEntry(("Total_Lock_Blocks_Of_" + e), A), StringEntry(("Lock_Status_Of_" + e), t), IntegerEntry(("Rewards_Of_" + e), fraction(fraction(B, d.amount, pow(10, 0, 8, 0, 0, UP)), z, pow(10, 0, 6, 0, 0, UP)))] | |
91 | 91 | else if ((v >= d.amount)) | |
92 | 92 | then [StringEntry(("Tier_Of_" + e), "SILVER"), IntegerEntry(("Deposit_height_Of_" + e), height), IntegerEntry(("Deposit_Amount_Of_" + e), I), IntegerEntry(("Total_Lock_Blocks_Of_" + e), A), StringEntry(("Lock_Status_Of_" + e), t), IntegerEntry(("Rewards_Of_" + e), C)] | |
93 | 93 | else if ((w >= d.amount)) | |
94 | 94 | then [StringEntry(("Tier_Of_" + e), "GOLD"), IntegerEntry(("Deposit_height_Of_" + e), height), IntegerEntry(("Deposit_Amount_Of_" + e), I), IntegerEntry(("Total_Lock_Blocks_Of_" + e), A), StringEntry(("Lock_Status_Of_" + e), t), IntegerEntry(("Rewards_Of_" + e), D)] | |
95 | 95 | else if ((x == d.amount)) | |
96 | 96 | then [StringEntry(("Tier_Of_" + e), "DIAMOND"), IntegerEntry(("Deposit_height_Of_" + e), height), IntegerEntry(("Deposit_Amount_Of_" + e), I), IntegerEntry(("Total_Lock_Blocks_Of_" + e), A), StringEntry(("Lock_Status_Of_" + e), t), IntegerEntry(("Rewards_Of_" + e), E)] | |
97 | 97 | else throw("Please Choose a Range Between 333-12000.") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | ||
102 | 102 | @Callable(c) | |
103 | 103 | func Withdraw () = { | |
104 | 104 | let e = toBase58String(c.caller.bytes) | |
105 | 105 | let J = getIntegerValue(this, ("Deposit_Amount_Of_" + e)) | |
106 | 106 | let K = getIntegerValue(this, "Total_USDT_Claimed:") | |
107 | 107 | let L = (K + getIntegerValue(this, ("Rewards_Of_" + e))) | |
108 | 108 | if ((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + e)) > height)) | |
109 | 109 | then throw(((("Your " + toString(getIntegerValue(this, ("Deposit_Amount_Of_" + e)))) + " A4A are Under Lock. Consider last 8 digits as value after Decimals. Token will be Unlocked after ") + toString((getIntegerValue(this, ("Total_Lock_Blocks_Of_" + e)) - height)))) | |
110 | 110 | else if ((J == 0)) | |
111 | 111 | then throw("You Have Already Withdraw your Amount.") | |
112 | 112 | else [ScriptTransfer(c.caller, getIntegerValue(this, ("Deposit_Amount_Of_" + e)), a), ScriptTransfer(c.caller, getIntegerValue(this, ("Rewards_Of_" + e)), b), IntegerEntry(("Deposit_height_Of_" + e), 0), IntegerEntry(("Deposit_Amount_Of_" + e), 0), IntegerEntry(("Total_Lock_Blocks_Of_" + e), 0), StringEntry(("Lock_Status_Of_" + e), "UNLOCK"), IntegerEntry(("Rewards_Of_" + e), 0), IntegerEntry("Total_USDT_Claimed:", L)] | |
113 | 113 | } | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | ||
117 | 117 | @Callable(c) | |
118 | 118 | func DepositUSDT () = { | |
119 | 119 | let d = if ((size(c.payments) == 1)) | |
120 | 120 | then c.payments[0] | |
121 | 121 | else throw("No payment attached, Please Attach USDT Token in payment[1].") | |
122 | 122 | let M = toBase58String(c.caller.bytes) | |
123 | 123 | let N = getStringValue(this, "Funding_Address") | |
124 | 124 | let O = getIntegerValue(this, "USDT_Balance") | |
125 | - | let P = (O + d.amount) | |
125 | + | let P = { | |
126 | + | let G = getInteger(this, "USDT_Balance") | |
127 | + | if ($isInstanceOf(G, "Int")) | |
128 | + | then { | |
129 | + | let H = G | |
130 | + | H | |
131 | + | } | |
132 | + | else 0 | |
133 | + | } | |
134 | + | let Q = (P + d.amount) | |
126 | 135 | if ((N != M)) | |
127 | 136 | then throw((("I know You are not An Admin. Only " + N) + " has rights to add USDT Funds.")) | |
128 | 137 | else if ((d.assetId != b)) | |
129 | 138 | then throw((("Kindly Deposit Only USDT " + toBase58String(b)) + " AssetID.")) | |
130 | 139 | else if ((1000000 > d.amount)) | |
131 | 140 | then throw("Attach minimum 1$ atleast For Payment.") | |
132 | - | else [IntegerEntry("USDT_Balance", | |
141 | + | else [IntegerEntry("USDT_Balance", Q)] | |
133 | 142 | } | |
134 | 143 | ||
135 | 144 | ||
136 | - | @Verifier( | |
137 | - | func | |
145 | + | @Verifier(R) | |
146 | + | func S () = sigVerify(R.bodyBytes, R.proofs[0], R.senderPublicKey) | |
138 | 147 |
github/deemru/w8io/169f3d6 49.93 ms ◑