tx · 8sQt1rbCfmgMkaT1YCXhAG72QuAqLKqUbXTVDN2hjgWv 3N5jpkcHiH5R36y9cYnoXhVHe4pxRkS3peF: -0.01400000 Waves 2020.03.11 21:49 [904862] smart account 3N5jpkcHiH5R36y9cYnoXhVHe4pxRkS3peF > SELF 0.00000000 Waves
{ "type": 13, "id": "8sQt1rbCfmgMkaT1YCXhAG72QuAqLKqUbXTVDN2hjgWv", "fee": 1400000, "feeAssetId": null, "timestamp": 1583952633136, "version": 1, "sender": "3N5jpkcHiH5R36y9cYnoXhVHe4pxRkS3peF", "senderPublicKey": "9v3cUhWaBqFKLuHQTbz2osNsxRANDcpaRZja43mFNkR3", "proofs": [ "5jFcTpLwSMLw4cmyMrwDiRqXztmrgndHHeBD3aSTRRC7jwcnzAsW6ptLJYbS4YQCS6VEzuzdDukQYGNkQjrMvR5Q" ], "script": "base64:AAIDAAAAAAAAAA0IARIAEgASABIDCgEBAAAABQAAAAAGRVVDb2luAQAAACDJofoUphCC2vgdQrn0R0tQm4QOreBLRVolNScltI/WUQAAAAAGVVNDb2luAQAAACCWpimiLpI8FZFaHXIW3ZwI74bEgcPecoAv5ODcRcQ7/QAAAAAOb3duZXJQdWJsaWNLZXkBAAAAIIR0OzhzTJc1ozXjp3CfISpQxO2vbrCrTGSiFABFRe8mAAAAAA1PcmFjbGVBZGRyZXNzCQEAAAAHQWRkcmVzcwAAAAEJAAGbAAAAAQIAAAAjM05BY29lV2RVVFduOGNzWEpQRzQ3djFGanRqY2ZxeGI1dHUBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAANT3JhY2xlQWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAAAAAEAAAAAWkBAAAAB2RlcG9zaXQAAAAABAAAAANwbXQJAQAAAAdleHRyYWN0AAAAAQgFAAAAAW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MIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOb3duZXJQdWJsaWNLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYHsF/JpQ==", "chainId": 84, "height": 904862, "spentComplexity": 0 } View: original | compacted Prev: GSCiShWzB6Mzf1kREHM4bdrG1SxVqp8RkBy3RHqAwYTM Next: J2LFZQFo4NpoFCeTywdJhGgUrnsFzagT1s7pmQD7jFT9 Diff:
Old | New | Differences | |
---|---|---|---|
50 | 50 | case _ => | |
51 | 51 | 0 | |
52 | 52 | } | |
53 | - | let trasferAmount = pmt.amount | |
54 | - | let newAmount = (currentAmount + pmt.amount) | |
55 | - | ScriptResult(WriteSet([DataEntry((currentKey + "_waves"), newAmount)]), TransferSet([ScriptTransfer(i.caller, trasferAmount, EUCoin)])) | |
53 | + | if ((rate == 0)) | |
54 | + | then throw("rate 0") | |
55 | + | else { | |
56 | + | let trasferAmount = pmt.amount | |
57 | + | let newAmount = (currentAmount + pmt.amount) | |
58 | + | ScriptResult(WriteSet([DataEntry((currentKey + "_waves"), newAmount)]), TransferSet([ScriptTransfer(i.caller, trasferAmount, EUCoin)])) | |
59 | + | } | |
56 | 60 | } | |
57 | 61 | } | |
58 | 62 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let EUCoin = base58'Ea6CdDfumo8ZFecxUSWKAjZpQXmkRC79WB4ktu3KffPn' | |
5 | 5 | ||
6 | 6 | let USCoin = base58'B957NA5BEM8quCDhe1fUPkqBSdCZdJunNxjGE8FRJkWx' | |
7 | 7 | ||
8 | 8 | let ownerPublicKey = base58'9v3cUhWaBqFKLuHQTbz2osNsxRANDcpaRZja43mFNkR3' | |
9 | 9 | ||
10 | 10 | let OracleAddress = Address(toBytes("3NAcoeWdUTWn8csXJPG47v1Fjtjcfqxb5tu")) | |
11 | 11 | ||
12 | 12 | func getNumberByKey (key) = match getInteger(OracleAddress, key) { | |
13 | 13 | case a: Int => | |
14 | 14 | a | |
15 | 15 | case _ => | |
16 | 16 | 0 | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | @Callable(i) | |
21 | 21 | func deposit () = { | |
22 | 22 | let pmt = extract(i.payment) | |
23 | 23 | if (isDefined(pmt.assetId)) | |
24 | 24 | then if ((pmt.assetId == USCoin)) | |
25 | 25 | then { | |
26 | 26 | let currentKey = toBase58String(i.caller.bytes) | |
27 | 27 | let currentAmount = match getInteger(this, (currentKey + "_uscoin")) { | |
28 | 28 | case a: Int => | |
29 | 29 | a | |
30 | 30 | case _ => | |
31 | 31 | 0 | |
32 | 32 | } | |
33 | 33 | let rate = getNumberByKey("waves_usd_2") | |
34 | 34 | let trasferAmount = (pmt.amount * 100) | |
35 | 35 | let newAmount = (currentAmount + pmt.amount) | |
36 | 36 | ScriptResult(WriteSet([DataEntry((currentKey + "_uscoin"), newAmount)]), TransferSet([ScriptTransfer(i.caller, trasferAmount, EUCoin)])) | |
37 | 37 | } | |
38 | 38 | else throw("can hodl USCoin only at the moment") | |
39 | 39 | else { | |
40 | 40 | let currentKey = toBase58String(i.caller.bytes) | |
41 | 41 | let currentAmount = match getInteger(this, (currentKey + "_waves")) { | |
42 | 42 | case a: Int => | |
43 | 43 | a | |
44 | 44 | case _ => | |
45 | 45 | 0 | |
46 | 46 | } | |
47 | 47 | let rate = match getInteger(OracleAddress, "waves_usd_2") { | |
48 | 48 | case a: Int => | |
49 | 49 | a | |
50 | 50 | case _ => | |
51 | 51 | 0 | |
52 | 52 | } | |
53 | - | let trasferAmount = pmt.amount | |
54 | - | let newAmount = (currentAmount + pmt.amount) | |
55 | - | ScriptResult(WriteSet([DataEntry((currentKey + "_waves"), newAmount)]), TransferSet([ScriptTransfer(i.caller, trasferAmount, EUCoin)])) | |
53 | + | if ((rate == 0)) | |
54 | + | then throw("rate 0") | |
55 | + | else { | |
56 | + | let trasferAmount = pmt.amount | |
57 | + | let newAmount = (currentAmount + pmt.amount) | |
58 | + | ScriptResult(WriteSet([DataEntry((currentKey + "_waves"), newAmount)]), TransferSet([ScriptTransfer(i.caller, trasferAmount, EUCoin)])) | |
59 | + | } | |
56 | 60 | } | |
57 | 61 | } | |
58 | 62 | ||
59 | 63 | ||
60 | 64 | ||
61 | 65 | @Callable(i) | |
62 | 66 | func withdrawUSCoin () = { | |
63 | 67 | let pmt = extract(i.payment) | |
64 | 68 | if (isDefined(pmt.assetId)) | |
65 | 69 | then if ((pmt.assetId == EUCoin)) | |
66 | 70 | then { | |
67 | 71 | let currentKey = toBase58String(i.caller.bytes) | |
68 | 72 | let currentAmount = match getInteger(this, (currentKey + "_uscoin")) { | |
69 | 73 | case a: Int => | |
70 | 74 | a | |
71 | 75 | case _ => | |
72 | 76 | 0 | |
73 | 77 | } | |
74 | 78 | let rate = getNumberByKey("waves_usd_2") | |
75 | 79 | let trasferAmount = (pmt.amount / 100) | |
76 | 80 | let newAmount = (currentAmount - trasferAmount) | |
77 | 81 | if ((0 > pmt.amount)) | |
78 | 82 | then throw("Can't withdraw negative amount") | |
79 | 83 | else if ((0 > newAmount)) | |
80 | 84 | then throw("Not enough USCoin Deposited") | |
81 | 85 | else ScriptResult(WriteSet([DataEntry((currentKey + "_uscoin"), newAmount)]), TransferSet([ScriptTransfer(i.caller, trasferAmount, USCoin)])) | |
82 | 86 | } | |
83 | 87 | else throw("You Can Withdraw with EUCoin only") | |
84 | 88 | else throw("You Can Withdraw with EUCoin only") | |
85 | 89 | } | |
86 | 90 | ||
87 | 91 | ||
88 | 92 | ||
89 | 93 | @Callable(i) | |
90 | 94 | func withdrawWaves () = { | |
91 | 95 | let pmt = extract(i.payment) | |
92 | 96 | if (isDefined(pmt.assetId)) | |
93 | 97 | then if ((pmt.assetId == EUCoin)) | |
94 | 98 | then { | |
95 | 99 | let currentKey = toBase58String(i.caller.bytes) | |
96 | 100 | let currentAmount = match getInteger(this, (currentKey + "_waves")) { | |
97 | 101 | case a: Int => | |
98 | 102 | a | |
99 | 103 | case _ => | |
100 | 104 | 0 | |
101 | 105 | } | |
102 | 106 | let rate = getNumberByKey("waves_usd_2") | |
103 | 107 | let trasferAmount = pmt.amount | |
104 | 108 | let newAmount = (currentAmount - trasferAmount) | |
105 | 109 | if ((0 > pmt.amount)) | |
106 | 110 | then throw("Can't withdraw negative amount") | |
107 | 111 | else if ((0 > newAmount)) | |
108 | 112 | then throw("Not enough Waves Deposited") | |
109 | 113 | else ScriptResult(WriteSet([DataEntry((currentKey + "_waves"), newAmount)]), TransferSet([ScriptTransfer(i.caller, trasferAmount, unit)])) | |
110 | 114 | } | |
111 | 115 | else throw("You Can Withdraw with EUCoin only") | |
112 | 116 | else throw("You Can Withdraw with EUCoin only") | |
113 | 117 | } | |
114 | 118 | ||
115 | 119 | ||
116 | 120 | ||
117 | 121 | @Callable(i) | |
118 | 122 | func getFaucet (amount) = { | |
119 | 123 | let currentKey = toBase58String(i.caller.bytes) | |
120 | 124 | let currentAmount = match getInteger(this, (currentKey + "_faucet")) { | |
121 | 125 | case a: Int => | |
122 | 126 | a | |
123 | 127 | case _ => | |
124 | 128 | 0 | |
125 | 129 | } | |
126 | 130 | if ((0 > amount)) | |
127 | 131 | then throw("Can't withdraw negative amount") | |
128 | 132 | else if ((currentAmount > 0)) | |
129 | 133 | then throw("Faucet already taken") | |
130 | 134 | else ScriptResult(WriteSet([DataEntry((currentKey + "_faucet"), amount)]), TransferSet([ScriptTransfer(i.caller, amount, EUCoin)])) | |
131 | 135 | } | |
132 | 136 | ||
133 | 137 | ||
134 | 138 | @Verifier(tx) | |
135 | 139 | func verify () = match tx { | |
136 | 140 | case d: SetScriptTransaction => | |
137 | 141 | sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey) | |
138 | 142 | case d: DataTransaction => | |
139 | 143 | true | |
140 | 144 | case _ => | |
141 | 145 | false | |
142 | 146 | } | |
143 | 147 |
github/deemru/w8io/169f3d6 43.59 ms ◑