Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link

Icon LinkSolidity

A quick SoliditySway cross reference for the most commonly used items

  • block.timestamp
  • msg.sender
  • etc

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
    }
}