Abstract
Master data type extending MasterData with specific oracle configuration
Initialize the abstract master contract
Configuration parameters for the Evaa master
Protected
Optional
_dataProtected
_poolReadonly
addressProtected
Optional
Readonly
debugProtected
lastGet the current pool configuration
The pool configuration object
Abstract
buildBuilds general data payload for supply-withdraw operations
Supply-withdraw parameters (oracle-specific)
General data payload cell
Protected
buildProtected
Abstract
buildProtected
buildProtected
buildCalculates the user smart contract address for a given user and subaccount
The user's wallet address
The user contract code cell
Optional subaccount identifier (default: 0)
The calculated user contract address
Protected
createProtected
Creates a jetton transfer message with the provided parameters
Jetton transfer parameters
Default fee amount for the operation
Operation message cell to include
Complete jetton transfer message cell
Abstract
createCreates a supply operation message
Supply operation parameters
Complete supply message cell
Abstract
createCreates a supply-withdraw operation message
Oracle-specific supply-withdraw parameters
Complete supply-withdraw message cell
Protected
Abstract
getCreates a user contract instance for the given address and subaccount
The user's wallet address
Optional subaccount identifier (default: 0)
User contract instance
Abstract
sendSends a supply operation to the master contract
Contract provider instance
Sender instance
Transaction value in nanoTON
Supply operation parameters
Abstract
sendProtected
sync
Abstract base class for EVAA Master contracts
This class provides shared functionality for both Classic and Pyth master implementations, including message creation, validation, and transaction handling. Concrete implementations must override oracle-specific methods for withdraw/liquidation operations.
Implements