get_core_deposit_wallet_contract
Documentation for eth_defi.hyperliquid.core_writer.get_core_deposit_wallet_contract function.
- get_core_deposit_wallet_contract(web3, address)
Get a Contract instance for the CoreDepositWallet.
Uses the MockCoreDepositWallet ABI which has the same
deposit(uint256,uint32)signature as the real CoreDepositWallet.- Parameters
web3 (web3.main.Web3) – Web3 connection.
address (Union[eth_typing.evm.HexAddress, str]) – CoreDepositWallet address (use
CORE_DEPOSIT_WALLETwith chain ID).
- Returns
Contract instance with the CoreDepositWallet ABI.
- Return type
web3.contract.contract.Contract