On-Chain Decentralized Learning and Cost-Effective Inference for DeFi Attack Mitigation | Arena Library | Arena