-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (48 loc) · 2.91 KB
/
Copy path.env.example
File metadata and controls
54 lines (48 loc) · 2.91 KB
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
# Sovryn Perimeter Fee — deployment inputs for scripts 01–04.
#
# cp .env.example .env && $EDITOR .env && source .env
#
# `.env` is gitignored; this template is not. It holds no secrets: the signing
# key stays in the Foundry keystore and is selected with `--account <name>`.
#
# Every variable below is REQUIRED. The scripts read them with vm.envAddress /
# vm.envUint / vm.envBool, which revert on an absent variable — there are no
# silent defaults, so a missing input stops the deploy instead of guessing.
# --- RPC -------------------------------------------------------------------
# foundry.toml exposes rsk_mainnet as "${RSK_MAINNET_RPC}"; the hardhat repos
# configure the same endpoint for rskSovrynMainnet. Pass it explicitly on every
# command (--rpc-url $RSK_RPC) rather than relying on a tool default.
export RSK_RPC=https://mainnet-dev.sovryn.app/rpc
export RSK_MAINNET_RPC=$RSK_RPC
# If a run stalls: https://mainnet.sovryn.app is the proven fallback. A stall is
# not a failed deploy — check the chain before doing anything, and never re-run
# a deploy script blind.
# Broadcasting waits longer than the default; an RPC hiccup otherwise looks like
# a dropped transaction when the transaction actually landed.
export ETH_TIMEOUT=300
# --- Ownership and administration ------------------------------------------
# All four are the Exchequer Multisig at launch. The vault and controller are
# deployed owned by the deployer, then handed over via Ownable2Step: the
# bootstrap scripts queue the transfer and the multisig accepts it separately.
export EXIT_FEE_VAULT_ADMIN=0x924f5ad34698Fd20c90Fe5D5A8A0abd3b42dc711
export EXIT_FEE_VAULT_RECIPIENT=0x924f5ad34698Fd20c90Fe5D5A8A0abd3b42dc711
export EXIT_FEE_CONTROLLER_ADMIN=0x924f5ad34698Fd20c90Fe5D5A8A0abd3b42dc711
export EXIT_FEE_OPERATIONAL_ADMIN=0x924f5ad34698Fd20c90Fe5D5A8A0abd3b42dc711
# --- Launch rates, in basis points -----------------------------------------
# 10 bps = 0.10% on each charging surface. The AMM surface is written inactive
# by the bootstrap and takes no rate: nothing consumes it in this release.
export PERIMETER_LENDING_LENDER_BPS=10
export PERIMETER_LENDING_BORROWER_BPS=10
export PERIMETER_ZERO_WITHDRAW_COLL_BPS=10
export PERIMETER_ZERO_CLAIM_SURPLUS_BPS=10
# --- Charging switch --------------------------------------------------------
# The release invariant: deploy disabled. Charging is enabled only after
# governance executes and every checkpoint is green. Setting this true at
# deploy time would charge users before the vote.
export PERIMETER_ENABLE_AT_DEPLOY=false
# --- Filled in mid-deploy ---------------------------------------------------
# Not knowable up front: script 01 deploys the vault, and script 04 needs its
# proxy address to wire the controller's fee receiver. Export it after 01 and
# before 04 — script 04 reverts without it rather than bootstrapping a
# controller that could never pay a fee anywhere.
# export EXIT_FEE_VAULT_PROXY=0x...