abstract-math 0.0.0.9__tar.gz → 0.0.0.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of abstract-math might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: abstract_math
3
- Version: 0.0.0.9
3
+ Version: 0.0.0.11
4
4
  Author: putkoff
5
5
  Author-email: partners@abstractendeavors.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -4,7 +4,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
4
4
  long_description = fh.read()
5
5
  setuptools.setup(
6
6
  name='abstract_math',
7
- version='0.0.0.09',
7
+ version='0.0.0.11',
8
8
  author='putkoff',
9
9
  author_email='partners@abstractendeavors.com',
10
10
  description="",
@@ -46,11 +46,11 @@ def getSolAmountUi(*args,**kwargs):
46
46
  sol_amount = get_sol_amount(*args,**kwargs)
47
47
  return exponential(sol_amount,SOL_DECIMAL_PLACE)
48
48
  #token reserves
49
- def get_virtual_token_reservs(*args,**kwargs):
49
+ def get_virtual_token_reserves(*args,**kwargs):
50
50
  proper_args = get_proper_args(["virtualTokenReserves"],*args,**kwargs)
51
51
  return proper_args[0] if proper_args else proper_args
52
52
  def get_virtual_token_lamports(*args,**kwargs):
53
- virtual_token_reserves = get_virtual_token_reservs(*args,**kwargs)
53
+ virtual_token_reserves = get_virtual_token_reserves(*args,**kwargs)
54
54
  virtual_token_lamports = get_lamports(virtual_token_reserves)
55
55
  return virtual_token_lamports
56
56
  #token amount
@@ -59,7 +59,7 @@ def get_token_amount(*args,**kwargs):
59
59
  return proper_args[0] if proper_args else proper_args
60
60
  def get_token_amount_ui(*args,**kwargs):
61
61
  token_amount = get_token_amount(*args,**kwargs)
62
- token_decimals = derive_token_decimals(*args,**kwargs)
62
+ token_decimals = derive_decimals_from_vars(*args,**kwargs)
63
63
  return exponential(token_amount,exp=token_decimals)
64
64
  #token derivision
65
65
  def derive_token_decimals_from_token_variables(**variables):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: abstract_math
3
- Version: 0.0.0.9
3
+ Version: 0.0.0.11
4
4
  Author: putkoff
5
5
  Author-email: partners@abstractendeavors.com
6
6
  Classifier: Development Status :: 3 - Alpha