Update Entwicklerdokumentation authored by s88999's avatar s88999
...@@ -95,33 +95,6 @@ Die Haupt-Smart Contracts für DEXWeb befinden sich im `contracts` Verzeichnis u ...@@ -95,33 +95,6 @@ Die Haupt-Smart Contracts für DEXWeb befinden sich im `contracts` Verzeichnis u
### DEXWeb.sol ### DEXWeb.sol
Ein beispielhafter Vertrag könnte so aussehen:
```solidity
pragma solidity ^0.8.0;
contract DEXWeb {
// Contract state variables
constructor() {
// Initial setup
}
function deposit(uint256 amount) public {
// Deposit logic
}
function withdraw(uint256 amount) public {
// Withdraw logic
}
function trade(address token, uint256 amount) public {
// Trading logic
}
// Additional functions and modifiers
}
```
--- ---
... ...
......