<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Asset extends Model { protected $fillable=['code','name','network','contract_address','decimals','min_amount_atomic','confirmation_policy','enabled','provider','provider_chain_id','provider_token_id','provider_currency','deposit_enabled','payout_enabled','provider_synced_at','provider_metadata']; protected function casts():array{return ['confirmation_policy'=>'array','enabled'=>'boolean','deposit_enabled'=>'boolean','payout_enabled'=>'boolean','provider_synced_at'=>'datetime','provider_metadata'=>'array'];} }
