We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ethabi
alloy-json-abi
As per the ethabi repo:
This project is not actively maintained. Consider these alternatives: https://github.com/nlordell/solabi-rs https://github.com/alloy-rs/core
This project is not actively maintained. Consider these alternatives:
alloy-rs is also now utilized by foundry-compilers.
So if alloy-rs is utilized in rust-web3 as well it could allow for something like:
alloy-rs
rust-web3
let all_contracts_compiled: VersionedContracts = self.contract_interfaces; let dai_abi: &JsonAbi = all_contracts_compiled .find_first("ERC20") .unwrap() .abi .unwrap(); let dai_address = Address::from_str("6b175474e89094c44da98b954eedeac495271d0f").unwrap(); let dai_contract = Contract::new(self.client.eth(), dai_address, erc20_abi);
to be easily implemented. Assuming that self.client is a Web3<Transport>.
self.client
Web3<Transport>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As per the
ethabi
repo:alloy-rs is also now utilized by foundry-compilers.
So if
alloy-rs
is utilized inrust-web3
as well it could allow for something like:to be easily implemented. Assuming that
self.client
is aWeb3<Transport>
.The text was updated successfully, but these errors were encountered: