You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error
File "/Users/PycharmProjects/pythonProject/pythonProject2/test_del_deposits.py", line 20, in
client.deposit_funds(
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 1219, in deposit_funds
return self._deposit_funds(
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 310, in _deposit_funds
res = self.execute_idex_contract_function(
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 242, in execute_idex_contract_function
"abi": self.exchange_abi(),
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 219, in exchange_abi
with open(Path(file).parent / "contracts" / "Exchange.abi.json") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/homebrew/lib/python3.9/site-packages/idex/contracts/Exchange.abi.json'
The text was updated successfully, but these errors were encountered:
this code from Contract function
client = Client(api_key, address, private_key)
tx_options = TransactionOptions(gas=150000, gas_price=20000000000)
client.deposit_funds(
asset="USD",
quantity=1123,
tx_options=tx_options,
)
error
File "/Users/PycharmProjects/pythonProject/pythonProject2/test_del_deposits.py", line 20, in
client.deposit_funds(
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 1219, in deposit_funds
return self._deposit_funds(
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 310, in _deposit_funds
res = self.execute_idex_contract_function(
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 242, in execute_idex_contract_function
"abi": self.exchange_abi(),
File "/opt/homebrew/lib/python3.9/site-packages/idex/client.py", line 219, in exchange_abi
with open(Path(file).parent / "contracts" / "Exchange.abi.json") as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/homebrew/lib/python3.9/site-packages/idex/contracts/Exchange.abi.json'
The text was updated successfully, but these errors were encountered: