276 |
(module level)
|
ReplaceTrueWithFalse
|
@dataclass(frozen=True)
|
@dataclass(frozen=False)
|
|
323 |
__post_init__
|
ReplaceComparisonOperator_Lt_NotEq
|
if not isinstance(self.commit_vout, int) or isinstance(self.commit_vout, bool) or self.commit_vout < 0:
|
if not isinstance(self.commit_vout, int) or isinstance(self.commit_vout, bool) or self.commit_vout != 0:
|
|
325 |
__post_init__
|
NumberReplacer
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= 0:
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= -1:
|
|
325 |
__post_init__
|
NumberReplacer
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= 0:
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= 1:
|
|
325 |
__post_init__
|
ReplaceComparisonOperator_LtE_Eq
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= 0:
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value == 0:
|
|
325 |
__post_init__
|
ReplaceComparisonOperator_LtE_Lt
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= 0:
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value < 0:
|
|
325 |
__post_init__
|
ReplaceOrWithAnd
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= 0:
|
if not isinstance(self.commit_value, int) and isinstance(self.commit_value, bool) or self.commit_value <= 0:
|
|
325 |
__post_init__
|
ReplaceOrWithAnd
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) or self.commit_value <= 0:
|
if not isinstance(self.commit_value, int) or isinstance(self.commit_value, bool) and self.commit_value <= 0:
|
|
331 |
__post_init__
|
ReplaceComparisonOperator_NotEq_Lt
|
if not isinstance(self.owner_pkh, bytes) or len(self.owner_pkh) != 20:
|
if not isinstance(self.owner_pkh, bytes) or len(self.owner_pkh) < 20:
|
|
335 |
__post_init__
|
NumberReplacer
|
if not isinstance(self.carrier_value, int) or isinstance(self.carrier_value, bool) or self.carrier_value <= 0:
|
if not isinstance(self.carrier_value, int) or isinstance(self.carrier_value, bool) or self.carrier_value <= 1:
|
|
335 |
__post_init__
|
ReplaceComparisonOperator_LtE_Eq
|
if not isinstance(self.carrier_value, int) or isinstance(self.carrier_value, bool) or self.carrier_value <= 0:
|
if not isinstance(self.carrier_value, int) or isinstance(self.carrier_value, bool) or self.carrier_value == 0:
|
|
335 |
__post_init__
|
ReplaceOrWithAnd
|
if not isinstance(self.carrier_value, int) or isinstance(self.carrier_value, bool) or self.carrier_value <= 0:
|
if not isinstance(self.carrier_value, int) and isinstance(self.carrier_value, bool) or self.carrier_value <= 0:
|
|
337 |
__post_init__
|
ReplaceComparisonOperator_LtE_Eq
|
if not isinstance(self.fee_rate, int) or isinstance(self.fee_rate, bool) or self.fee_rate <= 0:
|
if not isinstance(self.fee_rate, int) or isinstance(self.fee_rate, bool) or self.fee_rate == 0:
|
|
337 |
__post_init__
|
ReplaceOrWithAnd
|
if not isinstance(self.fee_rate, int) or isinstance(self.fee_rate, bool) or self.fee_rate <= 0:
|
if not isinstance(self.fee_rate, int) and isinstance(self.fee_rate, bool) or self.fee_rate <= 0:
|
|
341 |
__post_init__
|
ReplaceComparisonOperator_GtE_Eq
|
if self.carrier_value >= self.commit_value:
|
if self.carrier_value == self.commit_value:
|
|
341 |
__post_init__
|
ReplaceComparisonOperator_GtE_Is
|
if self.carrier_value >= self.commit_value:
|
if self.carrier_value is self.commit_value:
|
|
390 |
from_dict
|
ReplaceComparisonOperator_NotEq_IsNot
|
if version != PENDING_MINT_SCHEMA_VERSION:
|
if version is not PENDING_MINT_SCHEMA_VERSION:
|
|
410 |
from_dict
|
NumberReplacer
|
raise ValidationError(f"PendingMint record is missing field {exc.args[0]!r}") from exc
|
raise ValidationError(f"PendingMint record is missing field {exc.args[ -1]!r}") from exc
|
|
415 |
(module level)
|
ReplaceTrueWithFalse
|
@dataclass(frozen=True)
|
@dataclass(frozen=False)
|
|
460 |
PendingStore
|
RemoveDecorator
|
`` |
`` |
|
464 |
PendingStore
|
RemoveDecorator
|
`` |
`` |
|
468 |
PendingStore
|
RemoveDecorator
|
`` |
`` |
|
472 |
PendingStore
|
RemoveDecorator
|
`` |
`` |
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_Add
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str + os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_BitAnd
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str & os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_BitXor
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str ^ os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_Div
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str / os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str // os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_LShift
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str << os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_Mod
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str % os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_Mul
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str * os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_Pow
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str ** os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_RShift
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str >> os.PathLike[str]) -> None:
|
annot
|
494 |
__init__
|
ReplaceBinaryOperator_BitOr_Sub
|
def __init__(self, directory: str | os.PathLike[str]) -> None:
|
def __init__(self, directory: str - os.PathLike[str]) -> None:
|
annot
|
496 |
__init__
|
ReplaceTrueWithFalse
|
self._dir.mkdir(parents=True, exist_ok=True)
|
self._dir.mkdir(parents=False, exist_ok=True)
|
|
497 |
__init__
|
ReplaceComparisonOperator_Eq_GtE
|
if os.name == "posix":
|
if os.name >= "posix":
|
|
497 |
__init__
|
ReplaceComparisonOperator_Eq_Is
|
if os.name == "posix":
|
if os.name is "posix":
|
|
497 |
__init__
|
ReplaceComparisonOperator_Eq_LtE
|
if os.name == "posix":
|
if os.name <= "posix":
|
|
518 |
save
|
ReplaceTrueWithFalse
|
body = json.dumps(pending.to_dict(), sort_keys=True).encode("utf-8")
|
body = json.dumps(pending.to_dict(), sort_keys=False).encode("utf-8")
|
|
519 |
save
|
NumberReplacer
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", -1), 0o600)
|
|
519 |
save
|
NumberReplacer
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 1), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_Add
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY + os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_Add
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC + getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_Add
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT + os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_BitAnd
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC & getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_BitXor
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY ^ os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_BitXor
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT ^ os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_BitXor
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC ^ getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC // getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_Mod
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC % getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_Mod
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT % os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_Mul
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC * getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
519 |
save
|
ReplaceBinaryOperator_BitOr_RShift
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC | getattr(os, "O_CLOEXEC", 0), 0o600)
|
fd = os.open(str(tmp), os.O_WRONLY | os.O_CREAT | os.O_TRUNC >> getattr(os, "O_CLOEXEC", 0), 0o600)
|
|
540 |
_fsync_dir
|
NumberReplacer
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 1))
|
|
540 |
_fsync_dir
|
NumberReplacer
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", -1))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_Add
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY + getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_BitAnd
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY & getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_BitXor
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY ^ getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY // getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_LShift
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY << getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_Mod
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY % getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_Mul
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY * getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_Pow
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY ** getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_RShift
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY >> getattr(os, "O_CLOEXEC", 0))
|
|
540 |
_fsync_dir
|
ReplaceBinaryOperator_BitOr_Sub
|
dir_fd = os.open(str(self._dir), os.O_RDONLY | getattr(os, "O_CLOEXEC", 0))
|
dir_fd = os.open(str(self._dir), os.O_RDONLY - getattr(os, "O_CLOEXEC", 0))
|
|
541 |
_fsync_dir
|
ExceptionReplacer
|
except OSError: # pragma: no cover - platforms without directory fds
|
except CosmicRayTestingException: # pragma: no cover - platforms without directory fds
|
|
545 |
_fsync_dir
|
ExceptionReplacer
|
except OSError: # pragma: no cover - e.g. some network filesystems
|
except CosmicRayTestingException: # pragma: no cover - e.g. some network filesystems
|
|
591 |
__init__
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 1,
|
|
591 |
__init__
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 3,
|
|
673 |
__init__
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
685 |
__init__
|
NumberReplacer
|
if not isinstance(fee_rate, int) or isinstance(fee_rate, bool) or fee_rate <= 0:
|
if not isinstance(fee_rate, int) or isinstance(fee_rate, bool) or fee_rate <= 1:
|
|
729 |
__init__
|
ReplaceComparisonOperator_Lt_LtE
|
if not isinstance(poll_interval_s, (int, float)) or isinstance(poll_interval_s, bool) or poll_interval_s < 0:
|
if not isinstance(poll_interval_s, (int, float)) or isinstance(poll_interval_s, bool) or poll_interval_s <= 0:
|
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Add
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 + bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Add
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes + None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes & None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 & bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_BitXor
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 ^ bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_BitXor
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes ^ None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Div
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes / None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Div
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 / bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes // None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 // bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_LShift
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 << bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_LShift
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes << None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Mod
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes % None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Mod
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 % bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Mul
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes * None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Mul
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 * bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Pow
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes ** None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Pow
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 ** bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_RShift
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes >> None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_RShift
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 >> bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Sub
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 - bytes | None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_BitOr_Sub
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes - None = None) -> PendingMint:
|
annot
|
748 |
commit_nft
|
ReplaceBinaryOperator_Mul_Div
|
async def commit_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
async def commit_nft(self, metadata: GlyphMetadata, /, owner_pkh: Hex20 | bytes | None = None) -> PendingMint:
|
|
778 |
commit_ft
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Add
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes + None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Add
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 + bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes & None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 & bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_BitXor
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes ^ None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_BitXor
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 ^ bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Div
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes / None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Div
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 / bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 // bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes // None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_LShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes << None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_LShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 << bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Mod
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes % None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Mod
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 % bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Mul
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes * None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Mul
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 * bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Pow
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes ** None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Pow
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 ** bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_RShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 >> bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_RShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes >> None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Sub
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 - bytes | None = None,
|
annot
|
780 |
commit_ft
|
ReplaceBinaryOperator_BitOr_Sub
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes - None = None,
|
annot
|
808 |
commit_ft
|
ReplaceComparisonOperator_Lt_LtE
|
if not isinstance(supply, int) or isinstance(supply, bool) or supply < DUST_THRESHOLD_PHOTONS:
|
if not isinstance(supply, int) or isinstance(supply, bool) or supply <= DUST_THRESHOLD_PHOTONS:
|
|
826 |
reveal_nft
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Add
|
fee_rate: int | None = None,
|
fee_rate: int + None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
fee_rate: int | None = None,
|
fee_rate: int & None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_BitXor
|
fee_rate: int | None = None,
|
fee_rate: int ^ None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Div
|
fee_rate: int | None = None,
|
fee_rate: int / None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
fee_rate: int | None = None,
|
fee_rate: int // None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_LShift
|
fee_rate: int | None = None,
|
fee_rate: int << None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Mod
|
fee_rate: int | None = None,
|
fee_rate: int % None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Mul
|
fee_rate: int | None = None,
|
fee_rate: int * None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Pow
|
fee_rate: int | None = None,
|
fee_rate: int ** None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_RShift
|
fee_rate: int | None = None,
|
fee_rate: int >> None = None,
|
annot
|
827 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Sub
|
fee_rate: int | None = None,
|
fee_rate: int - None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Add
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool + None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool & None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_BitXor
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool ^ None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Div
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool / None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool // None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_LShift
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool << None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Mod
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool % None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Mul
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool * None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Pow
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool ** None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_RShift
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool >> None = None,
|
annot
|
828 |
reveal_nft
|
ReplaceBinaryOperator_BitOr_Sub
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool - None = None,
|
annot
|
855 |
reveal_ft
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Add
|
fee_rate: int | None = None,
|
fee_rate: int + None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
fee_rate: int | None = None,
|
fee_rate: int & None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_BitXor
|
fee_rate: int | None = None,
|
fee_rate: int ^ None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Div
|
fee_rate: int | None = None,
|
fee_rate: int / None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
fee_rate: int | None = None,
|
fee_rate: int // None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_LShift
|
fee_rate: int | None = None,
|
fee_rate: int << None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Mod
|
fee_rate: int | None = None,
|
fee_rate: int % None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Mul
|
fee_rate: int | None = None,
|
fee_rate: int * None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Pow
|
fee_rate: int | None = None,
|
fee_rate: int ** None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_RShift
|
fee_rate: int | None = None,
|
fee_rate: int >> None = None,
|
annot
|
856 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Sub
|
fee_rate: int | None = None,
|
fee_rate: int - None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Add
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool + None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool & None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_BitXor
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool ^ None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Div
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool / None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool // None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_LShift
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool << None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Mod
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool % None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Mul
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool * None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Pow
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool ** None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_RShift
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool >> None = None,
|
annot
|
857 |
reveal_ft
|
ReplaceBinaryOperator_BitOr_Sub
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool - None = None,
|
annot
|
858 |
reveal_ft
|
ReplaceFalseWithTrue
|
allow_overpay: bool = False,
|
allow_overpay: bool = True,
|
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Add
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 + bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Add
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes + None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 & bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes & None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_BitXor
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes ^ None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_BitXor
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 ^ bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Div
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes / None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Div
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 / bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 // bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes // None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_LShift
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 << bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_LShift
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes << None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Mod
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 % bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Mod
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes % None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Mul
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 * bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Mul
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes * None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Pow
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes ** None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Pow
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 ** bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_RShift
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 >> bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_RShift
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes >> None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Sub
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes - None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_BitOr_Sub
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 - bytes | None = None) -> MintResult:
|
annot
|
882 |
mint_nft
|
ReplaceBinaryOperator_Mul_Div
|
async def mint_nft(self, metadata: GlyphMetadata, *, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
async def mint_nft(self, metadata: GlyphMetadata, /, owner_pkh: Hex20 | bytes | None = None) -> MintResult:
|
|
899 |
deploy_ft
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Add
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 + bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Add
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes + None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes & None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_BitAnd
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 & bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_BitXor
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes ^ None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_BitXor
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 ^ bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Div
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes / None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Div
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 / bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 // bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes // None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_LShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 << bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_LShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes << None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Mod
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 % bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Mod
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes % None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Mul
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes * None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Mul
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 * bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Pow
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes ** None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Pow
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 ** bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_RShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes >> None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_RShift
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 >> bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Sub
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 - bytes | None = None,
|
annot
|
901 |
deploy_ft
|
ReplaceBinaryOperator_BitOr_Sub
|
treasury_pkh: Hex20 | bytes | None = None,
|
treasury_pkh: Hex20 | bytes - None = None,
|
annot
|
934 |
_commit
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Add
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 + bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Add
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes + None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_BitAnd
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes & None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_BitAnd
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 & bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_BitXor
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 ^ bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_BitXor
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes ^ None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Div
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 / bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Div
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes / None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes // None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 // bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_LShift
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes << None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_LShift
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 << bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Mod
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes % None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Mod
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 % bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Mul
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes * None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Mul
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 * bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Pow
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 ** bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Pow
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes ** None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_RShift
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 >> bytes | None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_RShift
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes >> None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Sub
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 | bytes - None,
|
annot
|
938 |
_commit
|
ReplaceBinaryOperator_BitOr_Sub
|
owner_pkh: Hex20 | bytes | None,
|
owner_pkh: Hex20 - bytes | None,
|
annot
|
956 |
_commit
|
NumberReplacer
|
commit_fee_estimate = 300 * fee_rate # ~300-byte commit
|
commit_fee_estimate = 299 * fee_rate # ~300-byte commit
|
|
956 |
_commit
|
NumberReplacer
|
commit_fee_estimate = 300 * fee_rate # ~300-byte commit
|
commit_fee_estimate = 301 * fee_rate # ~300-byte commit
|
|
957 |
_commit
|
ReplaceBinaryOperator_Add_BitOr
|
total_required = commit_value + commit_fee_estimate + NFT_CARRIER_VALUE
|
total_required = commit_value + commit_fee_estimate | NFT_CARRIER_VALUE
|
|
957 |
_commit
|
ReplaceBinaryOperator_Add_BitXor
|
total_required = commit_value + commit_fee_estimate + NFT_CARRIER_VALUE
|
total_required = commit_value + commit_fee_estimate ^ NFT_CARRIER_VALUE
|
|
957 |
_commit
|
ReplaceBinaryOperator_Add_Sub
|
total_required = commit_value + commit_fee_estimate + NFT_CARRIER_VALUE
|
total_required = commit_value + commit_fee_estimate - NFT_CARRIER_VALUE
|
|
964 |
_commit
|
NumberReplacer
|
available=0,
|
available= -1,
|
|
964 |
_commit
|
NumberReplacer
|
available=0,
|
available= 1,
|
|
967 |
_commit
|
ReplaceTrueWithFalse
|
triples.sort(key=lambda t: t[0].value, reverse=True)
|
triples.sort(key=lambda t: t[0].value, reverse=False)
|
|
968 |
_commit
|
ReplaceComparisonOperator_GtE_Gt
|
funding = next((t for t in triples if t[0].value >= total_required), None)
|
funding = next((t for t in triples if t[0].value > total_required), None)
|
|
970 |
_commit
|
NumberReplacer
|
largest = triples[0][0].value
|
largest = triples[ -1][0].value
|
|
1034 |
_commit
|
ReplaceComparisonOperator_NotEq_Gt
|
if broadcast_txid != pending.commit_txid:
|
if broadcast_txid > pending.commit_txid:
|
|
1034 |
_commit
|
ReplaceComparisonOperator_NotEq_GtE
|
if broadcast_txid != pending.commit_txid:
|
if broadcast_txid >= pending.commit_txid:
|
|
1034 |
_commit
|
ReplaceComparisonOperator_NotEq_IsNot
|
if broadcast_txid != pending.commit_txid:
|
if broadcast_txid is not pending.commit_txid:
|
|
1048 |
_commit
|
ExceptionReplacer
|
except Exception as exc:
|
except CosmicRayTestingException as exc:
|
|
1055 |
_commit
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 3,
|
|
1055 |
_commit
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 1,
|
|
1062 |
_commit
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 3,
|
|
1062 |
_commit
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 1,
|
|
1078 |
_persist_or_abort
|
ReplaceComparisonOperator_NotEq_IsNot
|
if reloaded != pending:
|
if reloaded is not pending:
|
|
1088 |
_reveal
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_Add
|
fee_rate: int | None = None,
|
fee_rate: int + None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_BitAnd
|
fee_rate: int | None = None,
|
fee_rate: int & None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_BitXor
|
fee_rate: int | None = None,
|
fee_rate: int ^ None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_Div
|
fee_rate: int | None = None,
|
fee_rate: int / None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
fee_rate: int | None = None,
|
fee_rate: int // None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_LShift
|
fee_rate: int | None = None,
|
fee_rate: int << None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_Mod
|
fee_rate: int | None = None,
|
fee_rate: int % None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_Mul
|
fee_rate: int | None = None,
|
fee_rate: int * None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_Pow
|
fee_rate: int | None = None,
|
fee_rate: int ** None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_RShift
|
fee_rate: int | None = None,
|
fee_rate: int >> None = None,
|
annot
|
1089 |
_reveal
|
ReplaceBinaryOperator_BitOr_Sub
|
fee_rate: int | None = None,
|
fee_rate: int - None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_Add
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool + None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_BitAnd
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool & None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_BitXor
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool ^ None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_Div
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool / None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool // None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_LShift
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool << None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_Mod
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool % None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_Mul
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool * None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_Pow
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool ** None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_RShift
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool >> None = None,
|
annot
|
1090 |
_reveal
|
ReplaceBinaryOperator_BitOr_Sub
|
allow_below_relay_floor: bool | None = None,
|
allow_below_relay_floor: bool - None = None,
|
annot
|
1091 |
_reveal
|
ReplaceFalseWithTrue
|
allow_overpay: bool = False,
|
allow_overpay: bool = True,
|
|
1107 |
_reveal
|
NumberReplacer
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate <= 0:
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate <= -1:
|
|
1107 |
_reveal
|
ReplaceComparisonOperator_LtE_Eq
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate <= 0:
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate == 0:
|
|
1107 |
_reveal
|
ReplaceComparisonOperator_LtE_Lt
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate <= 0:
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate < 0:
|
|
1107 |
_reveal
|
ReplaceOrWithAnd
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate <= 0:
|
if not isinstance(effective_rate, int) and isinstance(effective_rate, bool) or effective_rate <= 0:
|
|
1107 |
_reveal
|
ReplaceOrWithAnd
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) or effective_rate <= 0:
|
if not isinstance(effective_rate, int) or isinstance(effective_rate, bool) and effective_rate <= 0:
|
|
1160 |
_reveal
|
NumberReplacer
|
reveal_tx.fee(SatoshisPerKilobyte(effective_rate * 1000))
|
reveal_tx.fee(SatoshisPerKilobyte(effective_rate * 1001))
|
|
1160 |
_reveal
|
ReplaceBinaryOperator_Mul_LShift
|
reveal_tx.fee(SatoshisPerKilobyte(effective_rate * 1000))
|
reveal_tx.fee(SatoshisPerKilobyte(effective_rate << 1000))
|
|
1187 |
_reveal
|
ReplaceComparisonOperator_NotEq_Gt
|
if str(echoed) != reveal_txid:
|
if str(echoed) > reveal_txid:
|
|
1187 |
_reveal
|
ReplaceComparisonOperator_NotEq_GtE
|
if str(echoed) != reveal_txid:
|
if str(echoed) >= reveal_txid:
|
|
1187 |
_reveal
|
ReplaceComparisonOperator_NotEq_IsNot
|
if str(echoed) != reveal_txid:
|
if str(echoed) is not reveal_txid:
|
|
1193 |
_reveal
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 3,
|
|
1193 |
_reveal
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 1,
|
|
1332 |
_build_reveal_tx
|
NumberReplacer
|
TransactionOutput(change_locking, 0, change=True),
|
TransactionOutput(change_locking, -1, change=True),
|
|
1332 |
_build_reveal_tx
|
NumberReplacer
|
TransactionOutput(change_locking, 0, change=True),
|
TransactionOutput(change_locking, 1, change=True),
|
|
1356 |
_build_commit_tx
|
NumberReplacer
|
src_outs = [TransactionOutput(Script(b""), 0) for _ in range(funding_utxo.tx_pos)]
|
src_outs = [TransactionOutput(Script(b""), -1) for _ in range(funding_utxo.tx_pos)]
|
|
1356 |
_build_commit_tx
|
NumberReplacer
|
src_outs = [TransactionOutput(Script(b""), 0) for _ in range(funding_utxo.tx_pos)]
|
src_outs = [TransactionOutput(Script(b""), 1) for _ in range(funding_utxo.tx_pos)]
|
|
1374 |
_build_commit_tx
|
NumberReplacer
|
TransactionOutput(locking, 0, change=True),
|
TransactionOutput(locking, 1, change=True),
|
|
1374 |
_build_commit_tx
|
NumberReplacer
|
TransactionOutput(locking, 0, change=True),
|
TransactionOutput(locking, -1, change=True),
|
|
1377 |
_build_commit_tx
|
NumberReplacer
|
commit_tx.fee(SatoshisPerKilobyte(fee_rate * 1000))
|
commit_tx.fee(SatoshisPerKilobyte(fee_rate * 999))
|
|
1377 |
_build_commit_tx
|
NumberReplacer
|
commit_tx.fee(SatoshisPerKilobyte(fee_rate * 1000))
|
commit_tx.fee(SatoshisPerKilobyte(fee_rate * 1001))
|
|