Skip to content

Commit

Permalink
feat(oo): update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyRo1 committed Aug 13, 2024
1 parent 826e025 commit bb0f758
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/src/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use super::{
utils::{deploy_contract, get_transaction_receipt},
};
use crate::bind::{
address_whitelist::address_whitelist, finder::finder,
address_whitelist::{address_whitelist,WhitelistType}, finder::finder,
identifier_whitelist::identifier_whitelist, store::store,
};
use anyhow::Result;
Expand Down Expand Up @@ -175,7 +175,7 @@ pub async fn configure_contracts(

let address_whitelist = address_whitelist::new(contracts.address_whitelist, owner);
let address_whitelist_res = address_whitelist
.add_to_whitelist(&ContractAddress(default_configuration.erc20_token))
.add_to_whitelist(&ContractAddress(default_configuration.erc20_token),&WhitelistType::Currency)
.send()
.await?;

Expand Down Expand Up @@ -272,3 +272,4 @@ pub async fn configure_contracts(

Ok(())
}

0 comments on commit bb0f758

Please sign in to comment.