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

128 add liquidity for swap tokens #160

Merged
merged 5 commits into from
Jun 29, 2024
Merged
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
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ cache/
out/

# Ignores development broadcast logs
!/broadcast
/broadcast/*/31337/
/broadcast/**/dry-run/
broadcast/
contracts/broadcast/*
lib/

# Docs
docs/
Expand Down
1 change: 0 additions & 1 deletion abi/UserRegistry.json

This file was deleted.

21 changes: 0 additions & 21 deletions abi/address.txt

This file was deleted.

130 changes: 65 additions & 65 deletions contracts/.env.example
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
## Network (MAINNET, ROPSTEN, RINKEBY, KOVAN, GOERLI, SEPOLIA)
DEPLOYMENT_NETWORK=
## RPC (ALCHEMY, INFURA)
RPC=

## ------------------------------
## ------- SEPOLIA CONFIG -------
## ------------------------------

## AccessManager Deployer
MNEMONIC_SEPOLIA=
INDEX_SEPOLIA= # https://river.com/learn/images/articles/BIP-32-Hierarchial-Deterministic-Wallets.png

## Addresses for AccessManager
INITIAL_HOLDER_SEPOLIA= # Optional
ADMIN_SEPOLIA=
UPGRADER_SEPOLIA=
UPGRADER_ADMIN_SEPOLIA= # Optional
UPGRADER_GUARDIAN_SEPOLIA= # Optional
CALLER_SEPOLIA=
CALLER_ADMIN_SEPOLIA= # Optional
CALLER_GUARDIAN_SEPOLIA= # Optional
MINTER_SEPOLIA=
MINTER_ADMIN_SEPOLIA= # Optional
MINTER_GUARDIAN_SEPOLIA= # Optional

## RPC API Keys
API_KEY_ALCHEMY_SEPOLIA=
API_KEY_INFURA_SEPOLIA=

## Block explorer API Keys
API_KEY_ETHERSCAN_SEPOLIA=

## Misc
FOUNDRY_PROFILE=default

## -------------------------------
## ------- MAINNETS CONFIG -------
## -------------------------------

## AccessManager Deployer
MNEMONIC_MAINNET=
INDEX_MAINNET= # https://river.com/learn/images/articles/BIP-32-Hierarchial-Deterministic-Wallets.png

## Addresses for AccessManager
INITIAL_HOLDER_MAINNET= # Optional
ADMIN_MAINNET=
UPGRADER_MAINNET=
UPGRADER_ADMIN_MAINNET= # Optional
UPGRADER_GUARDIAN_MAINNET= # Optional
CALLER_MAINNET=
CALLER_ADMIN_MAINNET= # Optional
CALLER_GUARDIAN_MAINNET= # Optional
MINTER_MAINNET=
MINTER_ADMIN_MAINNET= # Optional
MINTER_GUARDIAN_MAINNET= # Optional

## RPC API Keys
API_KEY_ALCHEMY_MAINNET=
API_KEY_INFURA_MAINNET=

## Block explorer API Keys
API_KEY_ETHERSCAN_MAINNET=

## Misc
## Network (MAINNET, ROPSTEN, RINKEBY, KOVAN, GOERLI, SEPOLIA)
DEPLOYMENT_NETWORK=
## RPC (ALCHEMY, INFURA)
RPC=
## ------------------------------
## ------- SEPOLIA CONFIG -------
## ------------------------------
## AccessManager Deployer
MNEMONIC_SEPOLIA=
INDEX_SEPOLIA= # https://river.com/learn/images/articles/BIP-32-Hierarchial-Deterministic-Wallets.png
## Addresses for AccessManager
INITIAL_HOLDER_SEPOLIA= # Optional
ADMIN_SEPOLIA=
UPGRADER_SEPOLIA=
UPGRADER_ADMIN_SEPOLIA= # Optional
UPGRADER_GUARDIAN_SEPOLIA= # Optional
CALLER_SEPOLIA=
CALLER_ADMIN_SEPOLIA= # Optional
CALLER_GUARDIAN_SEPOLIA= # Optional
MINTER_SEPOLIA=
MINTER_ADMIN_SEPOLIA= # Optional
MINTER_GUARDIAN_SEPOLIA= # Optional
## RPC API Keys
API_KEY_ALCHEMY_SEPOLIA=
API_KEY_INFURA_SEPOLIA=
## Block explorer API Keys
API_KEY_ETHERSCAN_SEPOLIA=
## Misc
FOUNDRY_PROFILE=default
## -------------------------------
## ------- MAINNETS CONFIG -------
## -------------------------------
## AccessManager Deployer
MNEMONIC_MAINNET=
INDEX_MAINNET= # https://river.com/learn/images/articles/BIP-32-Hierarchial-Deterministic-Wallets.png
## Addresses for AccessManager
INITIAL_HOLDER_MAINNET= # Optional
ADMIN_MAINNET=
UPGRADER_MAINNET=
UPGRADER_ADMIN_MAINNET= # Optional
UPGRADER_GUARDIAN_MAINNET= # Optional
CALLER_MAINNET=
CALLER_ADMIN_MAINNET= # Optional
CALLER_GUARDIAN_MAINNET= # Optional
MINTER_MAINNET=
MINTER_ADMIN_MAINNET= # Optional
MINTER_GUARDIAN_MAINNET= # Optional
## RPC API Keys
API_KEY_ALCHEMY_MAINNET=
API_KEY_INFURA_MAINNET=
## Block explorer API Keys
API_KEY_ETHERSCAN_MAINNET=
## Misc
FOUNDRY_PROFILE=default
6 changes: 3 additions & 3 deletions contracts/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib
node_modules
cache
lib
node_modules
cache
out
30 changes: 15 additions & 15 deletions contracts/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"plugins": ["prettier-plugin-solidity"],
"overrides": [
{
"files": "*.sol",
"options": {
"parser": "solidity-parse",
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
}
]
{
"plugins": ["prettier-plugin-solidity"],
"overrides": [
{
"files": "*.sol",
"options": {
"parser": "solidity-parse",
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
}
}
]
}
Loading