Surviving mutants

Generated by scripts/mutation_survivors.py from the cosmic-ray session databases. One row per surviving mutant: the suite ran that mutated line and no assertion failed.

A survivor is not automatically a bug — see the equivalent-mutant classes catalogued in docs/how-to/mutation-testing.md (type annotations, error-message f-strings, interpreter-detail rewrites). Triage means deciding, per row, whether the mutated behaviour is genuinely indistinguishable or whether nothing tests it.

319 surviving mutants across 2 modules, of which 165 are marked annot — a type annotation rewritten by a BitOr-family operator, which cannot change behaviour. Start with the unmarked rows.

src/pyrxd/gravity/htlc_spend.py — 72 survivors (22 annot)

Line

Definition

Operator

Original

Mutant

75

(module level)

ReplaceTrueWithFalse

@dataclass(frozen=True)

@dataclass(frozen=False)

101

__post_init__

ReplaceComparisonOperator_NotEq_Lt

if not isinstance(self.txid, str) or len(self.txid) != 64:

if not isinstance(self.txid, str) or len(self.txid) < 64:

107

__post_init__

ReplaceComparisonOperator_Lt_NotEq

if not isinstance(self.vout, int) or isinstance(self.vout, bool) or self.vout < 0:

if not isinstance(self.vout, int) or isinstance(self.vout, bool) or self.vout != 0:

107

__post_init__

ReplaceOrWithAnd

if not isinstance(self.vout, int) or isinstance(self.vout, bool) or self.vout < 0:

if not isinstance(self.vout, int) and isinstance(self.vout, bool) or self.vout < 0:

109

__post_init__

NumberReplacer

if not isinstance(self.value, int) or isinstance(self.value, bool) or self.value <= 0:

if not isinstance(self.value, int) or isinstance(self.value, bool) or self.value <= 1:

109

__post_init__

ReplaceComparisonOperator_LtE_Eq

if not isinstance(self.value, int) or isinstance(self.value, bool) or self.value <= 0:

if not isinstance(self.value, int) or isinstance(self.value, bool) or self.value == 0:

109

__post_init__

ReplaceOrWithAnd

if not isinstance(self.value, int) or isinstance(self.value, bool) or self.value <= 0:

if not isinstance(self.value, int) and isinstance(self.value, bool) or self.value <= 0:

111

__post_init__

ReplaceComparisonOperator_Eq_LtE

if not isinstance(self.scriptpubkey, (bytes, bytearray)) or len(self.scriptpubkey) == 0:

if not isinstance(self.scriptpubkey, (bytes, bytearray)) or len(self.scriptpubkey) <= 0:

133

_synthetic_source

NumberReplacer

outs = [TransactionOutput(Script(b"\x00"), 0) for _ in range(vout)]

outs = [TransactionOutput(Script(b"\x00"), 1) for _ in range(vout)]

133

_synthetic_source

NumberReplacer

outs = [TransactionOutput(Script(b"\x00"), 0) for _ in range(vout)]

outs = [TransactionOutput(Script(b"\x00"), -1) for _ in range(vout)]

140

_fee_input

ReplaceBinaryOperator_Mul_Div

def _fee_input(fee: FeeInput, *, sequence: int) -> TransactionInput:

def _fee_input(fee: FeeInput, /, sequence: int) -> TransactionInput:

149

_unlock

NumberReplacer

return Script(encode_pushdata(sig + inp.sighash.to_bytes(1, "little")) + encode_pushdata(pub))

return Script(encode_pushdata(sig + inp.sighash.to_bytes( 2, "little")) + encode_pushdata(pub))

156

_fee_input

NumberReplacer

unlocking_script_template=to_unlock_script_template(_unlock, lambda: 110),

unlocking_script_template=to_unlock_script_template(_unlock, lambda: 109),

156

_fee_input

NumberReplacer

unlocking_script_template=to_unlock_script_template(_unlock, lambda: 110),

unlocking_script_template=to_unlock_script_template(_unlock, lambda: 111),

169

_validate_outpoint

ReplaceComparisonOperator_NotEq_Lt

if len(txid) != 64:

if len(txid) < 64:

179

_validate_outpoint

ReplaceComparisonOperator_Lt_NotEq

if vout < 0:

if vout != 0:

198

_check_carrier

NumberReplacer

if not isinstance(carrier_value, int) or isinstance(carrier_value, bool) or carrier_value <= 0:

if not isinstance(carrier_value, int) or isinstance(carrier_value, bool) or carrier_value <= 1:

