mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-23 17:28:23 +00:00
## DataHaven Native Transfer Precompile Implements EVM precompile at address `0x00000000000000000000000000000007F5` (2073) to expose `pallet-datahaven-native-transfer` functionality to the EVM layer. ### Features - **Transfer to Ethereum**: Locks native tokens and sends them via Snowbridge to Ethereum addresses - **Pause/Unpause**: Admin controls to halt/resume transfers - **View Functions**: Query paused state, total locked balance, and sovereign account address ### Implementation - Precompile using `#[precompile_utils::precompile]` macro with proper gas accounting - 15+ test cases covering success/failure scenarios - Solidity interface with NatSpec documentation for contract integration Enables seamless cross-chain transfers of DataHaven native tokens to Ethereum L1. --------- Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Co-authored-by: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| batch | ||
| call-permit | ||
| collective | ||
| conviction-voting | ||
| datahaven-native-transfer | ||
| erc20-balances | ||
| identity | ||
| precompile-registry | ||
| preimage | ||
| proxy | ||
| referenda | ||