forked from unlock-protocol/unlock
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(networks): add support for Base sepolia (unlock-protocol#13529)
* add basic network file * readme typo * add verification * remove unused param * unlock deploymeny * etherscan api key * update base scan api key again * correct unlock address * use actual proxy address * add subgraph * update readme * add multisig * add provider * Update packages/networks/src/networks/base-sepolia.ts * use unlock provider --------- Co-authored-by: Julien Genestoux <julien.genestoux@gmail.com>
- Loading branch information
1 parent
cbdfb95
commit fa63c3d
Showing
8 changed files
with
749 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,280 @@ | ||
{ | ||
"manifestVersion": "3.2", | ||
"proxies": [ | ||
{ | ||
"address": "0x259813B665C8f6074391028ef782e27B65840d89", | ||
"txHash": "0x00676bcbd95a7de923bb7ada6008a6863a05d9602721c9d355a82274a30be36f", | ||
"kind": "transparent" | ||
} | ||
], | ||
"impls": { | ||
"c6d805c82f3f300da2425695b00fbf12dfe20f45dc8ffdf35ed30d444ccd6d60": { | ||
"address": "0xf98D7ADA874D53a75BbDfB05D2A96C1525d426A7", | ||
"txHash": "0x91d7ba08318d557ee0d725745322ee818f2199c91bd694a64171b296d739320e", | ||
"layout": { | ||
"solcVersion": "0.8.21", | ||
"storage": [ | ||
{ | ||
"label": "initialized", | ||
"offset": 0, | ||
"slot": "0", | ||
"type": "t_bool", | ||
"contract": "UnlockInitializable", | ||
"src": "contracts/past-versions/UnlockV13.sol:1327" | ||
}, | ||
{ | ||
"label": "initializing", | ||
"offset": 1, | ||
"slot": "0", | ||
"type": "t_bool", | ||
"contract": "UnlockInitializable", | ||
"src": "contracts/past-versions/UnlockV13.sol:1332" | ||
}, | ||
{ | ||
"label": "______gap", | ||
"offset": 0, | ||
"slot": "1", | ||
"type": "t_array(t_uint256)50_storage", | ||
"contract": "UnlockContextUpgradeable", | ||
"src": "contracts/past-versions/UnlockV13.sol:1406" | ||
}, | ||
{ | ||
"label": "_owner", | ||
"offset": 0, | ||
"slot": "51", | ||
"type": "t_address", | ||
"contract": "UnlockOwnable", | ||
"src": "contracts/past-versions/UnlockV13.sol:1435" | ||
}, | ||
{ | ||
"label": "______gap", | ||
"offset": 0, | ||
"slot": "52", | ||
"type": "t_array(t_uint256)50_storage", | ||
"contract": "UnlockOwnable", | ||
"src": "contracts/past-versions/UnlockV13.sol:1501" | ||
}, | ||
{ | ||
"label": "grossNetworkProduct", | ||
"offset": 0, | ||
"slot": "102", | ||
"type": "t_uint256", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2786" | ||
}, | ||
{ | ||
"label": "totalDiscountGranted", | ||
"offset": 0, | ||
"slot": "103", | ||
"type": "t_uint256", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2788" | ||
}, | ||
{ | ||
"label": "locks", | ||
"offset": 0, | ||
"slot": "104", | ||
"type": "t_mapping(t_address,t_struct(LockBalances)3109_storage)", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2791" | ||
}, | ||
{ | ||
"label": "globalBaseTokenURI", | ||
"offset": 0, | ||
"slot": "105", | ||
"type": "t_string_storage", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2795" | ||
}, | ||
{ | ||
"label": "globalTokenSymbol", | ||
"offset": 0, | ||
"slot": "106", | ||
"type": "t_string_storage", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2799" | ||
}, | ||
{ | ||
"label": "publicLockAddress", | ||
"offset": 0, | ||
"slot": "107", | ||
"type": "t_address", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2802" | ||
}, | ||
{ | ||
"label": "uniswapOracles", | ||
"offset": 0, | ||
"slot": "108", | ||
"type": "t_mapping(t_address,t_contract(IUniswapOracleV3)757)", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2806" | ||
}, | ||
{ | ||
"label": "weth", | ||
"offset": 0, | ||
"slot": "109", | ||
"type": "t_address", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2809" | ||
}, | ||
{ | ||
"label": "udt", | ||
"offset": 0, | ||
"slot": "110", | ||
"type": "t_address", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2812" | ||
}, | ||
{ | ||
"label": "estimatedGasForPurchase", | ||
"offset": 0, | ||
"slot": "111", | ||
"type": "t_uint256", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2815" | ||
}, | ||
{ | ||
"label": "chainId", | ||
"offset": 0, | ||
"slot": "112", | ||
"type": "t_uint256", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2818" | ||
}, | ||
{ | ||
"label": "proxyAdminAddress", | ||
"offset": 0, | ||
"slot": "113", | ||
"type": "t_address", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2821" | ||
}, | ||
{ | ||
"label": "proxyAdmin", | ||
"offset": 0, | ||
"slot": "114", | ||
"type": "t_contract(ProxyAdmin)3095", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2822" | ||
}, | ||
{ | ||
"label": "_publicLockVersions", | ||
"offset": 0, | ||
"slot": "115", | ||
"type": "t_mapping(t_address,t_uint16)", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2825" | ||
}, | ||
{ | ||
"label": "_publicLockImpls", | ||
"offset": 0, | ||
"slot": "116", | ||
"type": "t_mapping(t_uint16,t_address)", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2826" | ||
}, | ||
{ | ||
"label": "publicLockLatestVersion", | ||
"offset": 0, | ||
"slot": "117", | ||
"type": "t_uint16", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2827" | ||
}, | ||
{ | ||
"label": "protocolFee", | ||
"offset": 0, | ||
"slot": "118", | ||
"type": "t_uint256", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2830" | ||
}, | ||
{ | ||
"label": "swapBurnerAddress", | ||
"offset": 0, | ||
"slot": "119", | ||
"type": "t_address", | ||
"contract": "Unlock", | ||
"src": "contracts/past-versions/UnlockV13.sol:2833" | ||
} | ||
], | ||
"types": { | ||
"t_address": { | ||
"label": "address", | ||
"numberOfBytes": "20" | ||
}, | ||
"t_array(t_uint256)50_storage": { | ||
"label": "uint256[50]", | ||
"numberOfBytes": "1600" | ||
}, | ||
"t_bool": { | ||
"label": "bool", | ||
"numberOfBytes": "1" | ||
}, | ||
"t_contract(IUniswapOracleV3)757": { | ||
"label": "contract IUniswapOracleV3", | ||
"numberOfBytes": "20" | ||
}, | ||
"t_contract(ProxyAdmin)3095": { | ||
"label": "contract ProxyAdmin", | ||
"numberOfBytes": "20" | ||
}, | ||
"t_mapping(t_address,t_contract(IUniswapOracleV3)757)": { | ||
"label": "mapping(address => contract IUniswapOracleV3)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_address,t_struct(LockBalances)3109_storage)": { | ||
"label": "mapping(address => struct Unlock.LockBalances)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_address,t_uint16)": { | ||
"label": "mapping(address => uint16)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_mapping(t_uint16,t_address)": { | ||
"label": "mapping(uint16 => address)", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_string_storage": { | ||
"label": "string", | ||
"numberOfBytes": "32" | ||
}, | ||
"t_struct(LockBalances)3109_storage": { | ||
"label": "struct Unlock.LockBalances", | ||
"members": [ | ||
{ | ||
"label": "deployed", | ||
"type": "t_bool", | ||
"offset": 0, | ||
"slot": "0" | ||
}, | ||
{ | ||
"label": "totalSales", | ||
"type": "t_uint256", | ||
"offset": 0, | ||
"slot": "1" | ||
}, | ||
{ | ||
"label": "yieldedDiscountTokens", | ||
"type": "t_uint256", | ||
"offset": 0, | ||
"slot": "2" | ||
} | ||
], | ||
"numberOfBytes": "96" | ||
}, | ||
"t_uint16": { | ||
"label": "uint16", | ||
"numberOfBytes": "2" | ||
}, | ||
"t_uint256": { | ||
"label": "uint256", | ||
"numberOfBytes": "32" | ||
} | ||
}, | ||
"namespaces": {} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.