198

_check_carrier

ReplaceComparisonOperator_LtE_Eq

if not isinstance(carrier_value, int) or isinstance(carrier_value, bool) or carrier_value <= 0:

if not isinstance(carrier_value, int) or isinstance(carrier_value, bool) or carrier_value == 0:

198

_check_carrier

ReplaceOrWithAnd

if not isinstance(carrier_value, int) or isinstance(carrier_value, bool) or carrier_value <= 0:

if not isinstance(carrier_value, int) and isinstance(carrier_value, bool) or carrier_value <= 0:

240

_warn_if_fee_is_an_overpay

ReplaceBinaryOperator_Mul_Div

def _warn_if_fee_is_an_overpay(fee: FeeInput, kind: str, *, floor: int, target: int) -> None:

def _warn_if_fee_is_an_overpay(fee: FeeInput, kind: str, /, floor: int, target: int) -> None:

263

_warn_if_fee_is_an_overpay

ReplaceComparisonOperator_LtE_Lt

if fee.value <= ceiling:

if fee.value < ceiling:

284

_covenant_input

ReplaceBinaryOperator_Mul_Div

covenant: HtlcCovenant, outpoint: str, carrier_value: int, selector: bytes, *, sequence: int

covenant: HtlcCovenant, outpoint: str, carrier_value: int, selector: bytes, /, sequence: int

297

_covenant_input

NumberReplacer

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 79),

297

_covenant_input

NumberReplacer

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 81),

297

_covenant_input

ReplaceBinaryOperator_Add_BitAnd

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) & 80),

297

_covenant_input

ReplaceBinaryOperator_Add_BitOr

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) | 80),

297

_covenant_input

ReplaceBinaryOperator_Add_BitXor

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) ^ 80),

297

_covenant_input

ReplaceBinaryOperator_Add_Div

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) / 80),

297

_covenant_input

ReplaceBinaryOperator_Add_FloorDiv

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) // 80),

297

_covenant_input

ReplaceBinaryOperator_Add_LShift

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) << 80),

297

_covenant_input

ReplaceBinaryOperator_Add_Mod

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) % 80),

297

_covenant_input

ReplaceBinaryOperator_Add_Mul

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) * 80),

297

_covenant_input

ReplaceBinaryOperator_Add_Pow

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) ** 80),

297

_covenant_input

ReplaceBinaryOperator_Add_RShift

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) >> 80),

297

_covenant_input

ReplaceBinaryOperator_Add_Sub

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) + 80),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(selector) - 80),

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_Add

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy + None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_BitAnd

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy & None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_BitXor

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ^ None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_Div

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy / None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_FloorDiv

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy // None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_LShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy << None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_Mod

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy % None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_Mul

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy * None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_Pow

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ** None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_RShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy >> None = None,

annot

313

build_htlc_claim_tx

ReplaceBinaryOperator_BitOr_Sub

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy - None = None,

annot

332

build_htlc_claim_tx

ReplaceComparisonOperator_NotEq_Gt

if hashlib.sha256(bytes(preimage)).digest() != covenant.hashlock:

if hashlib.sha256(bytes(preimage)).digest() > covenant.hashlock:

349

build_htlc_claim_tx

NumberReplacer

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 5),

349

build_htlc_claim_tx

NumberReplacer

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 3),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_BitAnd

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) & 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_BitOr

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) | 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_BitXor

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) ^ 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_Div

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) / 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_FloorDiv

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) // 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_LShift

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) << 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_Mod

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) % 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_Mul

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) * 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_Pow

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) ** 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_RShift

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) >> 4),

349

build_htlc_claim_tx

ReplaceBinaryOperator_Add_Sub

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) + 4),

unlocking_script_template=to_unlock_script_template(_cov_unlock, lambda: len(p) - 4),

355

build_htlc_claim_tx

NumberReplacer

fee_in = _fee_input(fee, sequence=0xFFFFFFFF)

fee_in = _fee_input(fee, sequence= 4294967294)

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_Add

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy + None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_BitAnd

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy & None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_BitXor

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ^ None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_Div

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy / None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_FloorDiv

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy // None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_LShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy << None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_Mod

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy % None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_Mul

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy * None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_Pow

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ** None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_RShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy >> None = None,

annot

371

build_htlc_refund_tx

ReplaceBinaryOperator_BitOr_Sub

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy - None = None,

annot

src/pyrxd/swap/rswp/orders.py — 247 survivors (143 annot)

Line

Definition

Operator

Original

