I have a question on about Unit Test While I putting some code on Tx.contractCall in the .ts file, what types should I choose if I want to put contract name?
Tx.contractCall(
""dex"",
""provide-liquidity"",
[
types.principal(deployer).avocado, --> This part....(I already checked it works on console, but don't know how to express in .ts files.
types.uint(10000),
types.uint(10000),
],
deployer,
)
ps. it's console code I checked. (contract-call? .dex provide-liquidity .avocado u100 u100). -> I would like to convert this statement to the above ts Unit testing."
You need to concatenate the contract name, like this: