im tryng to send the operation to a deployed contract, this is my function ...
eztz.contract
.send(
"KT18qHvhEZUwiawA8QEURwuK8RGJj184725L",
keysext.pkh,
keysext.sk,
5,
"RIGHT LEFT UNIT",
"01000",
50000,
10000
)
.then(res => {
console.log(res);
})
.catch(err => {
console.log(err);
});
and all i get is this result ...
TypeError: "Expected String"
s eztz.min.js:8
decode eztz.min.js:8
decode eztz.min.js:8
b58cdecode eztz.min.js:8
sign eztz.min.js:8
sendOperation eztz.min.js:8
run es6.promise.js:75
notify es6.promise.js:92
flush _microtask.js:18
signcontract.js:25
... any ideia of what might be happening??
this my contract parameters and storage,
parameter
(or :_entries
(pair :proposition %_Liq_entry_create_proposition
(key_hash %destination)
(mutez %amount))
(or (unit %_Liq_entry_sign_proposition) (unit %_Liq_entry_execute_proposition)));
storage
(pair :storage
(set %owners address)
(pair (set %owners_signed address)
(option %last_proposition
(pair :proposition (key_hash %destination) (mutez %amount)))));
and the entry point i want to call is the sign_proposition