Flow price: --
725bbe9214b474eeff8f206239998f5c87219e93f20ed8d2ca13a3763737aacf

Transaction

Hash: 725bbe9214b474eeff8f206239998f5c87219e93f20ed8d2ca13a3763737aacf
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
  --> 725bbe9214b474eeff8f206239998f5c87219e93f20ed8d2ca13a3763737aacf:34:8
   |
34 |         self.heartbeat.tick(scope: "TradablePool")
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  --> b7248baa24a95c3f.FixesHeartbeat:92:24
   |
92 |                         hookRef.onHeartbeat(deltaTime)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    --> b7248baa24a95c3f.FixesTradablePool:1465:12
     |
1465 |             self.transferLiquidity()
     |             ^^^^^^^^^^^^^^^^^^^^^^^^

    --> b7248baa24a95c3f.FixesTradablePool:1027:19
     |
1027 |             return self._transferLiquidity()
     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^

    --> b7248baa24a95c3f.FixesTradablePool:1782:32
     |
1782 |             let lpTokenVault <- pairPublicRef!.addLiquidity(
1783 |                 tokenAVault: <- token0Vault,
1784 |                 tokenBVault: <- token1Vault
1785 |             )
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 0a9b581d69f37741.SwapPair:512:22
    |
512 |             return <- SwapPair.addLiquidity(tokenAVault: <- tokenAVault, tokenBVault: <- tokenBVault)
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 0a9b581d69f37741.SwapPair:163:8
    |
163 |         self._update(reserve0Last: self.token0Vault.balance, reserve1Last: self.token1Vault.balance)
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: internal error: division by zero
goroutine 2725237213 [running]:
runtime/debug.Stack()
	/usr/local/go/src/runtime/debug/stack.go:24 +0x65
