I want to call a smart contract with eztz:
eztz.contract.send(contract,from, keys, amoun, params, gasLimit,storageLimit)
How to specify the entry point, my smart contract has multiple entry points :
parameter
(or :_entries
(int %_Liq_entry_create)
(int %_Liq_entry_main))
;
storage
(list
int)
;
code
{
DUP ;
DIP
{
CDR @storage_slash_1 ;
}
;
CAR @parameter_slash_2 ;
DUP @parameter ;
IF_LEFT
{
RENAME @parameter_slash_3
;
DUUUP @storage ;
NIL
operation
;
PAIR ;
DIP
{
DROP ;
}
;
}
{
RENAME @parameter_slash_5
;
DUUUP @storage ;
NIL
operation
;
PAIR ;
DIP
{
DROP ;
}
;
}
;
DIP
{
DROP ;
DROP ;
}
;
}
;