Mutant

68

_contract_type_of

ReplaceComparisonOperator_Eq_Is

if asset.kind == "ft":

if asset.kind is "ft":

68

_contract_type_of

ReplaceComparisonOperator_Eq_Lt

if asset.kind == "ft":

if asset.kind < "ft":

68

_contract_type_of

ReplaceComparisonOperator_Eq_LtE

if asset.kind == "ft":

if asset.kind <= "ft":

70

_contract_type_of

AddNot

if asset.kind == "nft":

if not asset.kind == "nft":

70

_contract_type_of

ReplaceComparisonOperator_Eq_Gt

if asset.kind == "nft":

if asset.kind > "nft":

70

_contract_type_of

ReplaceComparisonOperator_Eq_GtE

if asset.kind == "nft":

if asset.kind >= "nft":

70

_contract_type_of

ReplaceComparisonOperator_Eq_Is

if asset.kind == "nft":

if asset.kind is "nft":

70

_contract_type_of

ReplaceComparisonOperator_Eq_IsNot

if asset.kind == "nft":

if asset.kind is not "nft":

70

_contract_type_of

ReplaceComparisonOperator_Eq_Lt

if asset.kind == "nft":

if asset.kind < "nft":

70

_contract_type_of

ReplaceComparisonOperator_Eq_LtE

if asset.kind == "nft":

if asset.kind <= "nft":

70

_contract_type_of

ReplaceComparisonOperator_Eq_NotEq

if asset.kind == "nft":

if asset.kind != "nft":

84

_pushed_token_id

ReplaceComparisonOperator_Eq_Is

return tid if tid == RXD_TOKEN_ID else tid[::-1]

return tid if tid is RXD_TOKEN_ID else tid[::-1]

84

_pushed_token_id

ReplaceComparisonOperator_Eq_Lt

return tid if tid == RXD_TOKEN_ID else tid[::-1]

return tid if tid < RXD_TOKEN_ID else tid[::-1]

84

_pushed_token_id

ReplaceComparisonOperator_Eq_LtE

return tid if tid == RXD_TOKEN_ID else tid[::-1]

return tid if tid <= RXD_TOKEN_ID else tid[::-1]

87

_assert_relayable

ReplaceBinaryOperator_BitOr_Add

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy + None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_BitAnd

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy & None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_BitXor

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy ^ None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_Div

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy / None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_FloorDiv

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy // None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_LShift

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy << None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_Mod

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy % None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_Mul

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy * None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_Pow

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy ** None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_RShift

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy >> None, what: str) -> None:

annot

87

_assert_relayable

ReplaceBinaryOperator_BitOr_Sub

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy | None, what: str) -> None:

def _assert_relayable(tx: Transaction, fee: int, policy: DeadlineFeePolicy - None, what: str) -> None:

annot

125

(module level)

ReplaceTrueWithFalse

@dataclass(frozen=True)

@dataclass(frozen=False)

145

create_rswp_order

ReplaceBinaryOperator_BitOr_Add

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes + Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_BitAnd

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes & Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_BitXor

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes ^ Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_Div

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes / Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_FloorDiv

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes // Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_LShift

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes << Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_Mod

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes % Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_Mul

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes * Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_Pow

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes ** Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_RShift

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes >> Hex20,

annot

145

create_rswp_order

ReplaceBinaryOperator_BitOr_Sub

maker_receive_pkh: bytes | Hex20,

maker_receive_pkh: bytes - Hex20,

annot

163

create_rswp_order

NumberReplacer

demanded = partial.outputs[0]

demanded = partial.outputs[ -1]

164

create_rswp_order

NumberReplacer

signature = partial.inputs[0].unlocking_script.serialize()

signature = partial.inputs[ -1].unlocking_script.serialize()

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Add

owner_pkh: bytes | Hex20,

owner_pkh: bytes + Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_BitAnd

owner_pkh: bytes | Hex20,

owner_pkh: bytes & Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_BitXor

owner_pkh: bytes | Hex20,

owner_pkh: bytes ^ Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Div

owner_pkh: bytes | Hex20,

owner_pkh: bytes / Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_FloorDiv

owner_pkh: bytes | Hex20,

owner_pkh: bytes // Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_LShift

owner_pkh: bytes | Hex20,

owner_pkh: bytes << Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Mod

owner_pkh: bytes | Hex20,

owner_pkh: bytes % Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Mul

owner_pkh: bytes | Hex20,

owner_pkh: bytes * Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Pow

owner_pkh: bytes | Hex20,

owner_pkh: bytes ** Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_RShift

