[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 20bca828d43cbc4e233f951c8bc304d6281ea833f9105c03f5adc9d580067ac2:182:12 | 182 | listing?.takeBuyNow(ins: insRef, commissionRecipient: nil) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> d2abb5dbf5e08666.FRC20Storefront:569:12 | 569 | self._onTransactionDeal( 570 | storefrontAddress: storefrontAddress, 571 | seller: seller, 572 | buyer: buyer, 573 | transactedAmt: transactedAmt, 574 | transactedPrice: transactedPrice, 575 | commissionAmount: commissionAmount, 576 | commissionRecipientAddress: commissionRecipient?.address 577 | ) | ^ --> d2abb5dbf5e08666.FRC20Storefront:697:16 | 697 | marketTransactionHook.onDeal( 698 | storefront: storefrontAddress, 699 | listingId: self.details.storefrontId, 700 | seller: seller, 701 | buyer: buyer, 702 | tick: tickName, 703 | dealAmount: transactedAmt, 704 | dealPrice: transactedPrice, 705 | totalAmountInListing: self.details.amount, 706 | ) | ^ --> d2abb5dbf5e08666.FRC20FTShared:953:12 | 953 | self._iterateHooks(fun (type: Type, ref: &AnyResource{FRC20FTShared.TransactionHook}) { 954 | // call hook 955 | ref.onDeal(storefront: storefront, listingId: listingId, seller: seller, buyer: buyer, tick: tick, dealAmount: dealAmount, dealPrice: dealPrice, totalAmountInListing: totalAmountInListing) 956 | 957 | // emit event 958 | emit TransactionHooksOnDeal( 959 | hooksOwner: hooksOwnerAddr!, 960 | executedHookType: type, 961 | storefront: storefront, 962 | listingId: listingId, 963 | ) 964 | }) | ^^ --> d2abb5dbf5e08666.FRC20FTShared:1006:24 | 1006 | func(type, ref) | ^^^^^^^^^^^^^^^ --> d2abb5dbf5e08666.FRC20FTShared:955:16 | 955 | ref.onDeal(storefront: storefront, listingId: listingId, seller: seller, buyer: buyer, tick: tick, dealAmount: dealAmount, dealPrice: dealPrice, totalAmountInListing: totalAmountInListing) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> d2abb5dbf5e08666.FRC20TradingRecord:549:12 | 549 | self.addRecord(record: newRecord) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: internal error: division by zero goroutine 183185023293 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x65 github.com/onflow/cadence/runtime/errors.NewUnexpectedError({0x301c708?, 0x248d9a0?}, {0x137c1d6bc58?, 0x147cfaccf60?, 0x137c1d6bd40?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/errors/errors.go:145 +0x4b github.com/onflow/cadence/runtime/interpreter.asCadenceError({0x248d9a0, 0x3029c40}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:561 +0xa5 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x10ea43696e0, 0x2d24b40) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:528 +0x57 panic({0x248d9a0, 0x3029c40}) /usr/local/go/src/runtime/panic.go:884 +0x213 math/big.nat.div({0x147cfaccf90?, 0x6c0acd?, 0x411482?}, {0x0?, 0x1722832?, 0x3089968?}, {0x147cfaccf90?, 0x0?, 0x137c1d6c128?}, {0x0, ...}) /usr/local/go/src/math/big/natdiv.go:520 +0x34b math/big.(*Int).QuoRem(0x137c1d6c1b8, 0x137c1d6c1b8, 0x137c1d6c298, 0x137c1d6c160) /usr/local/go/src/math/big/int.go:286 +0x9c math/big.(*Int).Div(0x137c1d6c1b8?, 0x137c1d6c2b8?, 0xc0001ccd80?) /usr/local/go/src/math/big/int.go:297 +0x45 github.com/onflow/cadence/runtime/interpreter.UFix64Value.Div.func1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value.go:15957 +0x58 github.com/onflow/cadence/runtime/interpreter.NewUFix64Value({0x3031160?, 0x10ea43696e0?}, 0x137c1d6c280?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value.go:15732 +0x5b github.com/onflow/cadence/runtime/interpreter.UFix64Value.Div(0x0?, 0x6?, {0x3089968?, 0x470df40?}, {{0x305a6a0?, 0x137b46a5a88?}, {0x30439a0?, 0x14f142e6270?}}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value.go:15962 +0x155 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitBinaryExpression(0x10ea43696e0, 0x14f142e6270) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:371 +0x923 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3068c00?, 0x14f142e6270}, {0x30812e0, 0x10ea43696e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:260 +0x458 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitBinaryExpression(0x10ea43696e0, 0x14f142e62d0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:311 +0x59 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3068c00?, 0x14f142e62d0}, {0x30812e0, 0x10ea43696e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:260 +0x458 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0xe0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:53 +0x33 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x10ea43696e0, 0x137b46d7720, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:459 +0x17f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x40ff4a?, 0x137b46d7720) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:421 +0x25 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3061410?, 0x137b46d7720}, {0x307bb50, 0x10ea43696e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:143 +0x4aa github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10ea43696e0, {0x3061410?, 0x137b46d7720}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x25ffc20?, {0x137b48448c0?, 0x3, 0x307a480?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0x10ea43696e0, 0x137b4846b40) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:760 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitIfStatementWithTestExpression(0xba0945?, {0x3068c00?, 0x14f142e61b0?}, 0x179a4cb?, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:132 +0xce github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitIfStatement(0x64?, 0x137b4844900) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:113 +0xd8 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3061190?, 0x137b4844900}, {0x307bb50, 0x10ea43696e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:119 +0x335 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10ea43696e0, {0x3061190?, 0x137b4844900}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7629a?, {0x137b184f800?, 0x12, 0x10ea43696e0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10ea43696e0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc7645b?}, 0x137c1d6d2c0, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x10ea43696e0?, 0x137bc37c200?, {0x137c2d4d3b0?, 0x1?, 0x137c2a7f7c0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x10ea43696e0, 0x137bc37c200, {{{0x305a6a0, 0x137b46a5a88}, {0x3043d88, 0x137b48349a0}}, 0x137c2d4d380, 0x0, 0x137b4d7d900, 0x10ea43696e0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x177fd64?, {{{0x305a6a0, 0x137b46a5a88}, {0x3043d88, 0x137b48349a0}}, 0x137c2d4d380, 0x0, 0x137b4d7d900, 0x10ea43696e0, {0x137c2d4d3b0, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x3079f40?, 0x137bc37c200?}, 0x0?, 0x137c2d4d380?}, {{{0x305a6a0, 0x137b46a5a88}, {0x3043d88, 0x137b48349a0}}, 0x137c2d4d380, 0x0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value_function.go:398 +0xd9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x10ea43696e0?, {0x307afa8, 0x137c2d03560}, {0x137c2d4d3a0?, 0x1?, 0x137b3fd9cc0?}, {0x137c2d4d390?, 0x1?, 0xbaf8b4?}, {0x137b4d7d910, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x10ea43696e0, 0x137b48349a0, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:1002 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x0?, 0x146b83d9620?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:907 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x30690e0?, 0x137b48349a0}, {0x30812e0, 0x10ea43696e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:230 +0x2ea github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x1ae55faddc8?, 0x137b46d70e0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:585 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x30610a0?, 0x137b480eef0}, {0x307bb50, 0x10ea43696e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:140 +0x583 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10ea43696e0, {0x30610a0?, 0x137b480eef0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7629a?, {0x137b4852000?, 0x6, 0x10ea43696e0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10ea43696e0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc7645b?}, 0x137c1d6de68, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x10ea43696e0?, 0x137bc37c180?, {0x137c2d2e400?, 0x8?, 0x137c2a7f7c0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x10ea43696e0, 0x137bc37c180, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3570}}, 0x137c2d4c8c0, 0x0, 0x137b2cdf430, 0x12762f4daa0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x80?, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3570}}, 0x137c2d4c8c0, 0x0, 0x137b2cdf430, 0x12762f4daa0, {0x137c2d2e400, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).functionConditionsWrapper.func1.1.1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:2206 +0x2b5 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x12762f4daa0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x10?}, 0x137c1d6e2e8, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).functionConditionsWrapper.func1.1({{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3570}}, 0x137c2d4c8c0, 0x0, 0x137b2cdf430, 0x12762f4daa0, {0x137c2d2e400, 0x8, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:2220 +0x330 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x177fd64?, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3570}}, 0x137c2d4c8c0, 0x0, 0x137b2cdf430, 0x12762f4daa0, {0x137c2d2e400, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value_function.go:256 +0x3a github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x3079e98?, 0x137bc3137b8?}, 0x0?, 0x137c2d4c8c0?}, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3570}}, 0x137c2d4c8c0, 0x0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value_function.go:398 +0xd9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x12762f4daa0?, {0x307afa8, 0x137c2d03200}, {0x137c2d2e380?, 0x8?, 0x411482?}, {0x137c2d2e300?, 0x8?, 0x137c1d6e818?}, {0x137b2b75680, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x12762f4daa0, 0x137b1bd3570, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:1002 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0xb4?, 0x137c2d031e0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:907 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x30690e0?, 0x137b1bd3570}, {0x30812e0, 0x12762f4daa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:230 +0x2ea github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x64?, 0x137c1d6eb78?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:585 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x30610a0?, 0x137b1b89100}, {0x307bb50, 0x12762f4daa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:140 +0x583 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x12762f4daa0, {0x30610a0?, 0x137b1b89100}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7629a?, {0x137b1b95560?, 0x2, 0x12762f4daa0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x12762f4daa0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x137c1d6ede0?}, 0x137c1d6ee20, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x12762f4daa0?, 0x137c2d2e180?, {0x137c2d03180?, 0x2?, 0x1722832?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x12762f4daa0, 0x137c2d2e180, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3960}}, 0x0, 0x0, 0x137b2cf8fa0, 0x12762f4daa0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x2?, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3960}}, 0x0, 0x0, 0x137b2cf8fa0, 0x12762f4daa0, {0x137c2d03180, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x12762f4daa0?, {0x3079f40, 0x137c2d2e180}, {0x137c2d03160?, 0x2?, 0x137c2d4e3c0?}, {0x137c2d03140?, 0x2?, 0x418350?}, {0x137b2cfa9e0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x12762f4daa0, 0x137b1bd3960, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:1002 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x414584?, 0x137c1d6f538?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:907 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x30690e0?, 0x137b1bd3960}, {0x30812e0, 0x12762f4daa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:230 +0x2ea github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x40ff4a?, 0x1886861eb70?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:585 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x30610a0?, 0x137b1b89210}, {0x307bb50, 0x12762f4daa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:140 +0x583 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x12762f4daa0, {0x30610a0?, 0x137b1b89210}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x137c1d6f748?, {0x137b1b89220?, 0x1, 0x30742a0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0x12762f4daa0, 0x137b1bd7cc0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:760 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitIfStatementWithVariableDeclaration(0x12762f4daa0, 0x137b19e3e00, 0x137b19e3e00?, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:163 +0x1ef github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitIfStatement(0x40ff4a?, 0x137b1bdfec0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:115 +0x95 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3061190?, 0x137b1bdfec0}, {0x307bb50, 0x12762f4daa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:119 +0x335 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x12762f4daa0, {0x3061190?, 0x137b1bdfec0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x137c1d6fa78?, {0x137b1bdff00?, 0x3, 0x3073fd0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0x12762f4daa0, 0x137b1bd7d10) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:760 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitIfStatementWithVariableDeclaration(0x12762f4daa0, 0x137b19e3cc0, 0x137b19e3cc0?, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:163 +0x1ef github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitIfStatement(0x40ff4a?, 0x137b1bdff40) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:115 +0x95 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3061190?, 0x137b1bdff40}, {0x307bb50, 0x12762f4daa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:119 +0x335 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x12762f4daa0, {0x3061190?, 0x137b1bdff40}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x10f3fa0?, {0x137b1b95620?, 0x2, 0x3ea?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0x12762f4daa0, 0x137b1bd7d60) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:760 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitForStatement(0x12762f4daa0, 0xd7d76bc0c0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:313 +0x2ef github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x30610f0?, 0xd7d76bc0c0}, {0x307bb50, 0x12762f4daa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/ast/visitor.go:122 +0x411 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x12762f4daa0, {0x30610f0?, 0xd7d76bc0c0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7629a?, {0x137b1b89230?, 0x1, 0x12762f4daa0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x12762f4daa0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc7645b?}, 0x137c1d701d0, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x12762f4daa0?, 0x137bc36c980?, {0x137c2a7bfd0?, 0x1?, 0x137c2a7f360?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x12762f4daa0, 0x137bc36c980, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3650}}, 0x137c2a7bfa0, 0x0, 0x137b2cdf3a0, 0x12762f4daa0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x177fd64?, {{{0x305a6a0, 0x137b19f0de0}, {0x3043d88, 0x137b1bd3650}}, 0x137c2a7bfa0, 0x0, 0x137b2cdf3a0, 0x12762f4daa0, {0x137c2a7bfd0, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.5-patch.1/runtime/interpreter/value_function.go:126 +0x5e created by github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock /app/engine/execution/computation/computer/computer.go:375 +0xa45 --> d2abb5dbf5e08666.FRC20TradingRecord:593:16 | 593 | let points = 1.0 * record.dealPrice / benchmarkPrice * mintAmount | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^