Commit graph

61 commits

Author SHA1 Message Date
1f18e91432 modified estimate_mempool_gas_prices with more price levels 2024-10-05 15:34:12 -04:00
c48f77c999 added mempool gas prices 2024-10-05 15:20:48 -04:00
e4d73047b4 fixed affection transfer amounts to whole numbers only 2024-09-10 19:53:45 -04:00
098ad8a737 added example script for sending tokens 2024-09-10 19:06:03 -04:00
308179d4f8 added example script for swapping 2024-08-16 21:48:34 -04:00
58ff991218 added v2 routers for pancakeswap, sushiswap, uniswap 2024-08-16 21:27:46 -04:00
0083d3603c added send gas back to seller 2024-07-30 17:47:13 -04:00
30caa02e65 Merge remote-tracking branch 'origin/main' 2024-07-28 22:42:34 -04:00
2e34fc1b2f removed logic that sends pstable balances to minter without swapping 2024-07-28 22:41:44 -04:00
de70f9dfbc removed logic to send pstable balances to minter without swapping 2024-07-28 21:06:26 -04:00
e25d6c39f0 fixed routes pi to multi affection cost per token 2024-07-28 18:33:05 -04:00
498d28d172 fixed rounding to 15 decimal places by default for convert_tokens_multi 2024-07-28 17:53:44 -04:00
ecdeac0274 fixed bug when multi convert has perfect multiples of max iterations 2024-07-27 08:28:23 -04:00
3b2237f048 moved pls balance split logic to buyer 2024-07-24 11:42:49 -04:00
aad066df15 modified seller to send to buyer on swap 2024-07-24 11:08:27 -04:00
bae1159720 modified buyer to send to minter on swap 2024-07-24 11:08:11 -04:00
c541e58374 modified swap_tokens to accept an optional to_address 2024-07-24 11:07:27 -04:00
6b46880843 increased buyer pulse amounts 2024-07-24 11:02:43 -04:00
d9e39e9a6c increased seller affection amounts 2024-07-24 10:44:00 -04:00
ac5d81b509 reduced minter default gas 2024-07-24 09:27:05 -04:00
371a4547e2 added verbosity for missing wallet keystores 2024-07-23 19:49:57 -04:00
127097a1a4 fixed seller looping when gas is too high 2024-07-23 14:39:57 -04:00
de78614d82 fixed minimum pulse required to send from seller 2024-07-22 16:11:57 -04:00
ccc446202f fixed logging messages for pdai conversion amounts 2024-07-20 16:35:00 -04:00
b2b513bf01 fixed default values for token contracts that already mint when bought 2024-07-20 16:27:56 -04:00
d67e67d166 removed walrus from gasnow_file variable 2024-07-15 11:10:17 -04:00
7c364d56a8 remove unused arg for apply_gas_multiplier 2024-07-15 11:07:32 -04:00
a426a1463b updated minter with new multi contract addresses 2024-07-15 09:08:30 -04:00
a1b794404b updated multi contract addresses after redeploy for max approval limits between contracts 2024-07-15 09:02:15 -04:00
5b485ef730 added get_block function 2024-07-13 08:53:42 -04:00
6ece683142 handle dropped connections better 2024-07-13 08:37:03 -04:00
8c59939bf0 check gas prices before every sell 2024-07-13 07:28:29 -04:00
dfdd849fc6 added better error handling for gasnow cache 2024-07-13 07:22:50 -04:00
4bf1099d70 removed unneeded delay and resample for the final loop 2024-07-12 14:44:51 -04:00
12b95d4f72 changed selling mechanism to be same as buyer 2024-07-12 14:36:19 -04:00
dfeefa01d5 changed default variables back to previous values 2024-07-12 07:03:53 -04:00
5e7b4283fc refix comment 2024-07-12 06:56:54 -04:00
b70d41fdba removed unneeded logging variables 2024-07-12 06:56:20 -04:00
e9db8565cc fixed buyer/seller empty estimated swap result 2024-07-12 06:53:51 -04:00
679ad53691 increased default gasnow cache interval 2024-07-11 18:30:14 -04:00
63c2009b76 added an extra condition for gasnow empty data 2024-07-11 16:32:12 -04:00
3308261372 fixed gasnow cache when no data from api 2024-07-11 16:17:38 -04:00
430cff8a9c send affection tokens before continuing to mint 2024-07-11 14:12:04 -04:00
4537b92965 move affection mint higher in priority 2024-07-11 13:40:56 -04:00
edaaa74470 removed unneeded lines from debug 2024-07-11 12:17:27 -04:00
2ecb980dde fix timestamp check 2024-07-11 12:15:33 -04:00
3260783d98 approval amounts needed decimals 2024-07-11 11:29:42 -04:00
44ff8514c2 reorganized functions 2024-07-11 11:27:48 -04:00
f91be09de4 removed unneeded rounding from previous fix 2024-07-11 11:25:25 -04:00
255576eea5 changed approval amounts to token supply 2024-07-11 11:18:59 -04:00