owner_pkh: bytes | Hex20,

owner_pkh: bytes >> Hex20,

annot

183

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Sub

owner_pkh: bytes | Hex20,

owner_pkh: bytes - Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Add

change_pkh: bytes | Hex20,

change_pkh: bytes + Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_BitAnd

change_pkh: bytes | Hex20,

change_pkh: bytes & Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_BitXor

change_pkh: bytes | Hex20,

change_pkh: bytes ^ Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Div

change_pkh: bytes | Hex20,

change_pkh: bytes / Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_FloorDiv

change_pkh: bytes | Hex20,

change_pkh: bytes // Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_LShift

change_pkh: bytes | Hex20,

change_pkh: bytes << Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Mod

change_pkh: bytes | Hex20,

change_pkh: bytes % Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Mul

change_pkh: bytes | Hex20,

change_pkh: bytes * Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Pow

change_pkh: bytes | Hex20,

change_pkh: bytes ** Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_RShift

change_pkh: bytes | Hex20,

change_pkh: bytes >> Hex20,

annot

184

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Sub

change_pkh: bytes | Hex20,

change_pkh: bytes - Hex20,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Add

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy + None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_BitAnd

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy & None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_BitXor

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ^ None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Div

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy / None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_FloorDiv

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy // None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_LShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy << None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Mod

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy % None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Mul

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy * None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Pow

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ** None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_RShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy >> None = None,

annot

186

prepare_offered_utxo

ReplaceBinaryOperator_BitOr_Sub

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy - None = None,

annot

214

prepare_offered_utxo

NumberReplacer

if not 0 <= f.vout < len(f.source_tx.outputs):

if not -1 <= f.vout < len(f.source_tx.outputs):

214

prepare_offered_utxo

ReplaceComparisonOperator_LtE_Eq

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 == f.vout < len(f.source_tx.outputs):

214

prepare_offered_utxo

ReplaceComparisonOperator_LtE_GtE

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 >= f.vout < len(f.source_tx.outputs):

214

prepare_offered_utxo

ReplaceComparisonOperator_LtE_Is

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 is f.vout < len(f.source_tx.outputs):

214

prepare_offered_utxo

ReplaceComparisonOperator_Lt_IsNot

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout is not len(f.source_tx.outputs):

214

prepare_offered_utxo

ReplaceComparisonOperator_Lt_LtE

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout <= len(f.source_tx.outputs):

214

prepare_offered_utxo

ReplaceComparisonOperator_Lt_NotEq

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout != len(f.source_tx.outputs):

226

prepare_offered_utxo

ReplaceTrueWithFalse

tx.sign(bypass=True)

tx.sign(bypass=False)

235

build_advert_tx

ReplaceBinaryOperator_BitOr_Add

change_pkh: bytes | Hex20,

change_pkh: bytes + Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_BitAnd

change_pkh: bytes | Hex20,

change_pkh: bytes & Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_BitXor

change_pkh: bytes | Hex20,

change_pkh: bytes ^ Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_Div

change_pkh: bytes | Hex20,

change_pkh: bytes / Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_FloorDiv

change_pkh: bytes | Hex20,

change_pkh: bytes // Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_LShift

change_pkh: bytes | Hex20,

change_pkh: bytes << Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_Mod

change_pkh: bytes | Hex20,

change_pkh: bytes % Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_Mul

change_pkh: bytes | Hex20,

change_pkh: bytes * Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_Pow

change_pkh: bytes | Hex20,

change_pkh: bytes ** Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_RShift

change_pkh: bytes | Hex20,

change_pkh: bytes >> Hex20,

annot

235

build_advert_tx

ReplaceBinaryOperator_BitOr_Sub

change_pkh: bytes | Hex20,

change_pkh: bytes - Hex20,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_Add

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy + None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_BitAnd

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy & None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_BitXor

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ^ None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_Div

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy / None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_FloorDiv

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy // None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_LShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy << None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_Mod

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy % None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_Mul

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy * None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_Pow

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ** None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_RShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy >> None = None,

annot

237

build_advert_tx

ReplaceBinaryOperator_BitOr_Sub

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy - None = None,

annot

278

build_advert_tx

NumberReplacer

if fee < 0:

if fee < 1:

278

build_advert_tx

NumberReplacer

if fee < 0:

if fee < -1:

278

build_advert_tx

ReplaceComparisonOperator_Lt_Eq

if fee < 0:

if fee == 0:

278

build_advert_tx

ReplaceComparisonOperator_Lt_LtE

if fee < 0:

