Skip to content

Commit

Permalink
add: strk token contract address
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfalt committed Oct 11, 2024
1 parent dccfb7b commit 6624495
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions contracts/src/constants/funds/fund_constants.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pub mod FundConstants {
pub const UP_VOTES_NEEDED: u32 = 100;
pub const INITIAL_UP_VOTES: u32 = 0;
pub const INITIAL_GOAL: u256 = 0;
pub const STRK_TOKEN_ADDRESS: felt252 = 0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d;
}
3 changes: 2 additions & 1 deletion contracts/src/fund.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ mod Fund {
// *************************************************************************
use starknet::ContractAddress;
use starknet::get_caller_address;
use openzeppelin::token::erc20::interface::{IERC20Dispatcher, IERC20DispatcherTrait};
use gostarkme::constants::{funds::{state_constants::FundStates},};
use gostarkme::constants::{funds::{fund_constants::FundConstants},};

Expand All @@ -43,7 +44,7 @@ mod Fund {
voters: LegacyMap::<ContractAddress, u32>,
goal: u256,
current_goal_state: u256,
state: u8
state: u8,
}

// *************************************************************************
Expand Down

0 comments on commit 6624495

Please sign in to comment.