RAISE Contracts
The world's first self-upgrading, actor-based smart contract system, exclusive to the XOLIXBlock platform.
The Rigidity of Traditional Smart Contracts
Traditional smart contracts, like those on Ethereum, are immutable. Once deployed, their code cannot be changed. While this provides trust, it also creates significant problems: bugs are permanent, security vulnerabilities cannot be patched, and upgrades require complex and risky migration processes.
The RAISE Solution: Resilient, Actor-based, Isolated, and Stateful Execution
RAISE Contracts, a proprietary innovation from Questdriem Echo, are a new smart contract paradigm. They are built on the actor model, where each contract is an isolated "actor" that communicates with others through asynchronous messages. This design, combined with a stateful migration system, allows for seamless upgrades and eliminates entire classes of vulnerabilities.
RAISE Contracts separate a contract's logic from its state. This allows developers to deploy new logic and have the contract's existing state "migrate" to it without requiring users to move their funds or interact with a new address.
How It Works
- A RAISE contract is deployed with its initial logic and state storage.
- When an upgrade is needed, the developer deploys a new version of the contract logic.
- Through a DAO governance vote, the upgrade is approved.
- The XOLIXBlock protocol then atomically "points" the contract's state storage to the new logic address. The old logic is deprecated.
- All new interactions with the contract address are now handled by the new, upgraded logic, while still operating on the original, persistent state.
Key Advantages
- Built-in Reentrancy Protection: The actor model's asynchronous message-passing inherently prevents reentrancy attacks, as there is no re-entrant call stack.
- Seamless Upgrades: Fix bugs and add features without requiring users to migrate funds or interact with new contracts.
- Modular and Isolated: Each contract is an independent actor, reducing the risk of cascading failures across protocols.
- Gas Efficiency: The actor model can optimize gas usage by handling state changes more efficiently than traditional call-stack based models.