Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kinto <> USDC integration #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,34 @@ TOKEN_DECIMALS=6
# [OPTIONAL] The address to a deployed FiatToken implementation contract.
# FIAT_TOKEN_IMPLEMENTATION_ADDRESS=

##############################
# Kinto contracts #
##############################=
ENTRYPOINT=
KINTO_WALLET_FACTORY=

# The address of the FiatTokenProxy's admin.
# MUST BE A KINTO WALLET
PROXY_ADMIN_ADDRESS=

# The address of the FiatToken's owner.
# MUST BE A KINTO WALLET (different than PROXY_ADMIN_ADDRESS)
OWNER_ADDRESS=

# The address of the MasterMinter's owner.
# MUST BE A KINTO WALLET
MASTER_MINTER_OWNER_ADDRESS=

# [OPTIONAL] The address of the FiatToken's pauser. Defaults to the owner address.
# MUST BE A KINTO WALLET
# PAUSER_ADDRESS=

# [OPTIONAL] The address of the FiatToken's blacklister. Defaults to the owner address.
# MUST BE A KINTO WALLET
# BLACKLISTER_ADDRESS=

# [OPTIONAL] The address to which locked funds are sent to. Only applicable for version 2 -> 2.1 upgrades. Defaults to the owner address.
# MUST BE A KINTO WALLET
# LOST_AND_FOUND_ADDRESS=

##########################
Expand All @@ -71,6 +83,22 @@ MASTER_MINTER_OWNER_ADDRESS=
# The percentage to multiply gas usage estimations by (eg. 200 to double the estimation). Defaults to 130.
GAS_MULTIPLIER=110

################################
# Celo Specific Configurations #
################################

# [OPTIONAL] The address to a deployed FiatTokenCelo implementation contract.
# FIAT_TOKEN_CELO_IMPLEMENTATION_ADDRESS=

# [OPTIONAL] The address to a deployed FiatTokenProxy contract for FiatTokenCeloV2_2. Required for Celo Fee Adapter deployment.
# FIAT_TOKEN_CELO_PROXY_ADDRESS=

# [OPTIONAL] The address of the Fee Adapter Proxy's admin. Required for Celo Fee Adapter deployment.
# FEE_ADAPTER_PROXY_ADMIN_ADDRESS=

# [OPTIONAL] The number of decimals to scale the USDC contract to. Required for Celo Fee Adapter deployment.
# FEE_ADAPTER_DECIMALS=

################################
# Miscellaneous Configurations #
################################
Expand All @@ -79,3 +107,6 @@ BLACKLIST_FILE_NAME=blacklist.remote.json

# [OPTIONAL] The API key to an Etherscan flavor block explorer.
# ETHERSCAN_KEY=

# [OPTIONAL] The number of runs the Solidity optimizers should perform. Defaults to 10000000.
# OPTIMIZER_RUNS=
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ on:
branches: [master]
pull_request:

# Celo USDC contracts violate Spurious Dragon with existing configs, so
# we need to lower the number of runs to decrease the contract size.
env:
OPTIMIZER_RUNS: 81250

jobs:
run_ci_tests:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"options": {
"proseWrap": "always"
}
},
{
"files": ".github/pull_request_template.md",
"options": {
"proseWrap": "never"
}
}
]
}
Loading