<?php require __DIR__.'/../lib/bootstrap.php';if(!db())exit("Database connection failed. Update config/config.php first.\n");$accounts=array(array('FUNDZ Administrator','admin@fundz.ng','admin','FundzAdmin!2026'),array('Market Operations','operations@fundz.ng','operator','FundzOps!2026'),array('Demo Business','business@fundz.ng','business','FundzBusiness!2026'),array('FUNDZ Markets','provider@fundz.ng','provider','FundzProvider!2026'));foreach($accounts as $a){if(!db_one('SELECT id FROM users WHERE email=?',array($a[1])))db_exec('INSERT INTO users(name,email,password_hash,role,status,created_at) VALUES(?,?,?,?,"active",NOW())',array($a[0],$a[1],password_hash($a[3],PASSWORD_DEFAULT),$a[2]));}$sources=array(array('Wise','app','https://wise.com','api','wise',1),array('Remitly','app','https://remitly.com','browser','remitly',2),array('Taptap Send','app','https://taptapsend.com','scraper','taptap_send',3),array('Sendwave','app','https://sendwave.com','browser','sendwave',4),array('WorldRemit','app','https://worldremit.com','scraper','worldremit',5),array('LemFi','app','https://lemfi.com','browser','lemfi',6),array('NALA','app','https://nala.com','browser','nala',7),array('Western Union','app','https://westernunion.com','browser','western_union',8),array('MoneyGram','app','https://moneygram.com','browser','moneygram',9),array('Xe Money Transfer','app','https://xe.com','scraper','xe',10));foreach($sources as $s){if(!db_one('SELECT id FROM rate_sources WHERE module_key=?',array($s[4])))db_exec('INSERT INTO rate_sources(name,source_type,website_url,collection_method,module_key,priority,status,created_at) VALUES(?,?,?,?,?,?,"active",NOW())',$s);}echo "Seed complete.\n";