github.com/onflow/cadence/runtime/errors.NewUnexpectedError({0x33464f8?, 0x2694a40?}, {0xffff45c1e0?, 0x2694140?, 0xffff45c201?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/errors/errors.go:145 +0x4b
github.com/onflow/cadence/runtime/interpreter.asCadenceError({0x2694a40, 0x3355bc0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:561 +0xa5
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x1131e6d78c0, 0x30472e8)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:528 +0x57
panic({0x2694a40, 0x3355bc0})
	/usr/local/go/src/runtime/panic.go:884 +0x213
math/big.nat.div({0xea67f95ce0?, 0x1?, 0xffff45c7d0?}, {0x0?, 0x1a789b2?, 0x101c30e12c0?}, {0xea67f95ce0?, 0x8?, 0xffff45c6b0?}, {0x0, ...})
	/usr/local/go/src/math/big/natdiv.go:520 +0x34b
math/big.(*Int).QuoRem(0xffff45c740, 0xffff45c740, 0xffff45c820, 0xffff45c6e8)
	/usr/local/go/src/math/big/int.go:286 +0x9c
math/big.(*Int).Div(0xffff45c740?, 0xffff45c840?, 0xc000144f20?)
	/usr/local/go/src/math/big/int.go:297 +0x45
github.com/onflow/cadence/runtime/interpreter.UFix64Value.Div.func1()
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value.go:15964 +0x58
github.com/onflow/cadence/runtime/interpreter.NewUFix64Value({0x335d7e0?, 0x1131e6d78c0?}, 0xffff45c808?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value.go:15739 +0x5b
github.com/onflow/cadence/runtime/interpreter.UFix64Value.Div(0xa00000000000000?, 0xb3d4458d0329b9dd?, {0x33b9d38?, 0x490dec0?}, {{0x3388720?, 0x101c9967d40?}, {0x3371790?, 0x100260d6570?}})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value.go:15969 +0x155
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitBinaryExpression(0x1131e6d78c0, 0x100260d6570)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:406 +0x923
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3396e40?, 0x100260d6570}, {0x33b0f80, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:260 +0x458
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:341
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0xc0?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:53 +0x33
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x1131e6d78c0, 0x101c9ab2f00, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:464 +0x1e7
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x40fe3f?, 0x101c9ab2f00)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:421 +0x25
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x338ed80?, 0x101c9ab2f00}, {0x33ab6e0, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:143 +0x4aa
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1131e6d78c0, {0x338ed80?, 0x101c9ab2f00})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:58 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x28268a0?, {0x101c9943800?, 0x5, 0x33aa190?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:64 +0x65
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0x1131e6d78c0, 0x101c9ac51d0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:760 +0xa8
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitIfStatementWithTestExpression(0xbab105?, {0x3396e40?, 0x100260d6150?}, 0x1ad7bcb?, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:132 +0xce
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitIfStatement(0xffff45d208?, 0x101c9abc780)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:113 +0xd8
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x338eb00?, 0x101c9abc780}, {0x33ab6e0, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:119 +0x335
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1131e6d78c0, {0x338eb00?, 0x101c9abc780})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:58 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc813fa?, {0x101c9abc7c0?, 0x4, 0x1131e6d78c0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:64 +0x65
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2()
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:173 +0x2d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x1131e6d78c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xffff45d4b8, {0x0, 0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:785 +0x18f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x1131e6d78c0?, 0x101c9bd7900?, {0x101c9cc73e0?, 0x2?, 0x101c9afdb80?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:169 +0x19f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x1131e6d78c0, 0x101c9bd7900, {{{0x3388720, 0x101c9967d40}, {0x3371b78, 0x101c9843ea0}}, 0x101c9cd3e30, 0x0, 0x101c9ae5f10, 0x1131e6d78c0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:148 +0x1d8
github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1abc824?, {{{0x3388720, 0x101c9967d40}, {0x3371b78, 0x101c9843ea0}}, 0x101c9cd3e30, 0x0, 0x101c9ae5f10, 0x1131e6d78c0, {0x101c9cc73e0, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:126 +0x5e
github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x33a9ba8?, 0x101c9bd7900?}, 0x0?, 0x101c9cd3e30?}, {{{0x3388720, 0x101c9967d40}, {0x3371b78, 0x101c9843ea0}}, 0x101c9cd3e30, 0x0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:398 +0xd9
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x1131e6d78c0?, {0x33aae08, 0x101c9cc7380}, {0x101c9cc73c0?, 0x2?, 0xc000142af0?}, {0x101c9cc73a0?, 0x2?, 0xbb9fb4?}, {0x101c9b14220, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:124 +0x1bd
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x1131e6d78c0, 0x101c9843ea0, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:1043 +0x8f6
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x0?, 0x101c9aaa180?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:948 +0x1b
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3397320?, 0x101c9843ea0}, {0x33b0f80, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:230 +0x2ea
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:341
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x1131e6d78c0?, 0x101c994fb80?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:592 +0x34
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x338ea10?, 0x101c997d780}, {0x33ab6e0, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:140 +0x583
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1131e6d78c0, {0x338ea10?, 0x101c997d780})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:58 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc813fa?, {0x101c9025f00?, 0xb, 0x1131e6d78c0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:64 +0x65
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2()
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:173 +0x2d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x1131e6d78c0, {0x0, 0x0, 0x0}, {0x101c9a8ea60, 0x3, 0xc815bb?}, 0xffff45e060, {0x101c9958a58, 0x1, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:785 +0x18f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x1131e6d78c0?, 0x101c9bd7700?, {0x101c9cc6fa0?, 0x2?, 0x101c9afdb80?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:169 +0x19f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x1131e6d78c0, 0x101c9bd7700, {{{0x3388720, 0x101c9967d40}, {0x3371b78, 0x101c9ada230}}, 0x101c9cd3780, 0x0, 0x101c9ba55a0, 0x1131e6d78c0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:148 +0x1d8
github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1abc824?, {{{0x3388720, 0x101c9967d40}, {0x3371b78, 0x101c9ada230}}, 0x101c9cd3780, 0x0, 0x101c9ba55a0, 0x1131e6d78c0, {0x101c9cc6fa0, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:126 +0x5e
github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x33a9ba8?, 0x101c9bd7700?}, 0x0?, 0x101c9cd3780?}, {{{0x3388720, 0x101c9967d40}, {0x3371b78, 0x101c9ada230}}, 0x101c9cd3780, 0x0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:398 +0xd9
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x1131e6d78c0?, {0x33aae08, 0x101c9cc6f40}, {0x101c9cc6f80?, 0x2?, 0x101c9cd3640?}, {0x101c9cc6f60?, 0x2?, 0x40560f?}, {0x101c9ba7480, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:124 +0x1bd
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x1131e6d78c0, 0x101c9ada230, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:1043 +0x8f6
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x101c9967d40?, 0xffff45e870?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:948 +0x1b
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3397320?, 0x101c9ada230}, {0x33b0f80, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:230 +0x2ea
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:341
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitUnaryExpression(0x1131e6d78c0, 0xe7b0f2d0e0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:619 +0x59
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3397560?, 0xe7b0f2d0e0}, {0x33b0f80, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:239 +0x411
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:341
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitReturnStatement(0x1131e6d78c0, 0x101c9abd540)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:80 +0x6f
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x338ebf0?, 0x101c9abd540}, {0x33ab6e0, 0x1131e6d78c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:110 +0x258
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1131e6d78c0, {0x338ebf0?, 0x101c9abd540})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:58 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc813fa?, {0x101c997dfa0?, 0x1, 0x1131e6d78c0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:64 +0x65
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2()
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:173 +0x2d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x1131e6d78c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xffff45ee30, {0x0, 0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:785 +0x18f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x1131e6d78c0?, 0x101c9bd6c80?, {0x101c9cc6f20?, 0x2?, 0x101c9cd6460?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:169 +0x19f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x1131e6d78c0, 0x101c9bd6c80, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c754b880}}, 0x101c9cd3730, 0x0, 0x101c85a26f0, 0x10a562f86c0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:148 +0x1d8
github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1abc824?, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c754b880}}, 0x101c9cd3730, 0x0, 0x101c85a26f0, 0x10a562f86c0, {0x101c9cc6f20, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:126 +0x5e
github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x33a9ba8?, 0x101c9bd6c80?}, 0x0?, 0x101c9cd3730?}, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c754b880}}, 0x101c9cd3730, 0x0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:398 +0xd9
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x10a562f86c0?, {0x33aae08, 0x101c9cc6ec0}, {0x101c9cc6f00?, 0x2?, 0x0?}, {0x101c9cc6ee0?, 0x2?, 0x0?}, {0x101c859f540, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:124 +0x1bd
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x10a562f86c0, 0x101c754b880, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:1043 +0x8f6
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0xc0000c0800?, 0x101c9cc6ea0?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:948 +0x1b
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3397320?, 0x101c754b880}, {0x33b0f80, 0x10a562f86c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:230 +0x2ea
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:341
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0xc0?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:53 +0x33
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x10a562f86c0, 0x101c754c8c0, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:464 +0x1e7
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0xffff45f918?, 0x101c754c8c0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:421 +0x25
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x338ed80?, 0x101c754c8c0}, {0x33ab6e0, 0x10a562f86c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:143 +0x4aa
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10a562f86c0, {0x338ed80?, 0x101c754c8c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:58 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc813fa?, {0x101c751a600?, 0x13, 0x10a562f86c0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:64 +0x65
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2()
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:173 +0x2d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10a562f86c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xffff45fbc8, {0x0, 0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:785 +0x18f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x10a562f86c0?, 0x101c8702400?, {0x0?, 0x0?, 0x101c9604820?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:169 +0x19f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x10a562f86c0, 0x101c8702400, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c751d880}}, 0x101c99258b0, 0x0, 0x101c7fd9c20, 0x10a562f86c0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:148 +0x1d8
github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1abc824?, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c751d880}}, 0x101c99258b0, 0x0, 0x101c7fd9c20, 0x10a562f86c0, {0x0, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:126 +0x5e
github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x33a9ba8?, 0x101c8702400?}, 0x0?, 0x101c99258b0?}, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c751d880}}, 0x101c99258b0, 0x0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:398 +0xd9
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x0?, {0x33aae08, 0x101c993c460}, {0x0?, 0xffff460408?, 0xbc9f68?}, {0x0?, 0x0?, 0x0?}, {0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:124 +0x1bd
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x10a562f86c0, 0x101c751d880, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:1043 +0x8f6
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x101c7fd9be0?, 0xffff460408?)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:948 +0x1b
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x3397320?, 0x101c751d880}, {0x33b0f80, 0x10a562f86c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:230 +0x2ea
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_expression.go:341
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitReturnStatement(0x10a562f86c0, 0x101c7524740)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:80 +0x6f
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x338ebf0?, 0x101c7524740}, {0x33ab6e0, 0x10a562f86c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:110 +0x258
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10a562f86c0, {0x338ebf0?, 0x101c7524740})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:58 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc813fa?, {0x101c7524780?, 0x3, 0x10a562f86c0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_statement.go:64 +0x65
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2()
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:173 +0x2d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10a562f86c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xffff4607e8, {0x0, 0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:785 +0x18f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x10a562f86c0?, 0x101c8701d00?, {0x0?, 0x0?, 0x101c9604820?})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:169 +0x19f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x10a562f86c0, 0x101c8701d00, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c7539f80}}, 0x101c9925240, 0x0, 0x101c81f4aa0, 0x10a562f86c0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter_invocation.go:148 +0x1d8
github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x29d9c60?, {{{0x3388720, 0x101c6c740f0}, {0x3371b78, 0x101c7539f80}}, 0x101c9925240, 0x0, 0x101c81f4aa0, 0x10a562f86c0, {0x0, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value_function.go:126 +0x5e
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).functionConditionsWrapper.func1.1.1()
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:2194 +0x2b5
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xf9f36e0ba0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x7f112414fb38?}, 0xffff460c68, {0x101bbb21c70, 0x1, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/interpreter.go:785 +0x18f
created by github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock
	/app/engine/execution/computation/computer/computer.go:388 +0xa65

   --> 0a9b581d69f37741.SwapPair:423:12
    |
423 |             let price1 = 1.0 / price0
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
725bbe9214b474eeff8f206239998f5c87219e93f20ed8d2ca13a3763737aacf
Status:
ERROR
Block height:
203040743
Block id:
befb20bccae7c5801805c843b11c5ac10fd8f1b1a304fe27252a3930ee52f27f
Timestamp:
Thursday 18 July 2024 at 18:23:33 UTC
()
Proposer:
Authorizers:
Gas used:
516