Skip to content

Commit

Permalink
Working on mint
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Nov 3, 2023
1 parent b22f83a commit cd5c7ad
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/erc20_payment_lib/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,17 @@ impl PaymentRuntime {
Ok(())
}

pub async fn mint_golem_token(
&self,
chain_name: &str,
from: Address,
) -> Result<(), PaymentError> {
let chain_cfg = self.config.chain.get(chain_name).ok_or(err_custom_create!(
"Chain {} not found in config file",
chain_name
))?;
}

pub async fn get_status(&self) -> Vec<StatusProperty> {
self.status_tracker.get_status().await
}
Expand Down

0 comments on commit cd5c7ad

Please sign in to comment.