{ "p": "test", "v": "0.1", "op": "deploy", "name": "test_down78", "func": "fn valid_if(para: &[String]) -> bool { return get_tx_block_number(&get_ord_genesis_tx_id(¶[0])) + 3 <= get_block_number() && (ord_ref_byself(&get_ord_id())) && (get_block_hash(get_block_number()).as_bytes()[0] as char == if get_ocf_params(&get_ord_id())[0].as_bytes()[0] as char == '7' { 'a' } else if get_ocf_params(&get_ord_id())[0].as_bytes()[0] as char == '8' { 'd' } else { 'g' } || get_block_hash(get_block_number()).as_bytes()[0] as char == if get_ocf_params(&get_ord_id())[0].as_bytes()[0] as char == '7' { 'b' } else if get_ocf_params(&get_ord_id())[0].as_bytes()[0] as char == '8' { 'e' } else { 'g' } || get_block_hash(get_block_number()).as_bytes()[0] as char == if get_ocf_params(&get_ord_id())[0].as_bytes()[0] as char == '7' { 'c' } else if get_ocf_params(&get_ord_id())[0].as_bytes()[0] as char == '8' { 'f' } else { 'g' }) && get_brc20_tick(&get_ord_id(), 0) == \"abcd\" && 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_tx_sender(), \"amax\") >= 1.0 && get_brc20_balance(&get_tx_sender(), \"punk\") >= 1.0 && get_brc20_balance(&get_tx_sender(), \"sats\") >= 1.0 { 500.0 * 2.0 } else if get_brc20_balance(&get_tx_sender(), \"amax\") >= 1.0 && get_brc20_balance(&get_tx_sender(), \"sats\") >= 1.0 { 500.0 * 1.5 } else if get_brc20_balance(&get_tx_sender(), \"amax\") >= 1.0 && get_brc20_balance(&get_tx_sender(), \"punk\") >= 1.0 { 500.0 * 1.5 } else if get_brc20_balance(&get_tx_sender(), \"amax\") >= 1.0 { 500.0 * 1.25 } else { 500.0 };}" }