-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
110 lines (90 loc) · 2.64 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "apepay"
dynamic = ["version"]
description = "Python SDK for ApePay"
authors = [{ name = "ApeWorX LTD", email = "[email protected]" }]
license = { text = "Apache 2.0" }
readme = "README.md"
requires-python = ">=3.10,<4"
dependencies = ["eth-ape>=0.8.24,<1", "pydantic>=2.7,<3"]
[project.optional-dependencies]
bot = ["silverback>=0.5,<1"]
lint = [
"flake8",
"black",
"isort",
"mypy",
# NOTE: Be able to lint our silverback add-ons
"apepay[bot]",
]
test = ["ape-titanoboa>=0.8.0.a1"]
dev = ["apepay[bot,lint,test]"]
[tool.setuptools.packages.find]
where = ["sdk/py"]
[tool.setuptools.package-data]
apepay = ["manifest.json", "py.typed"]
[tool.setuptools_scm]
# NOTE: Config entry needed for this plugin to function
# NOTE: Can delete this once https://github.com/ApeWorX/ape/pull/2461
# is available.
[tool.ape]
name = "apepay"
plugins = [
{ name = "arbitrum" },
{ name = "optimism" },
{ name = "titanoboa" },
{ name = "vyper" },
]
[tool.ape.compile]
output_extra = ["ABI"]
[tool.ape.ethereum.local]
default_provider = "boa"
[tool.ape.deployments.ethereum]
[[tool.ape.deployments.ethereum.sepolia]]
contract_type = "StreamFactory"
address = "0x92823EB2DB42b8df354EDB5A1FB3668057e2935D"
salt = "ApePay v0.3"
[[tool.ape.deployments.ethereum.sepolia]]
contract_type = "StreamManager"
address = "0x6A1aa538ebB85Fd98655eCEe5EaB7D9cb3cbCD2B"
salt = "ApePay v0.3"
blueprint = true
[[tool.ape.deployments.arbitrum.mainnet]]
contract_type = "StreamFactory"
address = "0x92823EB2DB42b8df354EDB5A1FB3668057e2935D"
salt = "ApePay v0.3"
[[tool.ape.deployments.arbitrum.mainnet]]
contract_type = "StreamManager"
address = "0x6A1aa538ebB85Fd98655eCEe5EaB7D9cb3cbCD2B"
salt = "ApePay v0.3"
blueprint = true
[[tool.ape.deployments.optimism.mainnet]]
contract_type = "StreamFactory"
address = "0x92823EB2DB42b8df354EDB5A1FB3668057e2935D"
salt = "ApePay v0.3"
[[tool.ape.deployments.optimism.mainnet]]
contract_type = "StreamManager"
address = "0x6A1aa538ebB85Fd98655eCEe5EaB7D9cb3cbCD2B"
salt = "ApePay v0.3"
blueprint = true
[[tool.ape.test.gas.exclude]]
contract_name = "Test*"
[[tool.ape.test.coverage.exclude]]
contract_name = "Test*"
[tool.ape.test.coverage.reports.terminal]
verbose = true
[tool.black]
line-length = 100
target-version = ["py311"]
include = '\.pyi?$'
exclude = 'node_modules|migrations|build/|buck-out/|dist/|_build/|\.git/|\.hg/|\.mypy_cache/|\.tox/|\.venv/'
[tool.isort]
line_length = 100
force_grid_wrap = 0
include_trailing_comma = true
multi_line_output = 3
use_parentheses = true
src_paths = ["scripts", "tests", "sdk/py/apepay"]