$vote->getRouteKey(), 'key' => [ 'public' => $vote->getPublicKey(), 'route' => $vote->getRouteKey(), ], 'user_id' => $vote->user_id, 'proposal' => $vote->proposal, 'ether_address' => $vote->ether_address, 'url' => [ 'public' => trans_url('vote/'.$vote->getPublicKey()), 'user' => guard_url('vote/vote/'.$vote->getRouteKey()), ], 'status' => trans('app.'.$vote->status), 'created_at' => format_date($vote->created_at), 'updated_at' => format_date($vote->updated_at), ]; } }