- Ton-Dynasty has designed a protocol that can achieve the following two functionalities:
- On-Chain Functionality: Users can subscribe to events occurring on-chain, including:
- DeFi protocols
- Oracles
- Airdrop events
- Other smart contracts
- Off-Chain Functionality: Through off-chain computations, signals are transmitted to on-chain contracts to execute related programs, including:
- Smart contract vulnerability detection
- Machine learning-based intelligent position signals
- Blacklist monitoring
- Whale account transfer notifications
- On-Chain Functionality: Users can subscribe to events occurring on-chain, including:
Users can customize their own code or utilize built-in smart contracts to automatically execute program operations when specific signals are received.
Every thing is a SIGNAL.
For example, a change in the status of a DeFi protocol, a price provided by an Oracle, a user's transaction, or an airdrop event can all be considered a SIGNAL.
For example, users can use Eventon to subscribe to an Oracle and set it up so that when the Oracle emits the price of ETH at $1600 USD, Eventon will automatically execute the user's custom actions.
Any user can add stake for earning by simply staking a certain amount of TON on Eventon, which allows them to receive a corresponding reward in TON.
The workflow of Eventon is presented as follows:
The complete system architecture diagram for Eventon is as follows:
contracts
- source code of all the smart contracts of the project and their dependencies.wrappers
- wrapper classes (implementingContract
from ton-core) for the contracts, including any [de]serialization primitives and compilation functions.tests
- tests for the contracts.scripts
- scripts used by the project, mainly the deployment scripts.
deployer
: EQCizWtlx_pydcxDH83X_EjirryPj0MqfFVqk9sz_3lpIRz3
Universal Router
: EQCuzDGZUvIkyQWviIplz_lSLkg69WeP4NqgwHese-Qi9xBB
Event Source (Bug Detector)
: EQDoog68bootdz4nfENLrJuHvxepYyhHJRbHO9mtZkkHRPti
UserDefaultCallback (Bug Detector)
: EQAvl_1DoWeXAtk7UFBevxcEbuP8R95eYnf_NQCJuqCN-YI9
yarn
yarn build
yarn test
npx blueprint run
for contract
yarn add -W typescript
for monorepop @eventon/sdk
yarn workspace @eventon/sdk add typescript -D