A quick Solidity
→ Sway
cross reference for the most commonly used items
If something is missing here you can most likely find it in the Sway STD Library
contract;
abi MyContract {
fn test_function() -> bool;
}
impl MyContract for Contract {
fn test_function() -> bool {
true
}
}