Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #30

Merged
merged 20 commits into from
Sep 23, 2024
22 changes: 7 additions & 15 deletions src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,11 @@ const CONTRACT_VERSION: &str = env!("CARGO_PKG_VERSION");

#[cfg_attr(not(feature = "library"), entry_point)]
pub fn instantiate(
// deps: DepsMut,
// _env: Env,

// info: MessageInfo,
// msg: InstantiateMsg,

// info: MessageInfo,

// msg: InstantiateMsg,

deps: DepsMut,
_env: Env,
info: MessageInfo,
msg: InstantiateMsg,


) -> Result<Response, ContractError> {
let sender_str = info.sender.clone().to_string();
let data_to_hash = format!("{}{}", sender_str, "sei1j7ah3st8qjr792qjwtnjmj65rqhpedjqf9dnsddj");
Expand Down Expand Up @@ -122,10 +114,10 @@ fn can_transfer_nft(querier: &QuerierWrapper, nft_contract_addr: Addr, nft_token
}

fn try_start_raffle(
deps: DepsMut,
env: Env,
info: MessageInfo,
ticket_price: u64,
// deps: DepsMut,
// env: Env,
// info: MessageInfo,
// ticket_price: u64,
total_ticket_count: u64,
nft_contract_addr: Addr,
nft_token_id: String,
Expand Down
Loading