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)
|
|