4

I am using folowing command:

./tezos-client originate contract TestContract for tz1address transferring 1 from tz1address running contes.fi --init 'pair (map "KT1address" 1) (map "KT1address" "2019-06-09 00:00:00")'

and get error:

Ill typed data: 1: (pair (map "KT1address" 1) 2: (map "KT1address" "2019-06-09 00:00:00")) is not an expression of type pair (map address mutez) (map address timestamp) From line 1 character 0 to line 2 character 71, value (pair (map "KT1address" 1) (map "KT1address" "2019-06-09 00:00:00")) is invalid for type pair (map address mutez) (map address timestamp). From line 1 character 0 to line 2 character 71, unexpected type name pair, only a constant constructor can be used here.

Please explain to me what i am doing wrong.

  • Nobody can help me?? – Chmoshk Jun 13 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.