im tryng to send a operation to a previously deployed contract and im geting these errors,
error: "Operation Failed"
errors: (3) […]
0: {…}
contract: "KT18qHvhEZUwiawA8QEURwuK8RGJj184725L"
id: "proto.003-PsddFKi3.badContractParameter"
kind: "permanent"
<prototype>: Object { … }
1: {…}
expectedType: Object { prim: "or", args: (2) […], annots: (1) […] }
id: "proto.003-PsddFKi3.invalidConstantTypeError"
kind: "permanent"
location: 0
wrongExpression: Object { prim: "RIGHT", args: (2) […] }
<prototype>: Object { … }
2: {…}
expectedNamespace: "constant"
id: "proto.003-PsddFKi3.invalidPrimitiveNamespaceTypeError"
kind: "permanent"
location: 0
primitiveName: "RIGHT"
wrongNamespace: "instruction"
<prototype>: Object { … }
length: 3
<prototype>: [
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, can do u have any ideas on how to fix this?