1
0
forked from mico/idle_moloch
Commit Graph

112 Commits

Author SHA1 Message Date
5bb2b5f97b
Enables the counter to display sub zero amounts per second + prices and profits adjusted to match the contract 2024-10-26 15:03:27 +02:00
0ea4ba320c
Balances how much units cost and profit 2024-10-26 14:45:25 +02:00
26b2480b52
Checking for known / shrouded units now calculated with actual total_minted at that moment 2 2024-10-26 13:54:08 +02:00
54b370f41b
Checking for known / shrouded units now calculated with actual total_minted at that moment 2024-10-26 13:53:23 +02:00
84c0aeff03
Better UX: player now can add units wven if funds are not yet minted 2024-10-26 13:49:29 +02:00
fefa2641e4
Fixes broken test 2024-10-26 13:16:34 +02:00
203ebd3e97
Removed RAID_WAIT because it was just getting in way of UX 2024-10-26 13:14:43 +02:00
c1e6494937
Added shrouding of units & display of per second profits on units plus fixed calc bug on unit costs 2024-10-26 13:12:30 +02:00
yellow
5b0d24ccba registration with dao token 2024-10-25 23:10:40 +02:00
yellow
9873dfc76b constructor 2024-10-25 22:37:40 +02:00
eb318972b8
Fixed a formatting bug 2024-10-25 15:58:09 +02:00
4bcf23a9ac Merge pull request 'bit of a refactor' (#1) from review into main
Reviewed-on: mico/idle_moloch#1
2024-10-25 09:13:39 +00:00
7a32129f7e
Ran forge fmt + solved client bug with amounts being much too high due to change in contract calculations 2024-10-25 11:12:51 +02:00
a5f1bc7a57
Merged latest main 2024-10-25 10:57:00 +02:00
yellow
49b7110a6c raid before buy in addUnit 2024-10-25 02:21:50 +02:00
yellow
738378d93e bit of a refactor 2024-10-25 02:13:52 +02:00
ab43dc31a4
App now credits the team in this cohort not mico 2024-10-24 18:22:51 +02:00
3fdfb2d822
Added a line about changing contract_address.ts if needed 2024-10-24 15:15:15 +02:00
886d86ad07
gitignore fuckery 2024-10-24 14:58:10 +02:00
52cf3b40e3
put address into gitignore 2024-10-24 14:51:12 +02:00
118b05b41a
put address into gitignore 2024-10-24 14:50:49 +02:00
19932be0a9
put address into gitignore 2024-10-24 14:48:17 +02:00
8a251a6dd2
put address into gitignore 2024-10-24 14:42:36 +02:00
cefb360792
Deployed new version + configurability for address 2024-10-24 14:40:46 +02:00
cb12c772ae
Made tests pure where applicable 2024-10-24 14:35:55 +02:00
a8cd6a1b5c
Removed console logs 2024-10-24 14:32:16 +02:00
0dd53f9c1f
Tweaked formatting fn a bit plus per second counter is also formatted now 2024-10-24 12:59:49 +02:00
b41a453dda
Added available on chain counter 2024-10-24 12:32:33 +02:00
b47db1f359
Fixes prices calculation 2024-10-24 12:15:29 +02:00
b153e4b6bd
Fixes the issue with adding units not minting token straight away, fixes overlay issues so the tower is clickable again 2024-10-24 10:46:02 +02:00
e993067360
Testing marching band 2024-10-23 18:24:11 +02:00
2d3540d344
Corrected the amound in client as well 2024-10-23 18:10:57 +02:00
dea5aeef75
commenting out unused import 2024-10-23 17:47:01 +02:00
6196744cd0
Deployed to Base Sepolia && hides buying units if u arent registered 2024-10-23 17:30:49 +02:00
830beab3e7
Lowered entrance fee 2024-10-23 17:14:28 +02:00
799d9ae435
initial raid time is now set to block.timestamp to prevent silly things happening 2024-10-23 16:46:02 +02:00
4a5354f092
Added Marhing people up the road but they lag the hell out of the app 2024-10-23 16:40:53 +02:00
cabfc5e758
Towers goes on cooldown during raiding 2024-10-23 13:17:28 +02:00
56e4b5ce26
Implemented rotating counter 2024-10-23 11:14:39 +02:00
294052070a
Connected addUnit 2024-10-23 10:32:13 +02:00
20fa42cfca
Annointed is actually spelled anointed 2024-10-23 10:07:49 +02:00
684d752b08
Added tests and fixed code for calculating profits and costs 2024-10-22 23:04:31 +02:00
38644f52c1
Added utils for calculating price and unit cost 2024-10-22 17:53:21 +02:00
5010a7b00d
Added army upgrading, removed total amount as that part is tracked by openzeppelin ERC20 2024-10-22 16:40:48 +02:00
6ae2c833be
Updated README 2024-10-22 15:08:22 +02:00
310d6a166d
Updated README 2024-10-22 14:57:27 +02:00
2e308edb62
Updated README 2024-10-22 14:56:49 +02:00
ec10cb11cc
Mining or raiding mechanic works now 2024-10-22 14:46:50 +02:00
bbf2a1874f
Connected wagmi to contract, changed Geld -> RaidGeld and minor contract changes 2024-10-22 13:36:49 +02:00
bcc79beed1
Styled the tower for clicking a bit more 2024-10-21 12:54:35 +02:00