if fee <= 0:

283

build_advert_tx

NumberReplacer

if not 0 <= f.vout < len(f.source_tx.outputs):

if not -1 <= f.vout < len(f.source_tx.outputs):

283

build_advert_tx

ReplaceComparisonOperator_LtE_Eq

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 == f.vout < len(f.source_tx.outputs):

283

build_advert_tx

ReplaceComparisonOperator_LtE_GtE

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 >= f.vout < len(f.source_tx.outputs):

283

build_advert_tx

ReplaceComparisonOperator_LtE_Is

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 is f.vout < len(f.source_tx.outputs):

283

build_advert_tx

ReplaceComparisonOperator_Lt_IsNot

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout is not len(f.source_tx.outputs):

283

build_advert_tx

ReplaceComparisonOperator_Lt_LtE

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout <= len(f.source_tx.outputs):

283

build_advert_tx

ReplaceComparisonOperator_Lt_NotEq

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout != len(f.source_tx.outputs):

286

build_advert_tx

ReplaceComparisonOperator_NotEq_IsNot

if _asset_of(out.satoshis, out.locking_script.serialize()).kind != "rxd":

if _asset_of(out.satoshis, out.locking_script.serialize()).kind is not "rxd":

286

build_advert_tx

ReplaceComparisonOperator_NotEq_Lt

if _asset_of(out.satoshis, out.locking_script.serialize()).kind != "rxd":

if _asset_of(out.satoshis, out.locking_script.serialize()).kind < "rxd":

298

build_advert_tx

ReplaceBinaryOperator_Sub_BitXor

change = total_in - fee

change = total_in ^ fee

299

build_advert_tx

NumberReplacer

if change < 0:

if change < -1:

299

build_advert_tx

NumberReplacer

if change < 0:

if change < 1:

299

build_advert_tx

ReplaceComparisonOperator_Lt_Eq

if change < 0:

if change == 0:

299

build_advert_tx

ReplaceComparisonOperator_Lt_LtE

if change < 0:

if change <= 0:

300

build_advert_tx

ReplaceUnaryOperator_Delete_USub

raise ValidationError(f"funding is {-change} photons short of the fee")

raise ValidationError(f"funding is {change} photons short of the fee")

300

build_advert_tx

ReplaceUnaryOperator_USub_Invert

raise ValidationError(f"funding is {-change} photons short of the fee")

raise ValidationError(f"funding is {~change} photons short of the fee")

300

build_advert_tx

ReplaceUnaryOperator_USub_Not

raise ValidationError(f"funding is {-change} photons short of the fee")

raise ValidationError(f"funding is {not change} photons short of the fee")

300

build_advert_tx

ReplaceUnaryOperator_USub_UAdd

raise ValidationError(f"funding is {-change} photons short of the fee")

raise ValidationError(f"funding is {+change} photons short of the fee")

301

build_advert_tx

ReplaceComparisonOperator_GtE_Gt

if change >= _DUST_PHOTONS:

if change > _DUST_PHOTONS:

301

build_advert_tx

ReplaceComparisonOperator_GtE_IsNot

if change >= _DUST_PHOTONS:

if change is not _DUST_PHOTONS:

301

build_advert_tx

ReplaceComparisonOperator_GtE_NotEq

if change >= _DUST_PHOTONS:

if change != _DUST_PHOTONS:

303

build_advert_tx

ReplaceTrueWithFalse

tx.sign(bypass=True)

tx.sign(bypass=False)

308

rswp_order_to_swap_offer

ReplaceBinaryOperator_Mul_Div

def rswp_order_to_swap_offer(order: RswpOrder, *, give_source_tx: Transaction) -> SwapOffer:

def rswp_order_to_swap_offer(order: RswpOrder, /, give_source_tx: Transaction) -> SwapOffer:

332

rswp_order_to_swap_offer

ReplaceComparisonOperator_NotEq_Gt

if order.demanded_outputs is None or len(order.demanded_outputs) != 1:

if order.demanded_outputs is None or len(order.demanded_outputs) > 1:

333

rswp_order_to_swap_offer

AddNot

n = "unparseable" if order.demanded_outputs is None else str(len(order.demanded_outputs))

n = "unparseable" if not order.demanded_outputs is None else str(len(order.demanded_outputs))

333

rswp_order_to_swap_offer

ReplaceComparisonOperator_Is_IsNot

n = "unparseable" if order.demanded_outputs is None else str(len(order.demanded_outputs))

n = "unparseable" if order.demanded_outputs is not None else str(len(order.demanded_outputs))

