feat: interept
This commit is contained in:
@@ -12,6 +12,11 @@ class TransferRecord extends Model
|
||||
|
||||
public const TYPE_OUT = 'out';
|
||||
|
||||
public static function isFeeTopup(?string $operator): bool
|
||||
{
|
||||
return str_starts_with(trim((string) $operator), 'fee-topup');
|
||||
}
|
||||
|
||||
protected $fillable = [
|
||||
'from_address',
|
||||
'to_address',
|
||||
|
||||
Reference in New Issue
Block a user