Perform soft wrapping. If muticall is presented, multicall.wrap(contract) will be returned.
Otherwise the contract itself will be returned. Note that this function is also type-safe,
that is, even if the contract is returned, the user is disallowed to call functions
with overrides.
This function is useful in case where the user when to choose whether to use multicall
by themselves.
Perform soft wrapping. If muticall is presented, multicall.wrap(contract) will be returned. Otherwise the contract itself will be returned. Note that this function is also type-safe, that is, even if the contract is returned, the user is disallowed to call functions with overrides.
This function is useful in case where the user when to choose whether to use multicall by themselves.