-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
31 lines (26 loc) · 1.21 KB
/
foundry.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
[profile.default]
src = "contracts"
out = "out"
libs = ["lib"]
# Required to invoke `curl`, used to query the Mirror Node for remote state.
# This flag needs to be enabled to be able to use `HtsSystemContractJson`/`MirrorNodeFFI`.
# https://book.getfoundry.sh/cheatcodes/ffi
ffi = true
# Extra output to include in the contract’s artifact.
# https://book.getfoundry.sh/reference/config/solidity-compiler#extra_output
#
# See `outputSelection` property in Input Description
# https://docs.soliditylang.org/en/latest/using-the-compiler.html#input-description
extra_output = [
# Used by `getHtsStorageAt` to create the slot map when retrieving token info
"storageLayout", # Slots, offsets and types of the contract's state variables in storage
# Used to extract `function` and `event` docs to be included in the `README`
"userdoc", # User documentation (natspec)
"devdoc", # Developer documentation (natspec)
]
# Grant (test) contracts access to read files (`vm.readFile`) from the specified folders.
fs_permissions = [
{ access = "read", path = "./src"},
{ access = "read", path = "./test/data"},
]
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options