86 |
_assert_declared_dmint_matches
|
AddNot
|
if not isinstance(declared, dict):
|
if not not isinstance(declared, dict):
|
|
86 |
_assert_declared_dmint_matches
|
ReplaceUnaryOperator_Delete_Not
|
if not isinstance(declared, dict):
|
if isinstance(declared, dict):
|
|
92 |
_assert_declared_dmint_matches
|
ZeroIterationForLoop
|
`` |
for cbor_key, actual in []:
|
|
93 |
_assert_declared_dmint_matches
|
NumberReplacer
|
("premine", params.premine_amount or 0),
|
("premine", params.premine_amount or 1),
|
|
93 |
_assert_declared_dmint_matches
|
NumberReplacer
|
("premine", params.premine_amount or 0),
|
("premine", params.premine_amount or -1),
|
|
93 |
_assert_declared_dmint_matches
|
ReplaceOrWithAnd
|
("premine", params.premine_amount or 0),
|
("premine", params.premine_amount and 0),
|
|
100 |
_assert_declared_dmint_matches
|
AddNot
|
if cbor_key not in declared:
|
if not cbor_key not in declared:
|
|
101 |
_assert_declared_dmint_matches
|
ReplaceContinueWithBreak
|
continue
|
break
|
|
104 |
_assert_declared_dmint_matches
|
ExceptionReplacer
|
except (TypeError, ValueError) as exc:
|
except (TypeError, CosmicRayTestingException) as exc:
|
|
104 |
_assert_declared_dmint_matches
|
ExceptionReplacer
|
except (TypeError, ValueError) as exc:
|
except (CosmicRayTestingException, ValueError) as exc:
|
|
106 |
_assert_declared_dmint_matches
|
AddNot
|
if declared_value != actual:
|
if not declared_value != actual:
|
|
106 |
_assert_declared_dmint_matches
|
ReplaceComparisonOperator_NotEq_Eq
|
if declared_value != actual:
|
if declared_value == actual:
|
|
106 |
_assert_declared_dmint_matches
|
ReplaceComparisonOperator_NotEq_Gt
|
if declared_value != actual:
|
if declared_value > actual:
|
|
106 |
_assert_declared_dmint_matches
|
ReplaceComparisonOperator_NotEq_GtE
|
if declared_value != actual:
|
if declared_value >= actual:
|
|
106 |
_assert_declared_dmint_matches
|
ReplaceComparisonOperator_NotEq_Is
|
if declared_value != actual:
|
if declared_value is actual:
|
|
106 |
_assert_declared_dmint_matches
|
ReplaceComparisonOperator_NotEq_IsNot
|
if declared_value != actual:
|
if declared_value is not actual:
|
|
106 |
_assert_declared_dmint_matches
|
ReplaceComparisonOperator_NotEq_Lt
|
if declared_value != actual:
|
if declared_value < actual:
|
|
106 |
_assert_declared_dmint_matches
|
ReplaceComparisonOperator_NotEq_LtE
|
if declared_value != actual:
|
if declared_value <= actual:
|
|
109 |
_assert_declared_dmint_matches
|
AddNot
|
if mismatches:
|
if not mismatches:
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_BitAnd
|
+ "; ".join(mismatches)
|
& "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_BitOr
|
+ "; ".join(mismatches)
|
| "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_BitXor
|
+ "; ".join(mismatches)
|
^ "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Div
|
+ "; ".join(mismatches)
|
/ "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_FloorDiv
|
+ "; ".join(mismatches)
|
// "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_LShift
|
+ "; ".join(mismatches)
|
<< "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Mod
|
+ "; ".join(mismatches)
|
% "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Mul
|
+ "; ".join(mismatches)
|
* "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Pow
|
+ "; ".join(mismatches)
|
** "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_RShift
|
+ "; ".join(mismatches)
|
>> "; ".join(mismatches)
|
|
112 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Sub
|
+ "; ".join(mismatches)
|
- "; ".join(mismatches)
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_BitAnd
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
& ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_BitOr
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
| ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_BitXor
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
^ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Div
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
/ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_FloorDiv
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
// ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_LShift
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
<< ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Mod
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
% ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Mul
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
* ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Pow
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
** ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_RShift
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
>> ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
113 |
_assert_declared_dmint_matches
|
ReplaceBinaryOperator_Add_Sub
|
+ ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
- ". Nothing on chain reconciles the two, so the token would permanently misreport "
|
|
309 |
prepare_commit
|
NumberReplacer
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 275 * MIN_FEE_RATE
|
|
309 |
prepare_commit
|
NumberReplacer
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 277 * MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_Add
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 + MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_BitAnd
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 & MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_BitOr
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 | MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_BitXor
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 ^ MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_Div
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 / MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_LShift
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 << MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_Mod
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 % MIN_FEE_RATE
|
|
309 |
prepare_commit
|
ReplaceBinaryOperator_Mul_Pow
|
estimated_fee = 276 * MIN_FEE_RATE
|
estimated_fee = 276 ** MIN_FEE_RATE
|
|
388 |
prepare_ft_deploy_reveal
|
NumberReplacer
|
if premine_amount < 0:
|
if premine_amount < 1:
|
|
388 |
prepare_ft_deploy_reveal
|
ReplaceComparisonOperator_Lt_LtE
|
if premine_amount < 0:
|
if premine_amount <= 0:
|
|
423 |
GlyphBuilder
|
RemoveDecorator
|
`` |
`` |
|
427 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
430 |
GlyphBuilder
|
RemoveDecorator
|
@overload
|
`` |
|
434 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Add
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams + DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_BitAnd
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams & DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_BitXor
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams ^ DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Div
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams / DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams // DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_LShift
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams << DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Mod
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams % DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Mul
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams * DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Pow
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams ** DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_RShift
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams >> DmintV2DeployParams,
|
annot
|
439 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Sub
|
params: DmintV1DeployParams | DmintV2DeployParams,
|
params: DmintV1DeployParams - DmintV2DeployParams,
|
annot
|
440 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
441 |
prepare_dmint_deploy
|
ReplaceTrueWithFalse
|
allow_v2_deploy: bool = True,
|
allow_v2_deploy: bool = False,
|
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Add
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult + DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_BitAnd
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult & DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_BitXor
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult ^ DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Div
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult / DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult // DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_LShift
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult << DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Mod
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult % DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Mul
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult * DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Pow
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult ** DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_RShift
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult >> DmintV2DeployResult:
|
annot
|
442 |
prepare_dmint_deploy
|
ReplaceBinaryOperator_BitOr_Sub
|
) -> DmintV1DeployResult | DmintV2DeployResult:
|
) -> DmintV1DeployResult - DmintV2DeployResult:
|
annot
|
470 |
prepare_dmint_deploy
|
AddNot
|
if isinstance(params, DmintV1DeployParams):
|
if not isinstance(params, DmintV1DeployParams):
|
|
472 |
prepare_dmint_deploy
|
AddNot
|
if isinstance(params, DmintV2DeployParams):
|
if not isinstance(params, DmintV2DeployParams):
|
|
523 |
_prepare_dmint_v1_deploy
|
AddNot
|
if "v" in decoded:
|
if not "v" in decoded:
|
|
529 |
_prepare_dmint_v1_deploy
|
AddNot
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if not "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
|
529 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 0 not in decoded["p"] or 4 not in decoded["p"]:
|
|
529 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 2 not in decoded["p"] or 4 not in decoded["p"]:
|
|
529 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 1 not in decoded["p"] or 3 not in decoded["p"]:
|
|
529 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 1 not in decoded["p"] or 5 not in decoded["p"]:
|
|
529 |
_prepare_dmint_v1_deploy
|
ReplaceOrWithAnd
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 1 not in decoded["p"] and 4 not in decoded["p"]:
|
|
529 |
_prepare_dmint_v1_deploy
|
ReplaceOrWithAnd
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded and 1 not in decoded["p"] or 4 not in decoded["p"]:
|
|
540 |
_prepare_dmint_v1_deploy
|
ReplaceFalseWithTrue
|
is_nft=False,
|
is_nft=True,
|
|
544 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 277 * MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 275 * MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Add
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 + MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_BitAnd
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 & MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_BitOr
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 | MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_BitXor
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 ^ MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Div
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 / MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_FloorDiv
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 // MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_LShift
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 << MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Mod
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 % MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Pow
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 ** MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_RShift
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 >> MIN_FEE_RATE
|
|
544 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Sub
|
estimated_commit_fee = 276 * MIN_FEE_RATE
|
estimated_commit_fee = 276 - MIN_FEE_RATE
|
|
556 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" * 31
|
|
556 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" * 33
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Add
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" + 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_BitAnd
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" & 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_BitOr
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" | 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_BitXor
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" ^ 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Div
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" / 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_FloorDiv
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" // 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_LShift
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" << 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Mod
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" % 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Pow
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" ** 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_RShift
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" >> 32
|
|
556 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Mul_Sub
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" - 32
|
|
557 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout=0)
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout= -1)
|
|
557 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout=0)
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout= 1)
|
|
561 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
height=0,
|
height= -1,
|
|
561 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
height=0,
|
height= 1,
|
|
562 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 0),
|
|
562 |
_prepare_dmint_v1_deploy
|
NumberReplacer
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 2),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_BitAnd
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i & 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_BitOr
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i | 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_BitXor
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i ^ 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_Div
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i / 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_FloorDiv
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i // 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_LShift
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i << 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_Mod
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i % 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_Mul
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i * 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_Pow
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i ** 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_RShift
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i >> 1),
|
|
562 |
_prepare_dmint_v1_deploy
|
ReplaceBinaryOperator_Add_Sub
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i - 1),
|
|
590 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Div
|
*,
|
/,
|
|
600 |
_prepare_dmint_v2_deploy
|
AddNot
|
if not allow_v2_deploy:
|
if not not allow_v2_deploy:
|
|
600 |
_prepare_dmint_v2_deploy
|
ReplaceUnaryOperator_Delete_Not
|
if not allow_v2_deploy:
|
if allow_v2_deploy:
|
|
613 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 1,
|
|
613 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 3,
|
|
619 |
_prepare_dmint_v2_deploy
|
AddNot
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if not "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
|
619 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 1 not in decoded["p"] or 3 not in decoded["p"]:
|
|
619 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 0 not in decoded["p"] or 4 not in decoded["p"]:
|
|
619 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 2 not in decoded["p"] or 4 not in decoded["p"]:
|
|
619 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 1 not in decoded["p"] or 5 not in decoded["p"]:
|
|
619 |
_prepare_dmint_v2_deploy
|
ReplaceOrWithAnd
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded and 1 not in decoded["p"] or 4 not in decoded["p"]:
|
|
619 |
_prepare_dmint_v2_deploy
|
ReplaceOrWithAnd
|
if "p" not in decoded or 1 not in decoded["p"] or 4 not in decoded["p"]:
|
if "p" not in decoded or 1 not in decoded["p"] and 4 not in decoded["p"]:
|
|
626 |
_prepare_dmint_v2_deploy
|
ReplaceFalseWithTrue
|
commit_script = build_commit_locking_script(payload_hash, params.owner_pkh, is_nft=False)
|
commit_script = build_commit_locking_script(payload_hash, params.owner_pkh, is_nft=True)
|
|
631 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee= 275 * MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee= 277 * MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Add
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 + MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_BitAnd
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 & MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_BitOr
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 | MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_BitXor
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 ^ MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Div
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 / MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_FloorDiv
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 // MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_LShift
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 << MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Mod
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 % MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Pow
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 ** MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_RShift
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 >> MIN_FEE_RATE,
|
|
631 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Sub
|
estimated_fee=276 * MIN_FEE_RATE,
|
estimated_fee=276 - MIN_FEE_RATE,
|
|
637 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" * 31
|
|
637 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" * 33
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Add
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" + 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_BitAnd
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" & 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_BitOr
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" | 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_BitXor
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" ^ 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Div
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" / 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_FloorDiv
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" // 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_LShift
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" << 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Mod
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" % 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Pow
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" ** 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_RShift
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" >> 32
|
|
637 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Mul_Sub
|
placeholder_txid = "00" * 32
|
placeholder_txid = "00" - 32
|
|
638 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout=0)
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout= -1)
|
|
638 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout=0)
|
placeholder_token_ref = GlyphRef(txid=placeholder_txid, vout= 1)
|
|
642 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 2),
|
|
642 |
_prepare_dmint_v2_deploy
|
NumberReplacer
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 0),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_BitAnd
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i & 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_BitOr
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i | 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_BitXor
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i ^ 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_Div
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i / 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_FloorDiv
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i // 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_LShift
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i << 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_Mod
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i % 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_Mul
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i * 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_Pow
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i ** 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_RShift
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i >> 1),
|
|
642 |
_prepare_dmint_v2_deploy
|
ReplaceBinaryOperator_Add_Sub
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=placeholder_txid, vout=i - 1),
|
|
773 |
prepare_mutable_reveal
|
ReplaceBinaryOperator_Add_BitXor
|
mutable_ref = GlyphRef(txid=commit_txid, vout=commit_vout + 1)
|
mutable_ref = GlyphRef(txid=commit_txid, vout=commit_vout ^ 1)
|
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_Add
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef + None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_BitAnd
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef & None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_BitXor
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef ^ None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_Div
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef / None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef // None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_LShift
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef << None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_Mod
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef % None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_Mul
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef * None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_Pow
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef ** None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_RShift
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef >> None = None,
|
annot
|
796 |
prepare_container_reveal
|
ReplaceBinaryOperator_BitOr_Sub
|
child_ref: GlyphRef | None = None,
|
child_ref: GlyphRef - None = None,
|
annot
|
908 |
prepare_container_child_reveal
|
ExceptionReplacer
|
except Exception as exc:
|
except CosmicRayTestingException as exc:
|
|
950 |
_assert_protocol
|
ExceptionReplacer
|
except Exception as exc:
|
except CosmicRayTestingException as exc:
|
|
1002 |
prepare_wave_reveal
|
NumberReplacer
|
if not name or not name.isprintable() or len(name) > 255:
|
if not name or not name.isprintable() or len(name) > 256:
|
|
1002 |
prepare_wave_reveal
|
ReplaceOrWithAnd
|
if not name or not name.isprintable() or len(name) > 255:
|
if not name and not name.isprintable() or len(name) > 255:
|
|
1002 |
prepare_wave_reveal
|
ReplaceOrWithAnd
|
if not name or not name.isprintable() or len(name) > 255:
|
if not name or not name.isprintable() and len(name) > 255:
|
|
1017 |
prepare_wave_reveal
|
ReplaceOrWithAnd
|
attrs = cbor_data.get("attrs") or {}
|
attrs = cbor_data.get("attrs") and {}
|
|
1018 |
prepare_wave_reveal
|
AddNot
|
cbor_name = attrs.get("name") if isinstance(attrs, dict) else None
|
cbor_name = attrs.get("name") if not isinstance(attrs, dict) else None
|
|
1021 |
prepare_wave_reveal
|
ReplaceComparisonOperator_NotEq_Gt
|
if cbor_name != name:
|
if cbor_name > name:
|
|
1028 |
prepare_wave_reveal
|
ExceptionReplacer
|
except Exception as exc:
|
except CosmicRayTestingException as exc:
|
|
1122 |
build_nft_transfer_tx
|
NumberReplacer
|
padding_output = TransactionOutput(Script(b""), 0)
|
padding_output = TransactionOutput(Script(b""), 1)
|
|
1122 |
build_nft_transfer_tx
|
NumberReplacer
|
padding_output = TransactionOutput(Script(b""), 0)
|
padding_output = TransactionOutput(Script(b""), -1)
|
|
1208 |
build_nft_transfer_tx
|
ReplaceBinaryOperator_Sub_Add
|
fee_paid=params.nft_utxo_value - output_value,
|
fee_paid=params.nft_utxo_value + output_value,
|
|
1208 |
build_nft_transfer_tx
|
ReplaceBinaryOperator_Sub_BitOr
|
fee_paid=params.nft_utxo_value - output_value,
|
fee_paid=params.nft_utxo_value | output_value,
|
|
1208 |
build_nft_transfer_tx
|
ReplaceBinaryOperator_Sub_BitXor
|
fee_paid=params.nft_utxo_value - output_value,
|
fee_paid=params.nft_utxo_value ^ output_value,
|
|
1208 |
build_nft_transfer_tx
|
ReplaceBinaryOperator_Sub_LShift
|
fee_paid=params.nft_utxo_value - output_value,
|
fee_paid=params.nft_utxo_value << output_value,
|
|
1208 |
build_nft_transfer_tx
|
ReplaceBinaryOperator_Sub_Mul
|
fee_paid=params.nft_utxo_value - output_value,
|
fee_paid=params.nft_utxo_value * output_value,
|
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Add
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int + None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Add
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 + None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_BitAnd
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int & None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_BitAnd
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 & None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_BitXor
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int ^ None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_BitXor
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 ^ None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Div
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int / None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Div
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 / None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 // None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int // None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_LShift
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int << None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_LShift
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 << None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Mod
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 % None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Mod
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int % None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Mul
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 * None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Mul
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int * None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Pow
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int ** None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Pow
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 ** None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_RShift
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 >> None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_RShift
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int >> None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Sub
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int - None, premine_pkh: Hex20 | None) -> None:
|
annot
|
1288 |
_validate_premine
|
ReplaceBinaryOperator_BitOr_Sub
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 | None) -> None:
|
def _validate_premine(premine_amount: int | None, premine_pkh: Hex20 - None) -> None:
|
annot
|
1301 |
_validate_premine
|
AddNot
|
if premine_amount is None:
|
if not premine_amount is None:
|
|
1301 |
_validate_premine
|
ReplaceComparisonOperator_Is_IsNot
|
if premine_amount is None:
|
if premine_amount is not None:
|
|
1302 |
_validate_premine
|
AddNot
|
if premine_pkh is not None:
|
if not premine_pkh is not None:
|
|
1302 |
_validate_premine
|
ReplaceComparisonOperator_IsNot_Is
|
if premine_pkh is not None:
|
if premine_pkh is None:
|
|
1308 |
_validate_premine
|
AddNot
|
if isinstance(premine_amount, bool) or not isinstance(premine_amount, int):
|
if not isinstance(premine_amount, bool) or not isinstance(premine_amount, int):
|
|
1308 |
_validate_premine
|
ReplaceOrWithAnd
|
if isinstance(premine_amount, bool) or not isinstance(premine_amount, int):
|
if isinstance(premine_amount, bool) and not isinstance(premine_amount, int):
|
|
1308 |
_validate_premine
|
ReplaceUnaryOperator_Delete_Not
|
if isinstance(premine_amount, bool) or not isinstance(premine_amount, int):
|
if isinstance(premine_amount, bool) or isinstance(premine_amount, int):
|
|
1310 |
_validate_premine
|
AddNot
|
if premine_amount < 1:
|
if not premine_amount < 1:
|
|
1310 |
_validate_premine
|
NumberReplacer
|
if premine_amount < 1:
|
if premine_amount < 2:
|
|
1310 |
_validate_premine
|
NumberReplacer
|
if premine_amount < 1:
|
if premine_amount < 0:
|
|
1310 |
_validate_premine
|
ReplaceComparisonOperator_Lt_Eq
|
if premine_amount < 1:
|
if premine_amount == 1:
|
|
1310 |
_validate_premine
|
ReplaceComparisonOperator_Lt_Gt
|
if premine_amount < 1:
|
if premine_amount > 1:
|
|
1310 |
_validate_premine
|
ReplaceComparisonOperator_Lt_GtE
|
if premine_amount < 1:
|
if premine_amount >= 1:
|
|
1310 |
_validate_premine
|
ReplaceComparisonOperator_Lt_LtE
|
if premine_amount < 1:
|
if premine_amount <= 1:
|
|
1310 |
_validate_premine
|
ReplaceComparisonOperator_Lt_NotEq
|
if premine_amount < 1:
|
if premine_amount != 1:
|
|
1314 |
_validate_premine
|
AddNot
|
if premine_amount > _MAX_PHOTONS:
|
if not premine_amount > _MAX_PHOTONS:
|
|
1314 |
_validate_premine
|
ReplaceComparisonOperator_Gt_Eq
|
if premine_amount > _MAX_PHOTONS:
|
if premine_amount == _MAX_PHOTONS:
|
|
1314 |
_validate_premine
|
ReplaceComparisonOperator_Gt_GtE
|
if premine_amount > _MAX_PHOTONS:
|
if premine_amount >= _MAX_PHOTONS:
|
|
1314 |
_validate_premine
|
ReplaceComparisonOperator_Gt_Is
|
if premine_amount > _MAX_PHOTONS:
|
if premine_amount is _MAX_PHOTONS:
|
|
1314 |
_validate_premine
|
ReplaceComparisonOperator_Gt_IsNot
|
if premine_amount > _MAX_PHOTONS:
|
if premine_amount is not _MAX_PHOTONS:
|
|
1314 |
_validate_premine
|
ReplaceComparisonOperator_Gt_Lt
|
if premine_amount > _MAX_PHOTONS:
|
if premine_amount < _MAX_PHOTONS:
|
|
1314 |
_validate_premine
|
ReplaceComparisonOperator_Gt_LtE
|
if premine_amount > _MAX_PHOTONS:
|
if premine_amount <= _MAX_PHOTONS:
|
|
1314 |
_validate_premine
|
ReplaceComparisonOperator_Gt_NotEq
|
if premine_amount > _MAX_PHOTONS:
|
if premine_amount != _MAX_PHOTONS:
|
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Add
|
premine_amount: int | None,
|
premine_amount: int + None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_BitAnd
|
premine_amount: int | None,
|
premine_amount: int & None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_BitXor
|
premine_amount: int | None,
|
premine_amount: int ^ None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Div
|
premine_amount: int | None,
|
premine_amount: int / None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
premine_amount: int | None,
|
premine_amount: int // None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_LShift
|
premine_amount: int | None,
|
premine_amount: int << None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Mod
|
premine_amount: int | None,
|
premine_amount: int % None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Mul
|
premine_amount: int | None,
|
premine_amount: int * None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Pow
|
premine_amount: int | None,
|
premine_amount: int ** None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_RShift
|
premine_amount: int | None,
|
premine_amount: int >> None,
|
annot
|
1319 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Sub
|
premine_amount: int | None,
|
premine_amount: int - None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Add
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 + None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_BitAnd
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 & None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_BitXor
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 ^ None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Div
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 / None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 // None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_LShift
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 << None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Mod
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 % None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Mul
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 * None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Pow
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 ** None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_RShift
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 >> None,
|
annot
|
1320 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Sub
|
premine_pkh: Hex20 | None,
|
premine_pkh: Hex20 - None,
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Add
|
) -> bytes | None:
|
) -> bytes + None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_BitAnd
|
) -> bytes | None:
|
) -> bytes & None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_BitXor
|
) -> bytes | None:
|
) -> bytes ^ None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Div
|
) -> bytes | None:
|
) -> bytes / None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_FloorDiv
|
) -> bytes | None:
|
) -> bytes // None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_LShift
|
) -> bytes | None:
|
) -> bytes << None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Mod
|
) -> bytes | None:
|
) -> bytes % None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Mul
|
) -> bytes | None:
|
) -> bytes * None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Pow
|
) -> bytes | None:
|
) -> bytes ** None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_RShift
|
) -> bytes | None:
|
) -> bytes >> None:
|
annot
|
1323 |
_build_premine_script
|
ReplaceBinaryOperator_BitOr_Sub
|
) -> bytes | None:
|
) -> bytes - None:
|
annot
|
1333 |
_build_premine_script
|
AddNot
|
if premine_amount is None:
|
if not premine_amount is None:
|
|
1333 |
_build_premine_script
|
ReplaceComparisonOperator_Is_IsNot
|
if premine_amount is None:
|
if premine_amount is not None:
|
|
1335 |
_build_premine_script
|
AddNot
|
return build_ft_locking_script(premine_pkh if premine_pkh is not None else owner_pkh, token_ref)
|
return build_ft_locking_script(premine_pkh if not premine_pkh is not None else owner_pkh, token_ref)
|
|
1335 |
_build_premine_script
|
ReplaceComparisonOperator_IsNot_Is
|
return build_ft_locking_script(premine_pkh if premine_pkh is not None else owner_pkh, token_ref)
|
return build_ft_locking_script(premine_pkh if premine_pkh is None else owner_pkh, token_ref)
|
|
1338 |
(module level)
|
RemoveDecorator
|
`` |
`` |
|
1338 |
(module level)
|
ReplaceTrueWithFalse
|
@dataclass(frozen=True)
|
@dataclass(frozen=False)
|
|
1406 |
__post_init__
|
AddNot
|
if not (1 <= self.num_contracts <= 250):
|
if not not (1 <= self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts <= 249):
|
|
1406 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not ( 2 <= self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not ( 0 <= self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts <= 251):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_Eq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 == self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_Eq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts == 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_Gt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 > self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_Gt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts > 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_GtE
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts >= 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_GtE
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 >= self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_Is
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 is self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_IsNot
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 is not self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_Lt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 < self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_Lt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts < 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_NotEq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts != 250):
|
|
1406 |
__post_init__
|
ReplaceComparisonOperator_LtE_NotEq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 != self.num_contracts <= 250):
|
|
1406 |
__post_init__
|
ReplaceUnaryOperator_Delete_Not
|
if not (1 <= self.num_contracts <= 250):
|
if (1 <= self.num_contracts <= 250):
|
|
1412 |
__post_init__
|
AddNot
|
if self.max_height < 1:
|
if not self.max_height < 1:
|
|
1412 |
__post_init__
|
NumberReplacer
|
if self.max_height < 1:
|
if self.max_height < 2:
|
|
1412 |
__post_init__
|
NumberReplacer
|
if self.max_height < 1:
|
if self.max_height < 0:
|
|
1412 |
__post_init__
|
ReplaceComparisonOperator_Lt_Eq
|
if self.max_height < 1:
|
if self.max_height == 1:
|
|
1412 |
__post_init__
|
ReplaceComparisonOperator_Lt_Gt
|
if self.max_height < 1:
|
if self.max_height > 1:
|
|
1412 |
__post_init__
|
ReplaceComparisonOperator_Lt_GtE
|
if self.max_height < 1:
|
if self.max_height >= 1:
|
|
1412 |
__post_init__
|
ReplaceComparisonOperator_Lt_LtE
|
if self.max_height < 1:
|
if self.max_height <= 1:
|
|
1412 |
__post_init__
|
ReplaceComparisonOperator_Lt_NotEq
|
if self.max_height < 1:
|
if self.max_height != 1:
|
|
1414 |
__post_init__
|
AddNot
|
if self.max_height > 0xFFFFFF:
|
if not self.max_height > 0xFFFFFF:
|
|
1414 |
__post_init__
|
NumberReplacer
|
if self.max_height > 0xFFFFFF:
|
if self.max_height > 16777214:
|
|
1414 |
__post_init__
|
NumberReplacer
|
if self.max_height > 0xFFFFFF:
|
if self.max_height > 16777216:
|
|
1414 |
__post_init__
|
ReplaceComparisonOperator_Gt_Eq
|
if self.max_height > 0xFFFFFF:
|
if self.max_height == 0xFFFFFF:
|
|
1414 |
__post_init__
|
ReplaceComparisonOperator_Gt_GtE
|
if self.max_height > 0xFFFFFF:
|
if self.max_height >= 0xFFFFFF:
|
|
1414 |
__post_init__
|
ReplaceComparisonOperator_Gt_Lt
|
if self.max_height > 0xFFFFFF:
|
if self.max_height < 0xFFFFFF:
|
|
1414 |
__post_init__
|
ReplaceComparisonOperator_Gt_LtE
|
if self.max_height > 0xFFFFFF:
|
if self.max_height <= 0xFFFFFF:
|
|
1414 |
__post_init__
|
ReplaceComparisonOperator_Gt_NotEq
|
if self.max_height > 0xFFFFFF:
|
if self.max_height != 0xFFFFFF:
|
|
1416 |
__post_init__
|
AddNot
|
if self.reward_photons < 1:
|
if not self.reward_photons < 1:
|
|
1416 |
__post_init__
|
NumberReplacer
|
if self.reward_photons < 1:
|
if self.reward_photons < 0:
|
|
1416 |
__post_init__
|
NumberReplacer
|
if self.reward_photons < 1:
|
if self.reward_photons < 2:
|
|
1416 |
__post_init__
|
ReplaceComparisonOperator_Lt_Eq
|
if self.reward_photons < 1:
|
if self.reward_photons == 1:
|
|
1416 |
__post_init__
|
ReplaceComparisonOperator_Lt_Gt
|
if self.reward_photons < 1:
|
if self.reward_photons > 1:
|
|
1416 |
__post_init__
|
ReplaceComparisonOperator_Lt_GtE
|
if self.reward_photons < 1:
|
if self.reward_photons >= 1:
|
|
1416 |
__post_init__
|
ReplaceComparisonOperator_Lt_LtE
|
if self.reward_photons < 1:
|
if self.reward_photons <= 1:
|
|
1416 |
__post_init__
|
ReplaceComparisonOperator_Lt_NotEq
|
if self.reward_photons < 1:
|
if self.reward_photons != 1:
|
|
1418 |
__post_init__
|
AddNot
|
if self.reward_photons > 0xFFFFFF:
|
if not self.reward_photons > 0xFFFFFF:
|
|
1418 |
__post_init__
|
NumberReplacer
|
if self.reward_photons > 0xFFFFFF:
|
if self.reward_photons > 16777216:
|
|
1418 |
__post_init__
|
NumberReplacer
|
if self.reward_photons > 0xFFFFFF:
|
if self.reward_photons > 16777214:
|
|
1418 |
__post_init__
|
ReplaceComparisonOperator_Gt_Eq
|
if self.reward_photons > 0xFFFFFF:
|
if self.reward_photons == 0xFFFFFF:
|
|
1418 |
__post_init__
|
ReplaceComparisonOperator_Gt_GtE
|
if self.reward_photons > 0xFFFFFF:
|
if self.reward_photons >= 0xFFFFFF:
|
|
1418 |
__post_init__
|
ReplaceComparisonOperator_Gt_Lt
|
if self.reward_photons > 0xFFFFFF:
|
if self.reward_photons < 0xFFFFFF:
|
|
1418 |
__post_init__
|
ReplaceComparisonOperator_Gt_LtE
|
if self.reward_photons > 0xFFFFFF:
|
if self.reward_photons <= 0xFFFFFF:
|
|
1418 |
__post_init__
|
ReplaceComparisonOperator_Gt_NotEq
|
if self.reward_photons > 0xFFFFFF:
|
if self.reward_photons != 0xFFFFFF:
|
|
1420 |
__post_init__
|
AddNot
|
if self.difficulty < 1:
|
if not self.difficulty < 1:
|
|
1420 |
__post_init__
|
NumberReplacer
|
if self.difficulty < 1:
|
if self.difficulty < 0:
|
|
1420 |
__post_init__
|
NumberReplacer
|
if self.difficulty < 1:
|
if self.difficulty < 2:
|
|
1420 |
__post_init__
|
ReplaceComparisonOperator_Lt_Eq
|
if self.difficulty < 1:
|
if self.difficulty == 1:
|
|
1420 |
__post_init__
|
ReplaceComparisonOperator_Lt_Gt
|
if self.difficulty < 1:
|
if self.difficulty > 1:
|
|
1420 |
__post_init__
|
ReplaceComparisonOperator_Lt_GtE
|
if self.difficulty < 1:
|
if self.difficulty >= 1:
|
|
1420 |
__post_init__
|
ReplaceComparisonOperator_Lt_LtE
|
if self.difficulty < 1:
|
if self.difficulty <= 1:
|
|
1420 |
__post_init__
|
ReplaceComparisonOperator_Lt_NotEq
|
if self.difficulty < 1:
|
if self.difficulty != 1:
|
|
1422 |
__post_init__
|
AddNot
|
if self.algo != DmintAlgo.SHA256D:
|
if not self.algo != DmintAlgo.SHA256D:
|
|
1422 |
__post_init__
|
ReplaceComparisonOperator_NotEq_Eq
|
if self.algo != DmintAlgo.SHA256D:
|
if self.algo == DmintAlgo.SHA256D:
|
|
1422 |
__post_init__
|
ReplaceComparisonOperator_NotEq_Gt
|
if self.algo != DmintAlgo.SHA256D:
|
if self.algo > DmintAlgo.SHA256D:
|
|
1422 |
__post_init__
|
ReplaceComparisonOperator_NotEq_GtE
|
if self.algo != DmintAlgo.SHA256D:
|
if self.algo >= DmintAlgo.SHA256D:
|
|
1422 |
__post_init__
|
ReplaceComparisonOperator_NotEq_Is
|
if self.algo != DmintAlgo.SHA256D:
|
if self.algo is DmintAlgo.SHA256D:
|
|
1422 |
__post_init__
|
ReplaceComparisonOperator_NotEq_IsNot
|
if self.algo != DmintAlgo.SHA256D:
|
if self.algo is not DmintAlgo.SHA256D:
|
|
1422 |
__post_init__
|
ReplaceComparisonOperator_NotEq_Lt
|
if self.algo != DmintAlgo.SHA256D:
|
if self.algo < DmintAlgo.SHA256D:
|
|
1422 |
__post_init__
|
ReplaceComparisonOperator_NotEq_LtE
|
if self.algo != DmintAlgo.SHA256D:
|
if self.algo <= DmintAlgo.SHA256D:
|
|
1428 |
(module level)
|
RemoveDecorator
|
`` |
`` |
|
1478 |
DmintV2DeployParams
|
NumberReplacer
|
target_time: int = 60
|
target_time: int = 61
|
|
1478 |
DmintV2DeployParams
|
NumberReplacer
|
target_time: int = 60
|
target_time: int = 59
|
|
1479 |
DmintV2DeployParams
|
NumberReplacer
|
half_life: int = 3600
|
half_life: int = 3599
|
|
1479 |
DmintV2DeployParams
|
NumberReplacer
|
half_life: int = 3600
|
half_life: int = 3601
|
|
1480 |
DmintV2DeployParams
|
NumberReplacer
|
epoch_length: int = 2016 # EPOCH: retarget every N blocks
|
epoch_length: int = 2015 # EPOCH: retarget every N blocks
|
|
1480 |
DmintV2DeployParams
|
NumberReplacer
|
epoch_length: int = 2016 # EPOCH: retarget every N blocks
|
epoch_length: int = 2017 # EPOCH: retarget every N blocks
|
|
1481 |
DmintV2DeployParams
|
NumberReplacer
|
max_adjustment_log2: int = 2 # EPOCH: max 2^N adjustment per epoch (1..4)
|
max_adjustment_log2: int = 3 # EPOCH: max 2^N adjustment per epoch (1..4)
|
|
1481 |
DmintV2DeployParams
|
NumberReplacer
|
max_adjustment_log2: int = 2 # EPOCH: max 2^N adjustment per epoch (1..4)
|
max_adjustment_log2: int = 1 # EPOCH: max 2^N adjustment per epoch (1..4)
|
|
1487 |
__post_init__
|
AddNot
|
if not (1 <= self.num_contracts <= 250):
|
if not not (1 <= self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts <= 249):
|
|
1487 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not ( 0 <= self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not ( 2 <= self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
NumberReplacer
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts <= 251):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_Eq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts == 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_Eq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 == self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_Gt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 > self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_Gt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts > 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_GtE
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts >= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_GtE
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 >= self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_Is
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 is self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_IsNot
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 is not self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_Lt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 < self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_Lt
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts < 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_NotEq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 != self.num_contracts <= 250):
|
|
1487 |
__post_init__
|
ReplaceComparisonOperator_LtE_NotEq
|
if not (1 <= self.num_contracts <= 250):
|
if not (1 <= self.num_contracts != 250):
|
|
1487 |
__post_init__
|
ReplaceUnaryOperator_Delete_Not
|
if not (1 <= self.num_contracts <= 250):
|
if (1 <= self.num_contracts <= 250):
|
|
1493 |
__post_init__
|
AddNot
|
if self.max_height < 1:
|
if not self.max_height < 1:
|
|
1493 |
__post_init__
|
NumberReplacer
|
if self.max_height < 1:
|
if self.max_height < 0:
|
|
1493 |
__post_init__
|
NumberReplacer
|
if self.max_height < 1:
|
if self.max_height < 2:
|
|
1493 |
__post_init__
|
ReplaceComparisonOperator_Lt_Eq
|
if self.max_height < 1:
|
if self.max_height == 1:
|
|
1493 |
__post_init__
|
ReplaceComparisonOperator_Lt_Gt
|
if self.max_height < 1:
|
if self.max_height > 1:
|
|
1493 |
__post_init__
|
ReplaceComparisonOperator_Lt_GtE
|
if self.max_height < 1:
|
if self.max_height >= 1:
|
|
1493 |
__post_init__
|
ReplaceComparisonOperator_Lt_LtE
|
if self.max_height < 1:
|
if self.max_height <= 1:
|
|
1493 |
__post_init__
|
ReplaceComparisonOperator_Lt_NotEq
|
if self.max_height < 1:
|
if self.max_height != 1:
|
|
1495 |
__post_init__
|
AddNot
|
if self.reward_photons < 1:
|
if not self.reward_photons < 1:
|
|
1495 |
__post_init__
|
NumberReplacer
|
if self.reward_photons < 1:
|
if self.reward_photons < 2:
|
|
1495 |
__post_init__
|
NumberReplacer
|
if self.reward_photons < 1:
|
if self.reward_photons < 0:
|
|
1495 |
__post_init__
|
ReplaceComparisonOperator_Lt_Eq
|
if self.reward_photons < 1:
|
if self.reward_photons == 1:
|
|
1495 |
__post_init__
|
ReplaceComparisonOperator_Lt_Gt
|
if self.reward_photons < 1:
|
if self.reward_photons > 1:
|
|
1495 |
__post_init__
|
ReplaceComparisonOperator_Lt_GtE
|
if self.reward_photons < 1:
|
if self.reward_photons >= 1:
|
|
1495 |
__post_init__
|
ReplaceComparisonOperator_Lt_LtE
|
if self.reward_photons < 1:
|
if self.reward_photons <= 1:
|
|
1495 |
__post_init__
|
ReplaceComparisonOperator_Lt_NotEq
|
if self.reward_photons < 1:
|
if self.reward_photons != 1:
|
|
1497 |
__post_init__
|
AddNot
|
if self.difficulty < 1:
|
if not self.difficulty < 1:
|
|
1497 |
__post_init__
|
NumberReplacer
|
if self.difficulty < 1:
|
if self.difficulty < 0:
|
|
1497 |
__post_init__
|
NumberReplacer
|
if self.difficulty < 1:
|
if self.difficulty < 2:
|
|
1497 |
__post_init__
|
ReplaceComparisonOperator_Lt_Eq
|
if self.difficulty < 1:
|
if self.difficulty == 1:
|
|
1497 |
__post_init__
|
ReplaceComparisonOperator_Lt_Gt
|
if self.difficulty < 1:
|
if self.difficulty > 1:
|
|
1497 |
__post_init__
|
ReplaceComparisonOperator_Lt_GtE
|
if self.difficulty < 1:
|
if self.difficulty >= 1:
|
|
1497 |
__post_init__
|
ReplaceComparisonOperator_Lt_LtE
|
if self.difficulty < 1:
|
if self.difficulty <= 1:
|
|
1497 |
__post_init__
|
ReplaceComparisonOperator_Lt_NotEq
|
if self.difficulty < 1:
|
if self.difficulty != 1:
|
|
1526 |
__init__
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 1,
|
|
1526 |
__init__
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 3,
|
|
1531 |
(module level)
|
RemoveDecorator
|
`` |
`` |
|
1531 |
(module level)
|
ReplaceTrueWithFalse
|
@dataclass(frozen=True)
|
@dataclass(frozen=False)
|
|
1593 |
(module level)
|
RemoveDecorator
|
`` |
`` |
|
1593 |
(module level)
|
ReplaceTrueWithFalse
|
@dataclass(frozen=True)
|
@dataclass(frozen=False)
|
|
1669 |
build_reveal_outputs
|
NumberReplacer
|
token_ref = GlyphRef(txid=commit_txid, vout=0)
|
token_ref = GlyphRef(txid=commit_txid, vout= -1)
|
|
1669 |
build_reveal_outputs
|
NumberReplacer
|
token_ref = GlyphRef(txid=commit_txid, vout=0)
|
token_ref = GlyphRef(txid=commit_txid, vout= 1)
|
|
1673 |
build_reveal_outputs
|
NumberReplacer
|
height=0,
|
height= 1,
|
|
1673 |
build_reveal_outputs
|
NumberReplacer
|
height=0,
|
height= -1,
|
|
1674 |
build_reveal_outputs
|
NumberReplacer
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 2),
|
|
1674 |
build_reveal_outputs
|
NumberReplacer
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 0),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitAnd
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i & 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitOr
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i | 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitXor
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i ^ 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Div
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i / 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_FloorDiv
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i // 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_LShift
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i << 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mod
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i % 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mul
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i * 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Pow
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i ** 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_RShift
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i >> 1),
|
|
1674 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Sub
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i - 1),
|
|
1686 |
build_reveal_outputs
|
AddNot
|
if self.op_return_msg is not None:
|
if not self.op_return_msg is not None:
|
|
1686 |
build_reveal_outputs
|
ReplaceComparisonOperator_IsNot_Is
|
if self.op_return_msg is not None:
|
if self.op_return_msg is None:
|
|
1689 |
build_reveal_outputs
|
AddNot
|
if len(msg) <= 75:
|
if not len(msg) <= 75:
|
|
1689 |
build_reveal_outputs
|
NumberReplacer
|
if len(msg) <= 75:
|
if len(msg) <= 74:
|
|
1689 |
build_reveal_outputs
|
NumberReplacer
|
if len(msg) <= 75:
|
if len(msg) <= 76:
|
|
1689 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Eq
|
if len(msg) <= 75:
|
if len(msg) == 75:
|
|
1689 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Gt
|
if len(msg) <= 75:
|
if len(msg) > 75:
|
|
1689 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_GtE
|
if len(msg) <= 75:
|
if len(msg) >= 75:
|
|
1689 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Lt
|
if len(msg) <= 75:
|
if len(msg) < 75:
|
|
1689 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_NotEq
|
if len(msg) <= 75:
|
if len(msg) != 75:
|
|
1690 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([ 105, len(msg)]) + msg
|
|
1690 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([ 107, len(msg)]) + msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitAnd
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) & msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitOr
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) | msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitXor
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) ^ msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Div
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) / msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_FloorDiv
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) // msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_LShift
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) << msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mod
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) % msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mul
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) * msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Pow
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) ** msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_RShift
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) >> msg
|
|
1690 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Sub
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) - msg
|
|
1691 |
build_reveal_outputs
|
NumberReplacer
|
elif len(msg) <= 255:
|
elif len(msg) <= 256:
|
|
1691 |
build_reveal_outputs
|
NumberReplacer
|
elif len(msg) <= 255:
|
elif len(msg) <= 254:
|
|
1691 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Eq
|
elif len(msg) <= 255:
|
elif len(msg) == 255:
|
|
1691 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Gt
|
elif len(msg) <= 255:
|
elif len(msg) > 255:
|
|
1691 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_GtE
|
elif len(msg) <= 255:
|
elif len(msg) >= 255:
|
|
1691 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Lt
|
elif len(msg) <= 255:
|
elif len(msg) < 255:
|
|
1691 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_NotEq
|
elif len(msg) <= 255:
|
elif len(msg) != 255:
|
|
1692 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([ 107, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 75, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([ 105, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 77, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitAnd
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) & msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitOr
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) | msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitXor
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) ^ msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Div
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) / msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_FloorDiv
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) // msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_LShift
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) << msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mod
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) % msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mul
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) * msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Pow
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) ** msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_RShift
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) >> msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1692 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Sub
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) - msg # OP_RETURN OP_PUSHDATA1 <len> <msg>
|
|
1700 |
build_reveal_outputs
|
NumberReplacer
|
contract_value=1,
|
contract_value= 0,
|
|
1700 |
build_reveal_outputs
|
NumberReplacer
|
contract_value=1,
|
contract_value= 2,
|
|
1709 |
(module level)
|
RemoveDecorator
|
`` |
`` |
|
1745 |
DmintV2DeployResult
|
NumberReplacer
|
epoch_length: int = 2016
|
epoch_length: int = 2015
|
|
1745 |
DmintV2DeployResult
|
NumberReplacer
|
epoch_length: int = 2016
|
epoch_length: int = 2017
|
|
1746 |
DmintV2DeployResult
|
NumberReplacer
|
max_adjustment_log2: int = 2
|
max_adjustment_log2: int = 3
|
|
1746 |
DmintV2DeployResult
|
NumberReplacer
|
max_adjustment_log2: int = 2
|
max_adjustment_log2: int = 1
|
|
1760 |
build_reveal_outputs
|
NumberReplacer
|
token_ref = GlyphRef(txid=commit_txid, vout=0)
|
token_ref = GlyphRef(txid=commit_txid, vout= 1)
|
|
1760 |
build_reveal_outputs
|
NumberReplacer
|
token_ref = GlyphRef(txid=commit_txid, vout=0)
|
token_ref = GlyphRef(txid=commit_txid, vout= -1)
|
|
1764 |
build_reveal_outputs
|
NumberReplacer
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 0),
|
|
1764 |
build_reveal_outputs
|
NumberReplacer
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 2),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitAnd
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i & 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitOr
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i | 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitXor
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i ^ 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Div
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i / 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_FloorDiv
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i // 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_LShift
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i << 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mod
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i % 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mul
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i * 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Pow
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i ** 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_RShift
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i >> 1),
|
|
1764 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Sub
|
contract_ref=GlyphRef(txid=commit_txid, vout=i + 1),
|
contract_ref=GlyphRef(txid=commit_txid, vout=i - 1),
|
|
1783 |
build_reveal_outputs
|
AddNot
|
if self.op_return_msg is not None:
|
if not self.op_return_msg is not None:
|
|
1783 |
build_reveal_outputs
|
ReplaceComparisonOperator_IsNot_Is
|
if self.op_return_msg is not None:
|
if self.op_return_msg is None:
|
|
1785 |
build_reveal_outputs
|
AddNot
|
if len(msg) <= 75:
|
if not len(msg) <= 75:
|
|
1785 |
build_reveal_outputs
|
NumberReplacer
|
if len(msg) <= 75:
|
if len(msg) <= 74:
|
|
1785 |
build_reveal_outputs
|
NumberReplacer
|
if len(msg) <= 75:
|
if len(msg) <= 76:
|
|
1785 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Eq
|
if len(msg) <= 75:
|
if len(msg) == 75:
|
|
1785 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Gt
|
if len(msg) <= 75:
|
if len(msg) > 75:
|
|
1785 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_GtE
|
if len(msg) <= 75:
|
if len(msg) >= 75:
|
|
1785 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Lt
|
if len(msg) <= 75:
|
if len(msg) < 75:
|
|
1785 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_NotEq
|
if len(msg) <= 75:
|
if len(msg) != 75:
|
|
1786 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([ 107, len(msg)]) + msg
|
|
1786 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([ 105, len(msg)]) + msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitAnd
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) & msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitOr
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) | msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitXor
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) ^ msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Div
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) / msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_FloorDiv
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) // msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_LShift
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) << msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mod
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) % msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mul
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) * msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Pow
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) ** msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_RShift
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) >> msg
|
|
1786 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Sub
|
op_return_script = bytes([0x6A, len(msg)]) + msg
|
op_return_script = bytes([0x6A, len(msg)]) - msg
|
|
1787 |
build_reveal_outputs
|
NumberReplacer
|
elif len(msg) <= 255:
|
elif len(msg) <= 256:
|
|
1787 |
build_reveal_outputs
|
NumberReplacer
|
elif len(msg) <= 255:
|
elif len(msg) <= 254:
|
|
1787 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Eq
|
elif len(msg) <= 255:
|
elif len(msg) == 255:
|
|
1787 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Gt
|
elif len(msg) <= 255:
|
elif len(msg) > 255:
|
|
1787 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_GtE
|
elif len(msg) <= 255:
|
elif len(msg) >= 255:
|
|
1787 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_Lt
|
elif len(msg) <= 255:
|
elif len(msg) < 255:
|
|
1787 |
build_reveal_outputs
|
ReplaceComparisonOperator_LtE_NotEq
|
elif len(msg) <= 255:
|
elif len(msg) != 255:
|
|
1788 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 75, len(msg)]) + msg
|
|
1788 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 77, len(msg)]) + msg
|
|
1788 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([ 105, 0x4C, len(msg)]) + msg
|
|
1788 |
build_reveal_outputs
|
NumberReplacer
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([ 107, 0x4C, len(msg)]) + msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitAnd
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) & msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitOr
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) | msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_BitXor
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) ^ msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Div
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) / msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_FloorDiv
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) // msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_LShift
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) << msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mod
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) % msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Mul
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) * msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Pow
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) ** msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_RShift
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) >> msg
|
|
1788 |
build_reveal_outputs
|
ReplaceBinaryOperator_Add_Sub
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) + msg
|
op_return_script = bytes([0x6A, 0x4C, len(msg)]) - msg
|
|
1796 |
build_reveal_outputs
|
NumberReplacer
|
contract_value=1,
|
contract_value= 2,
|
|
1796 |
build_reveal_outputs
|
NumberReplacer
|
contract_value=1,
|
contract_value= 0,
|
|
1827 |
__init__
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 1,
|
|
1827 |
__init__
|
NumberReplacer
|
stacklevel=2,
|
stacklevel= 3,
|
|
1981 |
FtAirdropParams
|
NumberReplacer
|
sale_price: int = 0
|
sale_price: int = -1
|
|
1981 |
FtAirdropParams
|
NumberReplacer
|
sale_price: int = 0
|
sale_price: int = 1
|
|