Skip to content

Instantly share code, notes, and snippets.

@scalahub
Created April 19, 2021 11:41
Show Gist options
  • Save scalahub/67a8293010428ea2bbfa2085690116fc to your computer and use it in GitHub Desktop.
Save scalahub/67a8293010428ea2bbfa2085690116fc to your computer and use it in GitHub Desktop.
Appkit error when signing
Cost of transaction ErgoLikeTransactionTemplate(dataInputs=Vector(), inputs=Vector(org.ergoplatform.UnsignedInput@79d2adc2, org.ergoplatform.UnsignedInput@4070420e, org.ergoplatform.UnsignedInput@159d69cd, org.ergoplatform.UnsignedInput@42173e85, org.ergoplatform.UnsignedInput@84f27ff5, org.ergoplatform.UnsignedInput@863687e7, org.ergoplatform.UnsignedInput@71d4dce1, org.ergoplatform.UnsignedInput@72f4f226, org.ergoplatform.UnsignedInput@5e97232c, org.ergoplatform.UnsignedInput@b366bed9, org.ergoplatform.UnsignedInput@1ea71cfe), outputCandidates=Vector(ErgoBoxCandidate(1000000, ErgoTree(16,WrappedArray(IntConstant(1), IntConstant(1), IntConstant(0), IntConstant(0), ConstantNode(Coll(-32,99,15,-94,54,109,-115,6,-126,-52,29,-68,17,74,-43,127,2,59,-63,-14,-108,-119,-103,7,-99,12,-48,95,-53,-60,-37,1),Coll[SByte$]), IntConstant(0), IntConstant(0), IntConstant(0), ConstantNode(Coll(-74,98,-37,81,-49,45,-61,-97,17,10,2,28,42,49,-57,79,10,26,24,-1,-1,-65,115,-24,-96,81,-89,-72,-64,-16,-98,-68),Coll[SByte$]), LongConstant(0), IntConstant(0), LongConstant(8)),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Inputs$(164),ConstantPlaceholder(0,SInt$),None)), ValDef(2,WrappedArray(),MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map())), ValDef(3,WrappedArray(),ByIndex(Outputs$(165),ConstantPlaceholder(1,SInt$),None)), ValDef(4,WrappedArray(),ExtractId(Self$(167))), ValDef(5,WrappedArray(),ByIndex(Outputs$(165),ConstantPlaceholder(2,SInt$),None))),BoolToSigmaProp(BinAnd(BinAnd(BinAnd(BinAnd(EQ(SelectField(ByIndex(ValUse(2,Coll[(Coll[SByte$],SLong$)]),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),BinAnd(BinAnd(BinAnd(EQ(ValUse(2,Coll[(Coll[SByte$],SLong$)]),MethodCall(ValUse(3,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map())),EQ(ExtractAmount(ValUse(1,SBox)),ExtractAmount(ValUse(3,SBox)))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(ValUse(3,SBox),R4,Option[SLong$]).get)),EQ(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ExtractRegisterAs(ValUse(3,SBox),R5,Option[SInt$]).get))),EQ(ValUse(4,Coll[SByte$]),ExtractId(ByIndex(Inputs$(164),ConstantPlaceholder(5,SInt$),None)))),BinAnd(BinAnd(EQ(MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(ValUse(5,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map())),EQ(ExtractScriptBytes(Self$(167)),ExtractScriptBytes(ValUse(5,SBox)))),GE(ExtractAmount(Self$(167)),ExtractAmount(ValUse(5,SBox))))),GE(Fold(Filter(Inputs$(164),FuncValue(WrappedArray((6,SBox)),BlockValue(WrappedArray(ValDef(8,WrappedArray(),MethodCall(ValUse(6,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),BinAnd(BinAnd(BinAnd(GT(SizeOf(ValUse(8,Coll[(Coll[SByte$],SLong$)])),ConstantPlaceholder(6,SInt$)),EQ(SelectField(ByIndex(ValUse(8,Coll[(Coll[SByte$],SLong$)]),ConstantPlaceholder(7,SInt$),None),1),ConstantPlaceholder(8,Coll[SByte$]))),EQ(ExtractRegisterAs(ValUse(6,SBox),R6,Option[Coll[SByte$]]).get,ValUse(4,Coll[SByte$]))),EQ(ExtractRegisterAs(ValUse(6,SBox),R7,Option[Coll[SByte$]]).get,CalcBlake2b256(ExtractScriptBytes(ValUse(3,SBox)))))))),ConstantPlaceholder(9,SLong$),FuncValue(WrappedArray((6,(SLong$,SBox))),Plus(SelectField(ValUse(6,(SLong$,SBox)),1), SelectField(ByIndex(MethodCall(SelectField(ValUse(6,(SLong$,SBox)),2),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(10,SInt$),None),2)))),ConstantPlaceholder(11,SLong$)))))),44262,[B@6b4fc2d1),tokens: (dd26438230986cfe7305ad958451b69e55ad5ac37c8a355bfb08d810edd7a20f:1), Map(), creationHeight: 451104), ErgoBoxCandidate(6786250000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(5000000), IntConstant(6), ConstantNode(Coll(46,37,-82,-57,117,-53,10,-53,-62,-105,81,-82,62,50,114,-23,-87,-50,120,25,85,33,108,4,-66,70,36,-61,-40,116,78,-23),Coll[SByte$]), IntConstant(4), IntConstant(2), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),ConstantPlaceholder(0,SInt$),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(ValUse(1,SBox),R6,Option[Coll[SByte$]])), ValDef(3,WrappedArray(),ExtractRegisterAs(Self$(167),R5,Option[SInt$]).get), ValDef(4,WrappedArray(),ExtractAmount(Self$(167))), ValDef(5,WrappedArray(),GE(ValUse(4,SLong$),ConstantPlaceholder(1,SLong$))), ValDef(6,WrappedArray(),Plus(Height$(163), ConstantPlaceholder(2,SInt$)))),BoolToSigmaProp(BinOr(If(OptionIsDefined(ValUse(2,Option[Coll[SByte$]])),BlockValue(WrappedArray(ValDef(7,WrappedArray(),BinAnd(EQ(ValUse(2,Option[Coll[SByte$]]).get,CalcBlake2b256(ExtractScriptBytes(Self$(167)))),EQ(CalcBlake2b256(ExtractScriptBytes(ValUse(1,SBox))),ConstantPlaceholder(3,Coll[SByte$]))))),BinOr(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(LT(Height$(163),ValUse(3,SInt$)),GT(Height$(163),Minus(ValUse(3,SInt$), ConstantPlaceholder(4,SInt$)))),ValUse(5,SBoolean)),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(Self$(167),R4,Option[SLong$]).get)),EQ(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ValUse(3,SInt$))),ValUse(7,SBoolean)),BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(GE(Height$(163),ValUse(3,SInt$)),ValUse(5,SBoolean)),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(Self$(167),R4,Option[SLong$]).get)),GE(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ValUse(6,SInt$))),LE(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,Plus(ValUse(6,SInt$), ConstantPlaceholder(5,SInt$)))),ValUse(7,SBoolean)))),BinAnd(BinAnd(BinAnd(BinAnd(EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GT(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(Self$(167),R4,Option[SLong$]).get)),EQ(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ValUse(3,SInt$)))),EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(6,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(7,SInt$),None),1),ConstantPlaceholder(8,Coll[SByte$])))))),64761,[B@1de4285e),tokens: (e0630fa2366d8d0682cc1dbc114ad57f023bc1f2948999079d0cd05fcbc4db01:1), Map(R4 -> LongConstant(473933649), R5 -> IntConstant(451338)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(1000000, ErgoTree(16,WrappedArray(IntConstant(0), IntConstant(0), ConstantNode(Coll(16,2,4,-96,11,8,-51,2,121,-66,102,126,-7,-36,-69,-84,85,-96,98,-107,-50,-121,11,7,2,-101,-4,-37,45,-50,40,-39,89,-14,-127,91,22,-8,23,-104,-22,2,-47,-110,-93,-102,-116,-57,-89,1,115,0,115,1),Coll[SByte$]), ConstantNode(Coll(1),Coll[SInt$]), IntConstant(1)),Right(BoolToSigmaProp(AND(ConcreteCollection(WrappedArray(EQ(Height$(163),SelectField(ExtractCreationInfo(ByIndex(Outputs$(165),ConstantPlaceholder(0,SInt$),None)),1)), EQ(ExtractScriptBytes(ByIndex(Outputs$(165),ConstantPlaceholder(1,SInt$),None)),SubstConstants(ConstantPlaceholder(2,Coll[SByte$]),ConstantPlaceholder(3,Coll[SInt$]),ConcreteCollection(WrappedArray(CreateProveDlog(DecodePoint(MinerPubkey$(172)))),SSigmaProp))), EQ(SizeOf(Outputs$(165)),ConstantPlaceholder(4,SInt$))),SBoolean)))),0,[B@4099209b),tokens: (), Map(), creationHeight: 451104), ErgoBoxCandidate(999999000000, ErgoTree(0,WrappedArray(),Right(ConstantNode(SigmaProp(ProveDlog(ECPoint(49c9a2,fbb491,...))),SSigmaProp)),0,[B@3e3cd6fe),tokens: (), Map(), creationHeight: 451104))) exceeds limit 5062531
java.lang.Exception: Cost of transaction ErgoLikeTransactionTemplate(dataInputs=Vector(), inputs=Vector(org.ergoplatform.UnsignedInput@79d2adc2, org.ergoplatform.UnsignedInput@4070420e, org.ergoplatform.UnsignedInput@159d69cd, org.ergoplatform.UnsignedInput@42173e85, org.ergoplatform.UnsignedInput@84f27ff5, org.ergoplatform.UnsignedInput@863687e7, org.ergoplatform.UnsignedInput@71d4dce1, org.ergoplatform.UnsignedInput@72f4f226, org.ergoplatform.UnsignedInput@5e97232c, org.ergoplatform.UnsignedInput@b366bed9, org.ergoplatform.UnsignedInput@1ea71cfe), outputCandidates=Vector(ErgoBoxCandidate(1000000, ErgoTree(16,WrappedArray(IntConstant(1), IntConstant(1), IntConstant(0), IntConstant(0), ConstantNode(Coll(-32,99,15,-94,54,109,-115,6,-126,-52,29,-68,17,74,-43,127,2,59,-63,-14,-108,-119,-103,7,-99,12,-48,95,-53,-60,-37,1),Coll[SByte$]), IntConstant(0), IntConstant(0), IntConstant(0), ConstantNode(Coll(-74,98,-37,81,-49,45,-61,-97,17,10,2,28,42,49,-57,79,10,26,24,-1,-1,-65,115,-24,-96,81,-89,-72,-64,-16,-98,-68),Coll[SByte$]), LongConstant(0), IntConstant(0), LongConstant(8)),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Inputs$(164),ConstantPlaceholder(0,SInt$),None)), ValDef(2,WrappedArray(),MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map())), ValDef(3,WrappedArray(),ByIndex(Outputs$(165),ConstantPlaceholder(1,SInt$),None)), ValDef(4,WrappedArray(),ExtractId(Self$(167))), ValDef(5,WrappedArray(),ByIndex(Outputs$(165),ConstantPlaceholder(2,SInt$),None))),BoolToSigmaProp(BinAnd(BinAnd(BinAnd(BinAnd(EQ(SelectField(ByIndex(ValUse(2,Coll[(Coll[SByte$],SLong$)]),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),BinAnd(BinAnd(BinAnd(EQ(ValUse(2,Coll[(Coll[SByte$],SLong$)]),MethodCall(ValUse(3,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map())),EQ(ExtractAmount(ValUse(1,SBox)),ExtractAmount(ValUse(3,SBox)))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(ValUse(3,SBox),R4,Option[SLong$]).get)),EQ(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ExtractRegisterAs(ValUse(3,SBox),R5,Option[SInt$]).get))),EQ(ValUse(4,Coll[SByte$]),ExtractId(ByIndex(Inputs$(164),ConstantPlaceholder(5,SInt$),None)))),BinAnd(BinAnd(EQ(MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(ValUse(5,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map())),EQ(ExtractScriptBytes(Self$(167)),ExtractScriptBytes(ValUse(5,SBox)))),GE(ExtractAmount(Self$(167)),ExtractAmount(ValUse(5,SBox))))),GE(Fold(Filter(Inputs$(164),FuncValue(WrappedArray((6,SBox)),BlockValue(WrappedArray(ValDef(8,WrappedArray(),MethodCall(ValUse(6,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),BinAnd(BinAnd(BinAnd(GT(SizeOf(ValUse(8,Coll[(Coll[SByte$],SLong$)])),ConstantPlaceholder(6,SInt$)),EQ(SelectField(ByIndex(ValUse(8,Coll[(Coll[SByte$],SLong$)]),ConstantPlaceholder(7,SInt$),None),1),ConstantPlaceholder(8,Coll[SByte$]))),EQ(ExtractRegisterAs(ValUse(6,SBox),R6,Option[Coll[SByte$]]).get,ValUse(4,Coll[SByte$]))),EQ(ExtractRegisterAs(ValUse(6,SBox),R7,Option[Coll[SByte$]]).get,CalcBlake2b256(ExtractScriptBytes(ValUse(3,SBox)))))))),ConstantPlaceholder(9,SLong$),FuncValue(WrappedArray((6,(SLong$,SBox))),Plus(SelectField(ValUse(6,(SLong$,SBox)),1), SelectField(ByIndex(MethodCall(SelectField(ValUse(6,(SLong$,SBox)),2),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(10,SInt$),None),2)))),ConstantPlaceholder(11,SLong$)))))),44262,[B@6b4fc2d1),tokens: (dd26438230986cfe7305ad958451b69e55ad5ac37c8a355bfb08d810edd7a20f:1), Map(), creationHeight: 451104), ErgoBoxCandidate(6786250000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(5000000), IntConstant(6), ConstantNode(Coll(46,37,-82,-57,117,-53,10,-53,-62,-105,81,-82,62,50,114,-23,-87,-50,120,25,85,33,108,4,-66,70,36,-61,-40,116,78,-23),Coll[SByte$]), IntConstant(4), IntConstant(2), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),ConstantPlaceholder(0,SInt$),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(ValUse(1,SBox),R6,Option[Coll[SByte$]])), ValDef(3,WrappedArray(),ExtractRegisterAs(Self$(167),R5,Option[SInt$]).get), ValDef(4,WrappedArray(),ExtractAmount(Self$(167))), ValDef(5,WrappedArray(),GE(ValUse(4,SLong$),ConstantPlaceholder(1,SLong$))), ValDef(6,WrappedArray(),Plus(Height$(163), ConstantPlaceholder(2,SInt$)))),BoolToSigmaProp(BinOr(If(OptionIsDefined(ValUse(2,Option[Coll[SByte$]])),BlockValue(WrappedArray(ValDef(7,WrappedArray(),BinAnd(EQ(ValUse(2,Option[Coll[SByte$]]).get,CalcBlake2b256(ExtractScriptBytes(Self$(167)))),EQ(CalcBlake2b256(ExtractScriptBytes(ValUse(1,SBox))),ConstantPlaceholder(3,Coll[SByte$]))))),BinOr(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(LT(Height$(163),ValUse(3,SInt$)),GT(Height$(163),Minus(ValUse(3,SInt$), ConstantPlaceholder(4,SInt$)))),ValUse(5,SBoolean)),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(Self$(167),R4,Option[SLong$]).get)),EQ(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ValUse(3,SInt$))),ValUse(7,SBoolean)),BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(BinAnd(GE(Height$(163),ValUse(3,SInt$)),ValUse(5,SBoolean)),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(Self$(167),R4,Option[SLong$]).get)),GE(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ValUse(6,SInt$))),LE(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,Plus(ValUse(6,SInt$), ConstantPlaceholder(5,SInt$)))),ValUse(7,SBoolean)))),BinAnd(BinAnd(BinAnd(BinAnd(EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GT(ExtractAmount(ValUse(1,SBox)),ValUse(4,SLong$))),EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SLong$]).get,ExtractRegisterAs(Self$(167),R4,Option[SLong$]).get)),EQ(ExtractRegisterAs(ValUse(1,SBox),R5,Option[SInt$]).get,ValUse(3,SInt$)))),EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(6,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(7,SInt$),None),1),ConstantPlaceholder(8,Coll[SByte$])))))),64761,[B@1de4285e),tokens: (e0630fa2366d8d0682cc1dbc114ad57f023bc1f2948999079d0cd05fcbc4db01:1), Map(R4 -> LongConstant(473933649), R5 -> IntConstant(451338)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(10000000, ErgoTree(16,WrappedArray(IntConstant(0), LongConstant(10000000), IntConstant(0), IntConstant(0), ConstantNode(Coll(-35,38,67,-126,48,-104,108,-2,115,5,-83,-107,-124,81,-74,-98,85,-83,90,-61,124,-118,53,91,-5,8,-40,16,-19,-41,-94,15),Coll[SByte$])),Right(BlockValue(WrappedArray(ValDef(1,WrappedArray(),ByIndex(Outputs$(165),MethodCall(Inputs$(164),SMethod(sigmastate.SCollection$@4a37191a,indexOf,(Coll[SBox],SBox,SInt$) => SInt$,26,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(MethodCall$(220)),,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(Self$(167), ConstantPlaceholder(0,SInt$)),Map()),None)), ValDef(2,WrappedArray(),ExtractRegisterAs(Self$(167),R4,Option[SGroupElement]).get)),SigmaAnd(WrappedArray(BoolToSigmaProp(BinAnd(BinAnd(BinAnd(EQ(ExtractRegisterAs(ValUse(1,SBox),R4,Option[SGroupElement]).get,ValUse(2,SGroupElement)),EQ(ExtractScriptBytes(ValUse(1,SBox)),ExtractScriptBytes(Self$(167)))),EQ(MethodCall(ValUse(1,SBox),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),MethodCall(Self$(167),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()))),GE(ExtractAmount(ValUse(1,SBox)),ConstantPlaceholder(1,SLong$)))), SigmaOr(WrappedArray(CreateProveDlog(ValUse(2,SGroupElement)), BoolToSigmaProp(BinAnd(EQ(SelectField(ByIndex(MethodCall(ByIndex(Inputs$(164),ConstantPlaceholder(2,SInt$),None),SMethod(SBox,tokens,(SBox) => Coll[(Coll[SByte$],SLong$)],8,MethodIRInfo(Some(<function1>)),Some(OperationInfo(Some(PropertyCall$(219)),Secondary tokens,ArrayBuffer(ArgInfo(this,this instance))))),WrappedArray(),Map()),ConstantPlaceholder(3,SInt$),None),1),ConstantPlaceholder(4,Coll[SByte$])),GE(ExtractAmount(ValUse(1,SBox)),ExtractAmount(Self$(167))))))))))),15459,[B@5a484ce1),tokens: (b662db51cf2dc39f110a021c2a31c74f0a1a18ffffbf73e8a051a7b8c0f09ebc:4), Map(R4 -> ConstantNode(ECPoint(1ae6ec,653d3f,...),SGroupElement)), creationHeight: 451104), ErgoBoxCandidate(1000000, ErgoTree(16,WrappedArray(IntConstant(0), IntConstant(0), ConstantNode(Coll(16,2,4,-96,11,8,-51,2,121,-66,102,126,-7,-36,-69,-84,85,-96,98,-107,-50,-121,11,7,2,-101,-4,-37,45,-50,40,-39,89,-14,-127,91,22,-8,23,-104,-22,2,-47,-110,-93,-102,-116,-57,-89,1,115,0,115,1),Coll[SByte$]), ConstantNode(Coll(1),Coll[SInt$]), IntConstant(1)),Right(BoolToSigmaProp(AND(ConcreteCollection(WrappedArray(EQ(Height$(163),SelectField(ExtractCreationInfo(ByIndex(Outputs$(165),ConstantPlaceholder(0,SInt$),None)),1)), EQ(ExtractScriptBytes(ByIndex(Outputs$(165),ConstantPlaceholder(1,SInt$),None)),SubstConstants(ConstantPlaceholder(2,Coll[SByte$]),ConstantPlaceholder(3,Coll[SInt$]),ConcreteCollection(WrappedArray(CreateProveDlog(DecodePoint(MinerPubkey$(172)))),SSigmaProp))), EQ(SizeOf(Outputs$(165)),ConstantPlaceholder(4,SInt$))),SBoolean)))),0,[B@4099209b),tokens: (), Map(), creationHeight: 451104), ErgoBoxCandidate(999999000000, ErgoTree(0,WrappedArray(),Right(ConstantNode(SigmaProp(ProveDlog(ECPoint(49c9a2,fbb491,...))),SSigmaProp)),0,[B@3e3cd6fe),tokens: (), Map(), creationHeight: 451104))) exceeds limit 5062531
at org.ergoplatform.appkit.AppkitProvingInterpreter.$anonfun$sign$5(AppkitProvingInterpreter.scala:99)
at scala.util.Success.fold(Try.scala:271)
at org.ergoplatform.appkit.Helpers$AppkitTryOps$.mapOrThrow$extension(AppkitProvingInterpreter.scala:23)
at org.ergoplatform.appkit.AppkitProvingInterpreter.$anonfun$sign$4(AppkitProvingInterpreter.scala:96)
at scala.collection.TraversableLike$WithFilter.$anonfun$foreach$1(TraversableLike.scala:877)
at scala.collection.Iterator.foreach(Iterator.scala:941)
at scala.collection.Iterator.foreach$(Iterator.scala:941)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
at scala.collection.IterableLike.foreach(IterableLike.scala:74)
at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:876)
at org.ergoplatform.appkit.AppkitProvingInterpreter.$anonfun$sign$1(AppkitProvingInterpreter.scala:77)
at scala.util.Try$.apply(Try.scala:213)
at org.ergoplatform.appkit.AppkitProvingInterpreter.sign(AppkitProvingInterpreter.scala:62)
at org.ergoplatform.appkit.impl.ErgoProverImpl.sign(ErgoProverImpl.java:43)
at Util$.createTx(AppkitIssue.scala:43)
at AppkitIssue.$anonfun$new$2(AppkitIssue.scala:217)
at org.ergoplatform.appkit.FileMockedErgoClient.execute(FileMockedErgoClient.java:68)
at AppkitIssue.$anonfun$new$1(AppkitIssue.scala:81)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.PropSpecLike$$anon$1.apply(PropSpecLike.scala:186)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.PropSpec.withFixture(PropSpec.scala:874)
at org.scalatest.PropSpecLike.invokeWithFixture$1(PropSpecLike.scala:184)
at org.scalatest.PropSpecLike.$anonfun$runTest$1(PropSpecLike.scala:196)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:286)
at org.scalatest.PropSpecLike.runTest(PropSpecLike.scala:196)
at org.scalatest.PropSpecLike.runTest$(PropSpecLike.scala:178)
at org.scalatest.PropSpec.runTest(PropSpec.scala:874)
at org.scalatest.PropSpecLike.$anonfun$runTests$1(PropSpecLike.scala:229)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:393)
at scala.collection.immutable.List.foreach(List.scala:392)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:381)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:376)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:458)
at org.scalatest.PropSpecLike.runTests(PropSpecLike.scala:229)
at org.scalatest.PropSpecLike.runTests$(PropSpecLike.scala:228)
at org.scalatest.PropSpec.runTests(PropSpec.scala:874)
at org.scalatest.Suite.run(Suite.scala:1124)
at org.scalatest.Suite.run$(Suite.scala:1106)
at org.scalatest.PropSpec.org$scalatest$PropSpecLike$$super$run(PropSpec.scala:874)
at org.scalatest.PropSpecLike.$anonfun$run$1(PropSpecLike.scala:233)
at org.scalatest.SuperEngine.runImpl(Engine.scala:518)
at org.scalatest.PropSpecLike.run(PropSpecLike.scala:233)
at org.scalatest.PropSpecLike.run$(PropSpecLike.scala:232)
at org.scalatest.PropSpec.run(PropSpec.scala:874)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13(Runner.scala:1349)
at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13$adapted(Runner.scala:1343)
at scala.collection.immutable.List.foreach(List.scala:392)
at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1343)
at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:1033)
at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:1011)
at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1509)
at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1011)
at org.scalatest.tools.Runner$.run(Runner.scala:850)
at org.scalatest.tools.Runner.run(Runner.scala)
at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2or3(ScalaTestRunner.java:38)
at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment