Skip to content
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
8 changes: 4 additions & 4 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ dependencies = [

[[package]]
name = "snforge_scarb_plugin"
version = "0.48.1"
version = "0.50.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:2dd27e8215eea8785b3930e9f452e11b429ca262b1c1fbb071bfc173b9ebc125"
checksum = "sha256:8c29e5519362d22f2c802e4e348da846de3898cbaeac19b58aded6a009bf188e"

[[package]]
name = "snforge_std"
version = "0.48.1"
version = "0.50.0"
source = "registry+https://scarbs.xyz/"
checksum = "sha256:89f759fa685d48ed0ba7152d2ac2eb168da08dfa8b84b2bee96e203dc5b2413e"
checksum = "sha256:db3a9de47952c699f8f3ce649b5b01f09c1f9c170f38b3c7a8df8e50a0188e9b"
dependencies = [
"snforge_scarb_plugin",
]
Expand Down
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ openzeppelin = "2.0.0"
pragma_lib = "2.11.4"

[dev-dependencies]
snforge_std = "^0.48.0"
snforge_std = "^0.50.0"
assert_macros = "2.10.1"

[[target.starknet-contract]]
Expand Down
2 changes: 1 addition & 1 deletion deployments/sepolia_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"collateralRegistry": "0x52ecdfd338cb3d58f91ad6c9853e277b3f1b6607d74955791fe652c438b50e1",
"redemptionPreviewer": "0x0424960710b8d39161235da5b403a9e9a7fb82c8c02d1e8d02b0e5328c8bafa8",
"usdc": "0x0519eef481ac2a9b364fcb701dc5f3f584388dfae6559619857ecd5393cc4b2a",
"hintHelpers": "0x2a6315c1f4323be9fa5fc3fe5152854628945d73f3df851364cdd9bbb9c450f",
"WWBTC": {
"collateral": "0x6c5f4da4070bbecd4851f12cf3086fef4fb6f305580dcc0f1342aab017f8c5",
"addressesRegistry": "0x4c33c1812855b99544f164c0251a1e46bbc7c76f73277b1fbac182fd6b801ac",
Expand All @@ -21,7 +22,6 @@
"redemptionManager": "0x6ec8edf9eb1fb7b1cc8aff1e29f140b6cb82faf0aeababc50196c75abc011b0",
"batchManager": "0x61bdd21652a34780f32394986af1dfc126e6e8380b37a15bc12a8c20a36f621",
"priceFeed": "0x23d9ff8d05d52f5048de8c8588dae15f139065f0326ec5e3f1348e922749292",
"hintHelpers": "0x2a6315c1f4323be9fa5fc3fe5152854628945d73f3df851364cdd9bbb9c450f",
"multiTroveGetter": "0x726016b80038fd571c62dcbfc922a2b0cc3cdbaf217bd8c6eef3157c9a76057",
"troveManagerEventsEmitter": "0x4d86c9b70f1d2fcb741127b2f920b572baf0ff35489ec11afb605cccacfd551",
"underlyingAddress": "0x138a381fb3b06c59c626c5038ad718fd587e1366857113a584b317de04db46c"
Expand Down
18 changes: 9 additions & 9 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ async function deployContracts(
'PriceFeedMock',
'TroveManagerEventsEmitter',
'WBTCPriceFeed',
// 'UBTC',
'UBTC',
'USDU',
'CollateralRegistry',
'CollateralWrapper',
Expand Down Expand Up @@ -403,7 +403,7 @@ async function deployContracts(

let wrapperAddress: string | null = null;
const underlyingAddress = collateral;
if (collateralName == 'WWBTC') {
if (collateralName == 'WWBTC' || collateralName == 'WMWBTC') {
wrapperAddress = await deployContract('CollateralWrapper', [
'WrappedWBTC',
'WWBTC',
Expand Down Expand Up @@ -730,13 +730,13 @@ async function deployContracts(
// Deploy USDU
// let usduContractAddress = getContractAddress('USDU');
// if (!usduContractAddress) {
log('USDU not found in loaded addresses, deploying...');
const usduContractAddress = '0x2f94539f80158f9a48a7acf3747718dfbec9b6f639e2742c1fb44ae7ab5aa04';
// await deployContract('USDU', {
// name: 'Uncap USD',
// symbol: 'USDU',
// deployer: context.config.deployerAddress,
// });
// log('USDU not found in loaded addresses, deploying...');
// const usduContractAddress = '0x2f94539f80158f9a48a7acf3747718dfbec9b6f639e2742c1fb44ae7ab5aa04';
const usduContractAddress = await deployContract('USDU', {
name: 'Uncap USD',
symbol: 'USDU',
deployer: context.config.deployerAddress,
});
// } else {
// log(`Using existing USDU at: ${usduContractAddress}`);
// }
Expand Down
Loading
Loading