-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrosera.toml
More file actions
17 lines (15 loc) · 1.17 KB
/
drosera.toml
File metadata and controls
17 lines (15 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ethereum_rpc = "https://geth.devnet.drosera.io"
drosera_rpc = "https://relay.devnet.drosera.io"
drosera_address = "0x7E1b5cA35bd6BcAe8Ff33C0dDf79EffCFf0Ad19e"
[traps]
[traps.mytrap]
path = "contracts/out/BrambleTrapV2.sol/BrambleTrapV2.json"
response_contract = "0x31b473670bD21d4B4b4Ff30550eAF655092E97dA" # address of the contract that will be called
response_function = "processPendingRequests((address[],bytes32[],(uint8,bytes32,bool)[][]))" # function to call on the contract
cooldown_period_blocks = 0 # how long to wait before the trap can be triggered again
min_number_of_operators = 1 # minimum number of operators required to trigger the trap
max_number_of_operators = 2 # maximum number of operators that can trigger the trap
block_sample_size = 2 # how many blocks to sample to determine the price of the trap
private_trap = true # if true, the trap can only be opted in by the whitelist of operators. Best for testing.
whitelist = ["0x76693Bf77B68f0bb9c551Ad9E73b966A968F039b", "0x1f4cf01fee79b881e37b61b03e5721d6d2dbcff9", "0xbcfee287a9034b076286d00c649e9a54da86745a"] # list of operator addresses that can trigger the trap
address = "0x7199593c9990F8F95b9b0A560E9Ea26f5Df4d51e"