337

rswp_order_to_swap_offer

NumberReplacer

demanded = order.demanded_outputs[0]

demanded = order.demanded_outputs[ -1]

347

rswp_order_to_swap_offer

ReplaceComparisonOperator_NotEq_Lt

if give_source_tx.txid() != order.offered_txid:

if give_source_tx.txid() < order.offered_txid:

349

rswp_order_to_swap_offer

ReplaceComparisonOperator_LtE_Eq

if not 0 <= order.offered_utxo_index < len(give_source_tx.outputs):

if not 0 == order.offered_utxo_index < len(give_source_tx.outputs):

349

rswp_order_to_swap_offer

ReplaceComparisonOperator_LtE_Is

if not 0 <= order.offered_utxo_index < len(give_source_tx.outputs):

if not 0 is order.offered_utxo_index < len(give_source_tx.outputs):

354

rswp_order_to_swap_offer

NumberReplacer

if not 0 < demanded.value <= _MAX_PHOTONS:

if not 1 < demanded.value <= _MAX_PHOTONS:

354

rswp_order_to_swap_offer

NumberReplacer

if not 0 < demanded.value <= _MAX_PHOTONS:

if not -1 < demanded.value <= _MAX_PHOTONS:

354

rswp_order_to_swap_offer

ReplaceComparisonOperator_LtE_Lt

if not 0 < demanded.value <= _MAX_PHOTONS:

if not 0 < demanded.value < _MAX_PHOTONS:

354

rswp_order_to_swap_offer

ReplaceComparisonOperator_Lt_IsNot

if not 0 < demanded.value <= _MAX_PHOTONS:

if not 0 is not demanded.value <= _MAX_PHOTONS:

354

rswp_order_to_swap_offer

ReplaceComparisonOperator_Lt_LtE

if not 0 < demanded.value <= _MAX_PHOTONS:

if not 0 <= demanded.value <= _MAX_PHOTONS:

354

rswp_order_to_swap_offer

ReplaceComparisonOperator_Lt_NotEq

if not 0 < demanded.value <= _MAX_PHOTONS:

if not 0 != demanded.value <= _MAX_PHOTONS:

361

rswp_order_to_swap_offer

ReplaceComparisonOperator_NotEq_Gt

if order.token_id != _pushed_token_id(give):

if order.token_id > _pushed_token_id(give):

367

rswp_order_to_swap_offer

ReplaceComparisonOperator_NotEq_Gt

if order.offered_type != _contract_type_of(give):

if order.offered_type > _contract_type_of(give):

367

rswp_order_to_swap_offer

ReplaceComparisonOperator_NotEq_IsNot

if order.offered_type != _contract_type_of(give):

if order.offered_type is not _contract_type_of(give):

400

verify_offer_signature

ReplaceOrWithAnd

if partial is None or give_source is None:

if partial is None and give_source is None:

404

verify_offer_signature

ReplaceComparisonOperator_NotEq_Gt

if len(partial.inputs) != 1 or len(partial.outputs) != 1:

if len(partial.inputs) > 1 or len(partial.outputs) != 1:

404

verify_offer_signature

ReplaceComparisonOperator_NotEq_Gt

if len(partial.inputs) != 1 or len(partial.outputs) != 1:

if len(partial.inputs) != 1 or len(partial.outputs) > 1:

404

verify_offer_signature

ReplaceComparisonOperator_NotEq_Lt

if len(partial.inputs) != 1 or len(partial.outputs) != 1:

if len(partial.inputs) < 1 or len(partial.outputs) != 1:

404

verify_offer_signature

ReplaceComparisonOperator_NotEq_Lt

if len(partial.inputs) != 1 or len(partial.outputs) != 1:

if len(partial.inputs) != 1 or len(partial.outputs) < 1:

404

verify_offer_signature

ReplaceOrWithAnd

if len(partial.inputs) != 1 or len(partial.outputs) != 1:

if len(partial.inputs) != 1 and len(partial.outputs) != 1:

408

verify_offer_signature

NumberReplacer

maker_in = partial.inputs[0]

maker_in = partial.inputs[ -1]

409

verify_offer_signature

ReplaceComparisonOperator_NotEq_Gt

if give_source.txid() != maker_in.source_txid:

if give_source.txid() > maker_in.source_txid:

409

verify_offer_signature

ReplaceComparisonOperator_NotEq_Is

if give_source.txid() != maker_in.source_txid:

if give_source.txid() is maker_in.source_txid:

409

verify_offer_signature

ReplaceComparisonOperator_NotEq_Lt

if give_source.txid() != maker_in.source_txid:

if give_source.txid() < maker_in.source_txid:

411

verify_offer_signature

NumberReplacer

if not 0 <= maker_in.source_output_index < len(give_source.outputs):

if not -1 <= maker_in.source_output_index < len(give_source.outputs):

411

verify_offer_signature

ReplaceComparisonOperator_LtE_Eq

if not 0 <= maker_in.source_output_index < len(give_source.outputs):

if not 0 == maker_in.source_output_index < len(give_source.outputs):

411

verify_offer_signature

ReplaceComparisonOperator_LtE_GtE

if not 0 <= maker_in.source_output_index < len(give_source.outputs):

if not 0 >= maker_in.source_output_index < len(give_source.outputs):

411

verify_offer_signature

ReplaceComparisonOperator_LtE_Is

if not 0 <= maker_in.source_output_index < len(give_source.outputs):

if not 0 is maker_in.source_output_index < len(give_source.outputs):

411

verify_offer_signature

ReplaceComparisonOperator_Lt_IsNot

if not 0 <= maker_in.source_output_index < len(give_source.outputs):

if not 0 <= maker_in.source_output_index is not len(give_source.outputs):

411

verify_offer_signature

ReplaceComparisonOperator_Lt_LtE

if not 0 <= maker_in.source_output_index < len(give_source.outputs):

if not 0 <= maker_in.source_output_index <= len(give_source.outputs):

411

verify_offer_signature

ReplaceComparisonOperator_Lt_NotEq

if not 0 <= maker_in.source_output_index < len(give_source.outputs):

if not 0 <= maker_in.source_output_index != len(give_source.outputs):

421

take_rswp_order

ReplaceBinaryOperator_Mul_Div

*,

/,

424

take_rswp_order

ReplaceBinaryOperator_BitOr_Add

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes + Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_BitAnd

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes & Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_BitXor

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes ^ Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_Div

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes / Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_FloorDiv

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes // Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_LShift

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes << Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_Mod

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes % Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_Mul

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes * Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_Pow

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes ** Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_RShift

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes >> Hex20,

annot

424

take_rswp_order

ReplaceBinaryOperator_BitOr_Sub

taker_receive_pkh: bytes | Hex20,

taker_receive_pkh: bytes - Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_Add

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes + Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_BitAnd

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes & Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_BitXor

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes ^ Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_Div

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes / Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_FloorDiv

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes // Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_LShift

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes << Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_Mod

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes % Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_Mul

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes * Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_Pow

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes ** Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_RShift

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes >> Hex20,

annot

425

take_rswp_order

ReplaceBinaryOperator_BitOr_Sub

taker_change_pkh: bytes | Hex20,

taker_change_pkh: bytes - Hex20,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_Add

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy + None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_BitAnd

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy & None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_BitXor

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ^ None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_Div

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy / None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_FloorDiv

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy // None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_LShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy << None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_Mod

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy % None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_Mul

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy * None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_Pow

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ** None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_RShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy >> None = None,

annot

427

take_rswp_order

ReplaceBinaryOperator_BitOr_Sub

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy - None = None,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_Add

refund_pkh: bytes | Hex20,

refund_pkh: bytes + Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_BitAnd

refund_pkh: bytes | Hex20,

refund_pkh: bytes & Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_BitXor

refund_pkh: bytes | Hex20,

refund_pkh: bytes ^ Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_Div

refund_pkh: bytes | Hex20,

refund_pkh: bytes / Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_FloorDiv

refund_pkh: bytes | Hex20,

refund_pkh: bytes // Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_LShift

refund_pkh: bytes | Hex20,

refund_pkh: bytes << Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_Mod

refund_pkh: bytes | Hex20,

refund_pkh: bytes % Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_Mul

refund_pkh: bytes | Hex20,

refund_pkh: bytes * Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_Pow

refund_pkh: bytes | Hex20,

refund_pkh: bytes ** Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_RShift

refund_pkh: bytes | Hex20,

refund_pkh: bytes >> Hex20,

annot

452

build_cancel_tx

ReplaceBinaryOperator_BitOr_Sub

refund_pkh: bytes | Hex20,

refund_pkh: bytes - Hex20,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_Add

funding: list[FundingInput] | None = None,

funding: list[FundingInput] + None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_BitAnd

funding: list[FundingInput] | None = None,

funding: list[FundingInput] & None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_BitXor

funding: list[FundingInput] | None = None,

funding: list[FundingInput] ^ None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_Div

