Calling external contract which is not verified on aptos exporer. #633
Unanswered
SukiratWarring
asked this question in
Questions
Replies: 1 comment
-
object as arg type is basically address with type guard, can you try passing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
I want to call a
entry public function
on a contract which is deployed at a particular address which is not public.I am creating a seperate package and then using it in my code as a local dependency.Like this:-
[dependencies.<SOMESWAP>] local = "../path/testnet-1"
The below code is my native fuction which i have defined for my compiler to infer the type ,now the question is how will i define
Object<LiquidityPool>
here?I don't know its type or anything but i want to call the
add_liquidity_one_coin()
function.native public entry fun add_liquidity_one_coin<CoinType>( user: &signer, pool: Object<LiquidityPool>, position_id: u64, tick_lower: u32, tick_upper: u32, amount_0: u64, amount_1: u64, amount_0_min: u64, amount_1_min: u64, );
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
macOS
Which SDK or tool are you using? (if any)
N/A
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions