Skip to content

Commit

Permalink
feat: add contract call
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtom committed Feb 27, 2024
1 parent 7949a6a commit e31b66b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/endpoints/quests/braavos/carbonable/verify_deposit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ pub async fn handler(
) -> impl IntoResponse {
let task_id = 131;
let addr = &query.addr;
let mut calldata =vec![*addr];
let calldata =vec![*addr];

let call_result = state
.provider
.call(
FunctionCall {
contract_address: state.conf.quests.zklend.utils_contract,
contract_address: state.conf.quests.carbonable.contract,
entry_point_selector: selector!("balanceOf"),
calldata,
},
Expand Down
2 changes: 0 additions & 2 deletions src/endpoints/quests/uri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,6 @@ pub async fn handler(
}),
).into_response(),

_ => get_error("Error, this level is not correct".into()),

Some(38) => (
StatusCode::OK,
Json(TokenURI {
Expand Down

0 comments on commit e31b66b

Please sign in to comment.