funding: list[FundingInput] | None = None,

funding: list[FundingInput] / None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_FloorDiv

funding: list[FundingInput] | None = None,

funding: list[FundingInput] // None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_LShift

funding: list[FundingInput] | None = None,

funding: list[FundingInput] << None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_Mod

funding: list[FundingInput] | None = None,

funding: list[FundingInput] % None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_Mul

funding: list[FundingInput] | None = None,

funding: list[FundingInput] * None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_Pow

funding: list[FundingInput] | None = None,

funding: list[FundingInput] ** None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_RShift

funding: list[FundingInput] | None = None,

funding: list[FundingInput] >> None = None,

annot

454

build_cancel_tx

ReplaceBinaryOperator_BitOr_Sub

funding: list[FundingInput] | None = None,

funding: list[FundingInput] - None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_Add

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy + None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_BitAnd

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy & None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_BitXor

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ^ None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_Div

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy / None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_FloorDiv

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy // None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_LShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy << None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_Mod

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy % None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_Mul

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy * None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_Pow

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy ** None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_RShift

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy >> None = None,

annot

455

build_cancel_tx

ReplaceBinaryOperator_BitOr_Sub

fee_policy: DeadlineFeePolicy | None = None,

fee_policy: DeadlineFeePolicy - None = None,

annot

489

build_cancel_tx

NumberReplacer

if not 0 <= offered_vout < len(offered_source_tx.outputs):

if not -1 <= offered_vout < len(offered_source_tx.outputs):

489

build_cancel_tx

ReplaceComparisonOperator_LtE_Eq

if not 0 <= offered_vout < len(offered_source_tx.outputs):

if not 0 == offered_vout < len(offered_source_tx.outputs):

489

build_cancel_tx

ReplaceComparisonOperator_LtE_GtE

if not 0 <= offered_vout < len(offered_source_tx.outputs):

if not 0 >= offered_vout < len(offered_source_tx.outputs):

489

build_cancel_tx

ReplaceComparisonOperator_LtE_Is

if not 0 <= offered_vout < len(offered_source_tx.outputs):

if not 0 is offered_vout < len(offered_source_tx.outputs):

489

build_cancel_tx

ReplaceComparisonOperator_Lt_IsNot

if not 0 <= offered_vout < len(offered_source_tx.outputs):

if not 0 <= offered_vout is not len(offered_source_tx.outputs):

489

build_cancel_tx

ReplaceComparisonOperator_Lt_LtE

if not 0 <= offered_vout < len(offered_source_tx.outputs):

if not 0 <= offered_vout <= len(offered_source_tx.outputs):

489

build_cancel_tx

ReplaceComparisonOperator_Lt_NotEq

if not 0 <= offered_vout < len(offered_source_tx.outputs):

if not 0 <= offered_vout != len(offered_source_tx.outputs):

501

build_cancel_tx

NumberReplacer

if not 0 <= f.vout < len(f.source_tx.outputs):

if not -1 <= f.vout < len(f.source_tx.outputs):

501

build_cancel_tx

ReplaceComparisonOperator_LtE_Eq

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 == f.vout < len(f.source_tx.outputs):

501

build_cancel_tx

ReplaceComparisonOperator_LtE_GtE

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 >= f.vout < len(f.source_tx.outputs):

501

build_cancel_tx

ReplaceComparisonOperator_LtE_Is

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 is f.vout < len(f.source_tx.outputs):

501

build_cancel_tx

ReplaceComparisonOperator_Lt_IsNot

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout is not len(f.source_tx.outputs):

501

build_cancel_tx

ReplaceComparisonOperator_Lt_LtE

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout <= len(f.source_tx.outputs):

501

build_cancel_tx

ReplaceComparisonOperator_Lt_NotEq

if not 0 <= f.vout < len(f.source_tx.outputs):

if not 0 <= f.vout != len(f.source_tx.outputs):

513

build_cancel_tx

ReplaceComparisonOperator_Eq_Is

if offered_asset.kind == "nft":

if offered_asset.kind is "nft":

513

build_cancel_tx

ReplaceComparisonOperator_Eq_Lt

if offered_asset.kind == "nft":

if offered_asset.kind < "nft":

513

build_cancel_tx

ReplaceComparisonOperator_Eq_LtE

if offered_asset.kind == "nft":

if offered_asset.kind <= "nft":

522

build_cancel_tx

ReplaceTrueWithFalse

tx.sign(bypass=True)

tx.sign(bypass=False)