The contract is meant to allow transfers only from the admin. I what to initialized the admin address at origination.
parameter (or (unit %default) (pair %admin_transfer (address %destination) (mutez %amount)));
storage (pair (address %administrator) (unit %dummy));
code
{ ... }
I'm trying originate this with the tezos-client:
tezos-client originate contract admin-transfer transfering 10 from admin-address running path/admin-transfer --init ??? --burn-cap 10
I tried several variations on --init '(Pair "tz1..." unit)
with no luck. What is the argument that I need? If you know of any resources with multiple examples on how to use –init, I would appreciate it.