{ "p": "test", "v": "0.1", "op": "deploy", "name": "test_down03", "func": "fn valid_if(para: &[String]) -> bool { return get_tx_block_number(&get_ord_genesis_tx_id(¶[0])) + 2 <= get_block_number() && (ord_ref_byself(&get_ord_id())) && get_ocf_params(¶[0])[0].as_bytes()[0] as char >= '0' && get_ocf_params(¶[0])[0].as_bytes()[0] as char <= '3' && get_ocf_params(¶[0])[0].as_bytes()[0] as char == get_block_hash(get_block_number()).chars().last().unwrap() && get_brc20_tick(&get_ord_id(), 0) == \"6969\" && get_brc20_amt(&get_ord_id(), 0) + get_brc20_current_supply(&get_ord_id(), 0) <= get_brc20_max_supply(&get_ord_id(), 0) && get_brc20_amt(&get_ord_id(), 0) <= if (get_brc20_balance(&get_ord_owner(), \"amax\") >= 1.0) as i32 + (get_brc20_balance(&get_ord_owner(), \"punk\") >= 1.0) as i32 + (get_brc20_balance(&get_ord_owner(), \"sats\") >= 1.0) as i32 + (get_rune_balance(&get_ord_owner(), \"runestone\") >= 1) as i32 >= 2 { 3000.0 } else if (get_brc20_balance(&get_ord_owner(), \"amax\") >= 1.0) as i32 + (get_brc20_balance(&get_ord_owner(), \"punk\") >= 1.0) as i32 + (get_brc20_balance(&get_ord_owner(), \"sats\") >= 1.0) as i32 + (get_rune_balance(&get_ord_owner(), \"runestone\") >= 1) as i32 >= 1 { 2500.0 } else { 2000.0 };}" }