{ "p": "test", "v": "0.3", "op": "deploy", "name": "test_down78", "func": "fn valid_if(para: &[String]) -> bool { return get_tx_block_number(&get_ord_genesis_tx_id(¶[0])) + 4 <= get_block_number() && (ord_ref_byself(¶[0])) && (get_block_hash(get_block_number()).chars().last().unwrap() == if get_ocf_params(¶[0])[0].as_bytes()[0] as char == '7' { 'a' } else if get_ocf_params(¶[0])[0].as_bytes()[0] as char == '8' { 'd' } else { 'g' } || get_block_hash(get_block_number()).chars().last().unwrap() == if get_ocf_params(¶[0])[0].as_bytes()[0] as char == '7' { 'b' } else if get_ocf_params(¶[0])[0].as_bytes()[0] as char == '8' { 'e' } else { 'g' } || get_block_hash(get_block_number()).chars().last().unwrap() == if get_ocf_params(¶[0])[0].as_bytes()[0] as char == '7' { 'c' } else if get_ocf_params(¶[0])[0].as_bytes()[0] as char == '8' { 'f' } else { 'g' }) && get_brc20_tick(&get_ord_id(), 0) == \"6565\" && 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_snapshot(&get_ord_owner(), \"runestone\") >= 1) as i32 + (get_rune_snapshot(&get_ord_owner(), \"ainnrunestar\") >= 1) as i32 >= 2 { 4000.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_snapshot(&get_ord_owner(), \"runestone\") >= 1) as i32 + (get_rune_snapshot(&get_ord_owner(), \"ainnrunestar\") >= 1) as i32 >= 1 { 3000.0 } else { 2000.0 };}" }