Changes
Page history
Update Entwicklerdokumentation
authored
May 23, 2024
by
s88999
Show whitespace changes
Inline
Side-by-side
Entwicklerdokumentation.md
View page @
39fe62b9
...
@@ -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
}
```
---
---
...
...
...
...