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

feat(networks): extract explicit terminal and vault configs #469

Open
wants to merge 3 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
4 changes: 4 additions & 0 deletions docs/deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Last updated: November 8, 2024.
| Dummy executor | DummyExecutor | `0x6a9DC7deAbF360ca573a2Db459B96e11e490480c`[↗](https://polygonscan.com/address/0x6a9DC7deAbF360ca573a2Db459B96e11e490480c) | `986948a`[↗](https://github.com/layer-3/dailyclaim/blob/986948aa1cc3b9a45daba3f4efc35738ca9265fa/src/voucher/executors/DummyExecutor.sol) | |
| Points claimer for Leaderboard | ClaimExecutor | `0x0fb43b1CE0016df92e945155a7EADD3C9F2b2830`[↗](https://polygonscan.com/address/0x0fb43b1CE0016df92e945155a7EADD3C9F2b2830) | `cadfd37`[↗](https://github.com/layer-3/dailyclaim/blob/cadfd378c76f3ce777cd59e1d5d261b9c4d6fd1d/src/voucher/executors/ClaimExecutor.sol) | |
| Outside range authorizer | TimeRangeAuthorizer | `0xa6c9B137fddd907d2bCb1CE2bcafFA2075125D6c`[↗](https://polygonscan.com/address/0xa6c9B137fddd907d2bCb1CE2bcafFA2075125D6c) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/vault/TimeRangeAuthorizer.sol) | Time range is set to Nov 14th 00:00:00 - Jan 13th 23:59:59 UTC |
| Test True Authorizer | TrueAuthorize | `0xA4c938682301A0241d37ac702dd9a743ced03202`[↗](https://polygonscan.com/address/0xA4c938682301A0241d37ac702dd9a743ced03202) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/vault/test/MockedAuthorizer.sol) | |
| Test Yellow Vault | LiteVault | `0x65d5579aC0420D05888D226f3276788aFa3864b3`[↗](https://polygonscan.com/address/0x65d5579aC0420D05888D226f3276788aFa3864b3) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/vault/LiteVault.sol) | |

### Base

Expand Down Expand Up @@ -136,6 +138,8 @@ Last updated: December 11, 2024.
| Yellow Vault | LiteVault | `0xb5F3a9dD92270f55e55B7Ac7247639953538A261`[↗](https://scrollscan.com/address/0xb5F3a9dD92270f55e55B7Ac7247639953538A261) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/vault/LiteVault.sol) | |
| Yellow Voucher Router | VoucherRouter | `0x852b6eF2fBF26f25d1096CDd24bD6f5F9D62B301`[↗](https://scrollscan.com/address/0x852b6eF2fBF26f25d1096CDd24bD6f5F9D62B301) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/voucher/VoucherRouter.sol) | |
| Points claimer for Leaderboard | ClaimExecutor | `0x5df971419a39CC846B801b22D56Af59234b86238`[↗](https://scrollscan.com/address/0x5df971419a39CC846B801b22D56Af59234b86238) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/voucher/executors/ClaimExecutor.sol) | |
| Test True Authorizer | TrueAuthorize | `0xA4c938682301A0241d37ac702dd9a743ced03202`[↗](https://scrollscan.com/address/0xA4c938682301A0241d37ac702dd9a743ced03202) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/vault/test/MockedAuthorizer.sol) | |
| Test Yellow Vault | LiteVault | `0x65d5579aC0420D05888D226f3276788aFa3864b3`[↗](https://scrollscan.com/address/0x65d5579aC0420D05888D226f3276788aFa3864b3) | `dc84b5e`[↗](https://github.com/layer-3/broker-contracts/blob/dc84b5e1a30db420ff3b881a74fca6f4556fbc36/src/vault/LiteVault.sol) | |

## Testnet

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions networks/vault/preproduction/137/wallet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"paymaster": [],
"litevault": "0x65d5579aC0420D05888D226f3276788aFa3864b3",
"transactions": {
"withdrawal": "native",
"swap": "native",
"lock": "sponsor",
"unlock": "native",
"daily_claim": "native",
"daily_claim_tap_app": "sponsor",
"mint_tap_app": "sponsor",
"base": "native"
}
}
12 changes: 12 additions & 0 deletions networks/vault/preproduction/534352/wallet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"paymaster": [],
"litevault": "0x65d5579aC0420D05888D226f3276788aFa3864b3",
"transactions": {
"withdrawal": "native",
"swap": "native",
"lock": "sponsor",
"unlock": "native",
"daily_claim": "native",
"base": "native"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
298 changes: 298 additions & 0 deletions networks/vault/production/1/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,298 @@
{
"tokens": [
{
"address": "0x90b7E285ab6cf4e3A2487669dba3E339dB8a3320",
"name": "Yellow Duckies",
"symbol": "DUCKIES",
"decimals": 8,
"precision": 0,
"logoURI": "https://www.yellow.org/images/duckies_200x200.png"
},
{
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"name": "USD Tether",
"symbol": "USDT",
"decimals": 6,
"precision": 4,
"logoURI": "https://cryptologos.cc/logos/tether-usdt-logo.png",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "tether"
}
},
{
"address": "0xae78736Cd615f374D3085123A210448E74Fc6393",
"name": "TokenRocket Pool ETH",
"symbol": "rETH",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/20764/standard/reth.png",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "ethereum",
"locking_multiplier": 1.5
}
},
{
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"name": "USD Coin",
"symbol": "USDC",
"alias": "USD",
"decimals": 6,
"precision": 4,
"logoURI": "https://assets.coingecko.com/coins/images/6319/large/usdc.png?1696506694",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "usd-coin"
}
},
{
"address": "0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE",
"name": "SHIBA INU",
"symbol": "SHIB",
"decimals": 18,
"precision": 0,
"logoURI": "https://s2.coinmarketcap.com/static/img/coins/64x64/5994.png"
},
{
"address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
"name": "Wrapped Bitcoin",
"symbol": "WBTC",
"decimals": 8,
"precision": 6,
"logoURI": "https://s2.coinmarketcap.com/static/img/coins/64x64/3717.png",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "wrapped-bitcoin"
}
},
{
"address": "0x0000000000000000000000000000000000000000",
"name": "Ether",
"symbol": "ETH",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/279/standard/ethereum.png?1696501628",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "ethereum"
}
},
{
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/279/standard/ethereum.png?1696501628",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "weth"
}
},
{
"address": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"name": "Wrapped Liquid Staked Ether 2.0",
"symbol": "wstETH",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/18834/standard/wstETH.png",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "ethereum",
"locking_multiplier": 1.5
}
},
{
"address": "0xD31a59c85aE9D8edEFeC411D448f90841571b89c",
"name": "Wrapped Solana",
"symbol": "WSOL",
"decimals": 9,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/4128/standard/solana.png?1696504756",
"extensions": {}
},
{
"address": "0xB8c77482e45F1F44dE1745F52C74426C631bDD52",
"name": "BNB",
"symbol": "BNB",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/825/standard/bnb-icon2_2x.png?1696501970",
"extensions": {}
},
{
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"name": "Dai Stablecoin",
"symbol": "DAI",
"decimals": 18,
"precision": 6,
"logoURI": "https://lineascan.build/token/images/daistablecoin_32.png",
"extensions":
{
"allow_locking": true,
"coingecko_api_id": "dai"
}
},
{
"address": "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
"name": "Pepe",
"symbol": "PEPE",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776",
"extensions": {}
},
{
"address": "0x3472a5a71965499acd81997a54bba8d852c6e53d",
"name": "Badger",
"symbol": "BADGER",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/13287/standard/badger_dao_logo.jpg?1696513059",
"extensions": {}
},
{
"address": "0xcf0c122c6b73ff809c693db761e7baebe62b6a2e",
"name": "FLOKI",
"symbol": "FLOKI",
"decimals": 9,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/16746/standard/PNG_image.png?1696516318",
"extensions": {}
},
{
"address": "0xb131f4a55907b10d1f0a50d8ab8fa09ec342cd74",
"name": "Memecoin",
"symbol": "MEME",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/32528/standard/memecoin_%282%29.png?1698912168",
"extensions": {}
},
{
"address": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
"name": "Uniswap",
"symbol": "UNI",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/12504/standard/uni.jpg?1696512319",
"extensions": {}
},
{
"address": "0x6B3595068778DD592e39A122f4f5a5cF09C90fE2",
"name": "SushiSwap",
"symbol": "SUSHI",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/12271/standard/512x512_Logo_no_chop.png?1696512101",
"extensions": {}
},
{
"address": "0x43Dfc4159D86F3A37A5A4B3D4580b888ad7d4DDd",
"name": "DODO bird",
"symbol": "DODO",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/12651/standard/dodo_logo.png?1696512458",
"extensions": {}
},
{
"address": "0x62D0A8458eD7719FDAF978fe5929C6D342B0bFcE",
"name": "Beam",
"symbol": "BEAM",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/32417/standard/chain-logo.png?1698114384",
"extensions": {}
},
{
"address": "0x3506424F91fD33084466F402d5D97f05F8e3b4AF",
"name": "Chiliz",
"symbol": "CHZ",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/8834/standard/CHZ_Token_updated.png?1696508986",
"extensions": {}
},
{
"address": "0xc770eefad204b5180df6a14ee197d99d808ee52d",
"name": "FOX",
"symbol": "FOX",
"decimals": 18,
"precision": 6,
"logoURI": "https://s2.coinmarketcap.com/static/img/coins/64x64/8200.png",
"extensions": {}
},
{
"address": "0x582d872A1B094FC48F5DE31D3B73F2D9bE47def1",
"name": "Wrapped Toncoin",
"symbol": "WTON",
"decimals": 9,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/17980/standard/ton_symbol.png?1696517498",
"extensions": {}
},
{
"address": "0xac57de9c1a09fec648e93eb98875b212db0d460b",
"name": "Baby Doge",
"symbol": "BabyDoge",
"decimals": 9,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/16125/standard/babydoge.jpg?1696515731",
"extensions": {}
},
{
"address": "0x38E68A37E401F7271568CecaAc63c6B1e19130B4",
"name": "Banana Gun",
"symbol": "BANANA",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/17521/standard/banana-token-cg.png?1696517059",
"extensions": {}
},
{
"address": "0x761d38e5ddf6ccf6cf7c55759d5210750b5d60f3",
"name": "Dogelon",
"symbol": "ELON",
"decimals": 18,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/14962/standard/6GxcPRo3_400x400.jpg?1696514622",
"extensions": {}
},
{
"address": "0x8390a1DA07E376ef7aDd4Be859BA74Fb83aA02D5",
"name": "GROK",
"symbol": "GROK",
"decimals": 9,
"precision": 6,
"logoURI": "https://assets.coingecko.com/coins/images/32788/standard/GROK.png?1707579427",
"extensions": {}
},
{
"address": "0x9aACaCC094df2885DF2d1690c3B2B106D0b8F32D",
"name": "DISCO",
"symbol": "DISCO",
"decimals": 4,
"precision": 0,
"logoURI": "https://raw.githubusercontent.com/layer-3/clearsync/master/networks/icons/disco-192x192.png",
"extensions": {}
},
{
"address": "0x96168402310c70fD7b45adf2Fb3892691E0627D9",
"name": "KAYEN",
"symbol": "KAYEN",
"decimals": 6,
"precision": 3,
"logoURI": "https://raw.githubusercontent.com/layer-3/clearsync/master/networks/icons/kayen-64x64.png",
"extensions": {}
}
]
}
10 changes: 10 additions & 0 deletions networks/vault/production/1/mapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"tokens": {
"BTC": ["WBTC"],
"ETH": ["WETH"],
"USD": ["USDT", "USDC"]
},
"markets": {
"USDC": ["ETH", "MATIC"]
}
}
Loading