[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> db0fc88f090dbd767be5dd9987c8e4a0d7fe2263260abf722a979c943d101b38:182:12 | 182 | listing?.takeBuyNow(ins: insRef, commissionRecipient: nil) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 74ad08095d92192a.FRC20Storefront:550:35 | 550 | let commissionAmount = self._payToSaleCuts( 551 | payment: <- (flowVault as! @FlowToken.Vault), 552 | commissionRecipient: commissionRecipient, 553 | paymentRecipient: nil, 554 | ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 74ad08095d92192a.FRC20Storefront:958:20 | 958 | payToPlatformStakingPool(<- payment.withdraw(amount: paymentAmt)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 74ad08095d92192a.FRC20Storefront:866:20 | 866 | flowVault.deposit(from: <- payment) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: internal error: division by zero goroutine 7458879485 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x65 github.com/onflow/cadence/runtime/errors.NewUnexpectedError({0x32df0a0?, 0x2632020?}, {0xc0d1ac6e98?, 0xc12d103110?, 0xc0d1dfd7b0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/errors/errors.go:145 +0x4b github.com/onflow/cadence/runtime/interpreter.asCadenceError({0x2632020, 0x32edef0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:561 +0xa5 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0xece3dfc540, 0x2fa5db8) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:528 +0x57 panic({0x2632020, 0x32edef0}) /usr/local/go/src/runtime/panic.go:884 +0x213 math/big.nat.div({0xf1795f5770?, 0xa5c6ca?, 0x2a?}, {0x0?, 0x1a25412?, 0xc0d1ac7350?}, {0xf1795f5770?, 0x4145eb?, 0xc0d1ac7368?}, {0x0, ...}) /usr/local/go/src/math/big/natdiv.go:520 +0x34b math/big.(*Int).QuoRem(0xc0d1ac73f8, 0xc0d1ac73f8, 0xc0d1ac74d8, 0xc0d1ac73a0) /usr/local/go/src/math/big/int.go:286 +0x9c math/big.(*Int).Div(0xc0d1ac73f8?, 0xc0d1ac74f8?, 0xc0000ceda0?) /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.7-patch.1/runtime/interpreter/value.go:15964 +0x58 github.com/onflow/cadence/runtime/interpreter.NewUFix64Value({0x32f57c0?, 0xece3dfc540?}, 0xc0d1ac74c0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value.go:15739 +0x5b github.com/onflow/cadence/runtime/interpreter.UFix64Value.Div(0x40fe0a?, 0xc0d1ac75f0?, {0x3351ac8?, 0x4af43e0?}, {{0x3320c00?, 0xc1e4733c80?}, {0x3308bb0?, 0xc2308781b0?}}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value.go:15969 +0x155 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitBinaryExpression(0xece3dfc540, 0xc2308781b0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:399 +0x923 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x332f6c0?, 0xc2308781b0}, {0x3349180, 0xece3dfc540}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_expression.go:334 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x40?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:53 +0x33 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0xece3dfc540, 0xc0d10170e0, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:464 +0x1e7 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x64?, 0xc0d10170e0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:421 +0x25 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327b80?, 0xc0d10170e0}, {0x3343640, 0xece3dfc540}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:143 +0x4aa github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xece3dfc540, {0x3327b80?, 0xc0d10170e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7c2da?, {0xc0d0dccd00?, 0xb, 0xece3dfc540?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xece3dfc540, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc7c49b?}, 0xc0d1ac7e70, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xece3dfc540?, 0xc0d1e12200?, {0xc0d1dfca20?, 0x1?, 0xc0d1b7ad20?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xece3dfc540, 0xc0d1e12200, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc1daa45ce0}}, 0xc0d1dfc9f0, 0x0, 0xc0d04cd090, 0xfdbae7aae0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1a67ba4?, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc1daa45ce0}}, 0xc0d1dfc9f0, 0x0, 0xc0d04cd090, 0xfdbae7aae0, {0xc0d1dfca20, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x3341ae8?, 0xc0d1e12200?}, 0x0?, 0xc0d1dfc9f0?}, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc1daa45ce0}}, 0xc0d1dfc9f0, 0x0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value_function.go:398 +0xd9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xfdbae7aae0?, {0x3342ca0, 0xc0d1b7d580}, {0xc0d1dfca10?, 0x1?, 0x0?}, {0xc0d1dfca00?, 0x1?, 0xf6986bc218?}, {0xc0d04cd0a0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xfdbae7aae0, 0xc1daa45ce0, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:1036 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x414444?, 0xc0d1ac86e8?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:941 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x332fba0?, 0xc1daa45ce0}, {0x3349180, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_expression.go:334 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x40fe0a?, 0xfca07f6a50?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:592 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327810?, 0xc0cfa26b30}, {0x3343640, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:140 +0x583 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xfdbae7aae0, {0x3327810?, 0xc0cfa26b30}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc0d1ac88f8?, {0xc0cfa26b40?, 0x1, 0x333bb20?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0xfdbae7aae0, 0xc21fcc0aa0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:760 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitIfStatementWithVariableDeclaration(0xfdbae7aae0, 0xc0cfa44780, 0xc0cfa44780?, 0xc21fcc0b40) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:163 +0x1ef github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitIfStatement(0x1a22571?, 0xea13df6b00) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:115 +0x95 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327900?, 0xea13df6b00}, {0x3343640, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:119 +0x335 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xfdbae7aae0, {0x3327900?, 0xea13df6b00}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7c2da?, {0xc0cfa26b70?, 0x1, 0xfdbae7aae0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xfdbae7aae0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc0cf3cbe00?}, 0xc0cf40ad48, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xfdbae7aae0?, 0xc0d0de4980?, {0xc0d1014b30?, 0x1?, 0x1a25412?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xfdbae7aae0, 0xc0d0de4980, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc31de84850}}, 0x0, 0x0, 0xc0d04e0320, 0xfdbae7aae0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1?, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc31de84850}}, 0x0, 0x0, 0xc0d04e0320, 0xfdbae7aae0, {0xc0d1014b30, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xfdbae7aae0?, {0x3341ae8, 0xc0d0de4980}, {0xc0d1014750?, 0x1?, 0xc0d10146f0?}, {0xc0d1014740?, 0x1?, 0xc0cf40b130?}, {0xc0d04e0330, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xfdbae7aae0, 0xc31de84850, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:1036 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x47dade?, 0x3319a78?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:941 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x332fba0?, 0xc31de84850}, {0x3349180, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_expression.go:334 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x40fe0a?, 0xf142252300?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:592 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327810?, 0xc0cfa26dc0}, {0x3343640, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:140 +0x583 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xfdbae7aae0, {0x3327810?, 0xc0cfa26dc0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x4101e7?, {0xc0cfa40940?, 0x2, 0x4af4301?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0xfdbae7aae0, 0xf3762096d0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:760 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitSwitchStatement.func1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:189 +0x72 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitSwitchStatement(0xfdbae7aae0, 0x101e4e817a0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:225 +0x21f github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327ae0?, 0x101e4e817a0}, {0x3343640, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:134 +0x37f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xfdbae7aae0, {0x3327ae0?, 0x101e4e817a0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1293800?, {0xc0cfa40e00?, 0x2, 0x3ea?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0xfdbae7aae0, 0xc3382601e0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:760 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitForStatement(0xfdbae7aae0, 0x101e4e81800) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:313 +0x2ef github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327860?, 0x101e4e81800}, {0x3343640, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:122 +0x411 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xfdbae7aae0, {0x3327860?, 0x101e4e81800}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7c2da?, {0xc0cf82ee00?, 0x17, 0xfdbae7aae0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xfdbae7aae0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc7c49b?}, 0xc0cf40bde8, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xfdbae7aae0?, 0xc0d0a3cb00?, {0xf29ef7af30?, 0x3?, 0xc0d0a7a5a0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xfdbae7aae0, 0xc0d0a3cb00, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc2658f1ce0}}, 0xc0d100b3c0, 0x0, 0xc0d04a4cb0, 0xfdbae7aae0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1a67ba4?, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc2658f1ce0}}, 0xc0d100b3c0, 0x0, 0xc0d04a4cb0, 0xfdbae7aae0, {0xf29ef7af30, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x3341ae8?, 0xc0d0a3cb00?}, 0x0?, 0xc0d100b3c0?}, {{{0x3320c00, 0xc131ebc348}, {0x3308f98, 0xc2658f1ce0}}, 0xc0d100b3c0, 0x0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value_function.go:398 +0xd9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xfdbae7aae0?, {0x3342ca0, 0xc0d1005a40}, {0xf29ef7af00?, 0x3?, 0x0?}, {0xf29ef7aed0?, 0x3?, 0xc501000000000000?}, {0xf1eac3da40, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xfdbae7aae0, 0xc2658f1ce0, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:1036 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0xc000780000?, 0xc0d1005a20?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:941 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x332fba0?, 0xc2658f1ce0}, {0x3349180, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_expression.go:334 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0xe0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:53 +0x33 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0xfdbae7aae0, 0xc0cfa36fa0, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:464 +0x1e7 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0xfdbae7aae0?, 0xc0cfa36fa0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:421 +0x25 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327b80?, 0xc0cfa36fa0}, {0x3343640, 0xfdbae7aae0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:143 +0x4aa github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xfdbae7aae0, {0x3327b80?, 0xc0cfa36fa0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7c2da?, {0xc0cf82ea00?, 0x19, 0xfdbae7aae0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xfdbae7aae0, {0x0, 0x0, 0x0}, {0xc0cfa40040, 0x3, 0xc7c49b?}, 0xc0cf40cb80, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xfdbae7aae0?, 0xc0d0a3c880?, {0xc0d0ac1520?, 0x2?, 0xc0d0a7a5a0?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xfdbae7aae0, 0xc0d0a3c880, {{{0x3320d40, 0xfabed602a0}, {0x3308f98, 0xc2dad777a0}}, 0xc0d0aca280, 0x0, 0xc0d09a3540, 0xfe0999fbc0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1a67ba4?, {{{0x3320d40, 0xfabed602a0}, {0x3308f98, 0xc2dad777a0}}, 0xc0d0aca280, 0x0, 0xc0d09a3540, 0xfe0999fbc0, {0xc0d0ac1520, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x3341ae8?, 0xc0d0a3c880?}, 0x0?, 0xc0d0aca280?}, {{{0x3320d40, 0xfabed602a0}, {0x3308f98, 0xc2dad777a0}}, 0xc0d0aca280, 0x0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/value_function.go:398 +0xd9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xfe0999fbc0?, {0x3342ca0, 0xc0d0ac14c0}, {0xc0d0ac1500?, 0x2?, 0xc18e7d2a68?}, {0xc0d0ac14e0?, 0x2?, 0xbb4e88?}, {0xc0d0995820, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xfe0999fbc0, 0xc2dad777a0, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:1036 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x0?, 0xf491e35d08?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_expression.go:941 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x332fba0?, 0xc2dad777a0}, {0x3349180, 0xfe0999fbc0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-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.7-patch.1/runtime/interpreter/interpreter_expression.go:334 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x40fe0a?, 0xc0ceded0e0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:592 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x3327810?, 0xc0cf19c000}, {0x3343640, 0xfe0999fbc0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/ast/visitor.go:140 +0x583 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xfe0999fbc0, {0x3327810?, 0xc0cf19c000}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1293800?, {0xc0a76c3e00?, 0x17, 0x3ea?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.7-patch.1/runtime/interpreter/interpreter_statement.go:64 +0x65 created by github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock /app/engine/execution/computation/computer/computer.go:377 +0xa65 --> 74ad08095d92192a.FRC20StakingForwarder:112:12 | 112 | let yieldValue = balance / totalStakedAmount | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Happy diving into the flow Remember to test your contracts in 1.0 here on testnet