Skip to content

Commit a4312da

Browse files
authored
Merge pull request #1 from tinymanorg/dca-support
Recurring Order Support
2 parents 30f764c + 863cff1 commit a4312da

25 files changed

+6118
-1281
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Parameters
1010
Licensor: TM Distributed Development Ltd
1111

1212
Licensed Work: Tinyman Order Protocol Contracts
13-
The Licensed Work is (c) 2024 TM Distributed Development Ltd
13+
The Licensed Work is (c) 2025 TM Distributed Development Ltd
1414
Additional Use Grant: None
1515

16-
Change Date: 2026-12-01
16+
Change Date: 2027-06-01
1717

1818
Change License: GNU General Public License v2.0 or later
1919

README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Tinyman Order Protocol
2+
3+
This repo contains the contracts that form the Tinyman Order Protocol system.
4+
5+
### Docs
6+
7+
User docs for Tinyman Orders can be found at [docs.tinyman.org](https://docs.tinyman.org).
8+
9+
10+
### Contracts
11+
The contracts are written in [Tealish](https://github.com/tinymanorg/tealish).
12+
The specific version of Tealish is https://github.com/tinymanorg/tealish/tree/109a2f2e74549307fb002298f4189df3f0ed7c4f.
13+
14+
The annotated TEAL outputs and compiled bytecode are available in the build subfolders.
15+
16+
17+
### Security
18+
#### Reporting a Vulnerability
19+
Reports of potential flaws must be responsibly disclosed to security@tinyman.org. Do not share details with anyone else until notified to do so by the team.
20+
21+
22+
### Installing Dependencies
23+
Note: Mac OS & Linux Only
24+
25+
```
26+
% python3 -m venv ~/envs/tinyman-order-protocol
27+
% source ~/envs/tinyman-order-protocol/bin/activate
28+
(tinyman-order-protocol) % pip install -r requirements.txt
29+
(tinyman-order-protocol) % python -m algojig.check
30+
```
31+
32+
We recommend using VS Code with this Tealish extension when reviewing contracts written in Tealish: https://github.com/thencc/TealishVSCLangServer/blob/main/tealish-language-server-1.0.0.vsix
33+
34+
35+
### Running Tests
36+
37+
```
38+
# Run all tests (this can take a while)
39+
(tinyman-order-protocol) % python -m unittest -v
40+
41+
```
42+
43+
Note: The tests read the `.tl` Tealish source files from the contracts directories, not the `.teal` build files.
44+
45+
46+
### Compiling the Contract Sources
47+
48+
```
49+
# Compile each set of contracts to generate the `.teal` files in the `build` subdirectories:
50+
(tinyman-order-protocol) % tealish compile contracts/order
51+
(tinyman-order-protocol) % tealish compile contracts/registry
52+
```
53+
54+
### Licensing
55+
56+
The contents of this repository are licensed under the Business Source License 1.1 (BUSL-1.1), see [LICENSE](LICENSE).

contracts/order/build/order_approval.map.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)