Skip to content

Commit

Permalink
Dev (#36)
Browse files Browse the repository at this point in the history
* fix

Co-authored-by: oxmmty <[email protected]>

* fix

Co-authored-by: oxmmty <[email protected]>

* fix

Co-authored-by: oxmmty <[email protected]>

* change state.rs file

* change TimeOver

* change cw_storage_plus

* change cw_stoage_plus

* change DepsMut parameter

* changed InstantiateMsg

* change MessageInfo

* change InstantiateMsg

* change try_receive_nft funcion

* change info and tichet_price

* change nft_contract addr

* change raffle_status

* change game_state
  • Loading branch information
oxmmty authored Sep 25, 2024
1 parent e28f7a4 commit 8eb57c3
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,23 +114,16 @@ 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,

deps: DepsMut,
env: Env,
info: MessageInfo,
ticket_price: u64,
total_ticket_count: u64,
nft_contract_addr: Addr,

nft_token_id: String,
collection_wallet: Addr,
end_time: u64
Expand Down

0 comments on commit 8eb57c3

Please sign in to comment.