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
For clarity, lets focus on example of uniswapV2 contract. We have there swapExactETHForTokens method with signature ;
swapExactETHForTokens
function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts);
after i run type-chain what i got is Abi interface with
Abi
swapExactETHForTokens: TypedContractMethod< [ amountOutMin: BigNumberish, path: AddressLike[], to: AddressLike, deadline: BigNumberish ], [bigint[]], "payable" >;
thats great but I would like to be able to directly use
[ amountOutMin: BigNumberish, path: AddressLike[], to: AddressLike, deadline: BigNumberish ]
as separated type called lets say swapExactEthForTokensArgs or so.
swapExactEthForTokensArgs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For clarity, lets focus on example of uniswapV2 contract.
We have there
swapExactETHForTokens
method with signature ;after i run type-chain what i got is
Abi
interface withthats great but I would like to be able to directly use
as separated type called lets say
swapExactEthForTokensArgs
or so.The text was updated successfully, but these errors were encountered: