Flow price: --
9ba542d01658d0a60ee18f50b49333aff6f8ff0fd7618259f483aa9ba9a5ddde

Transaction

Hash: 9ba542d01658d0a60ee18f50b49333aff6f8ff0fd7618259f483aa9ba9a5ddde
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:
  --> 9ba542d01658d0a60ee18f50b49333aff6f8ff0fd7618259f483aa9ba9a5ddde: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:1788:32
     |
1788 |             let lpTokenVault <- pairPublicRef!.addLiquidity(
1789 |                 tokenAVault: <- token0Vault,
1790 |                 tokenBVault: <- token1Vault
1791 |             )
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 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 2727244986 [running]:
runtime/debug.Stack()
	/usr/local/go/src/runtime/debug/stack.go:24 +0x65
github.com/onflow/cadence/runtime/errors.NewUnexpectedError({0x33464f8?, 0x2694a40?}, {0xff6e02c1e0?, 0x2694140?, 0xff6e02c201?})
	/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(0x1096aedf2c0, 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({0xe0a23df290?, 0x1?, 0xff6e02c7d0?}, {0x0?, 0x1a789b2?, 0xff6ff40df0?}, {0xe0a23df290?, 0x8?, 0xff6e02c6b0?}, {0x0, ...})
	/usr/local/go/src/math/big/natdiv.go:520 +0x34b
math/big.(*Int).QuoRem(0xff6e02c740, 0xff6e02c740, 0xff6e02c820, 0xff6e02c6e8)
	/usr/local/go/src/math/big/int.go:286 +0x9c
math/big.(*Int).Div(0xff6e02c740?, 0xff6e02c840?, 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?, 0x1096aedf2c0?}, 0xff6e02c808?)
	/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?, 0xff76eb7518?}, {0x3371790?, 0xfe0de3e6f0?}})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/interpreter/value.go:15969 +0x155
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitBinaryExpression(0x1096aedf2c0, 0xfe0de3e6f0)
	/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?, 0xfe0de3e6f0}, {0x33b0f80, 0x1096aedf2c0})
	/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(0x1096aedf2c0, 0xff7710ebe0, 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(0x40fe0a?, 0xff7710ebe0)
	/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?, 0xff7710ebe0}, {0x33ab6e0, 0x1096aedf2c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:143 +0x4aa
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1096aedf2c0, {0x338ed80?, 0xff7710ebe0})
	/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?, {0xff76d8da80?, 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(0x1096aedf2c0, 0xff77113950)
	/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?, 0xfe0de3e240?}, 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(0x64?, 0xff77103380)
	/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?, 0xff77103380}, {0x33ab6e0, 0x1096aedf2c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:119 +0x335
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1096aedf2c0, {0x338eb00?, 0xff77103380})
	/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?, {0xff771033c0?, 0x4, 0x1096aedf2c0?})
	/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(0x1096aedf2c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xff6e02d4b8, {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(0x1096aedf2c0?, 0xff7729bb80?, {0xff776c78a0?, 0x2?, 0xff77159860?})
	/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(0x1096aedf2c0, 0xff7729bb80, {{{0x3388720, 0xff76eb7518}, {0x3371b78, 0xff76ca4e70}}, 0xff779196d0, 0x0, 0xff771437b0, 0x1096aedf2c0, ...})
	/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, 0xff76eb7518}, {0x3371b78, 0xff76ca4e70}}, 0xff779196d0, 0x0, 0xff771437b0, 0x1096aedf2c0, {0xff776c78a0, ...}, ...})
	/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?, 0xff7729bb80?}, 0x0?, 0xff779196d0?}, {{{0x3388720, 0xff76eb7518}, {0x3371b78, 0xff76ca4e70}}, 0xff779196d0, 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(0x1096aedf2c0?, {0x33aae08, 0xff776c7840}, {0xff776c7880?, 0x2?, 0xc000142af0?}, {0xff776c7860?, 0x2?, 0xbb9fb4?}, {0xff7717e6e0, ...}, ...)
	/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(0x1096aedf2c0, 0xff76ca4e70, 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?, 0xff76efc588?)
	/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?, 0xff76ca4e70}, {0x33b0f80, 0x1096aedf2c0})
	/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(0x1096aedf2c0?, 0xff76e91860?)
	/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?, 0xff76ee1010}, {0x33ab6e0, 0x1096aedf2c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:140 +0x583
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1096aedf2c0, {0x338ea10?, 0xff76ee1010})
	/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?, {0xff768cf200?, 0xb, 0x1096aedf2c0?})
	/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(0x1096aedf2c0, {0x0, 0x0, 0x0}, {0xff76ec2f20, 0x3, 0xc815bb?}, 0xff6e02e060, {0xff768b5f20, 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(0x1096aedf2c0?, 0xff7729b980?, {0xff776c7460?, 0x2?, 0xff77159860?})
	/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(0x1096aedf2c0, 0xff7729b980, {{{0x3388720, 0xff76eb7518}, {0x3371b78, 0xff7711b1f0}}, 0xff77919020, 0x0, 0xff771fce40, 0x1096aedf2c0, ...})
	/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, 0xff76eb7518}, {0x3371b78, 0xff7711b1f0}}, 0xff77919020, 0x0, 0xff771fce40, 0x1096aedf2c0, {0xff776c7460, ...}, ...})
	/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?, 0xff7729b980?}, 0x0?, 0xff77919020?}, {{{0x3388720, 0xff76eb7518}, {0x3371b78, 0xff7711b1f0}}, 0xff77919020, 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(0x1096aedf2c0?, {0x33aae08, 0xff776c7400}, {0xff776c7440?, 0x2?, 0xff77918ee0?}, {0xff776c7420?, 0x2?, 0x40560f?}, {0xff771f7940, ...}, ...)
	/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(0x1096aedf2c0, 0xff7711b1f0, 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(0xff76eb7518?, 0xff6e02e870?)
	/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?, 0xff7711b1f0}, {0x33b0f80, 0x1096aedf2c0})
	/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(0x1096aedf2c0, 0xfb9342f4d0)
	/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?, 0xfb9342f4d0}, {0x33b0f80, 0x1096aedf2c0})
	/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(0x1096aedf2c0, 0xff77124140)
	/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?, 0xff77124140}, {0x33ab6e0, 0x1096aedf2c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:110 +0x258
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x1096aedf2c0, {0x338ebf0?, 0xff77124140})
	/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?, {0xff76ee1840?, 0x1, 0x1096aedf2c0?})
	/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(0x1096aedf2c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xff6e02ee30, {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(0x1096aedf2c0?, 0xff7729af00?, {0xff776c73e0?, 0x2?, 0xff7791c140?})
	/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(0x1096aedf2c0, 0xff7729af00, {{{0x3388720, 0xff737f88b8}, {0x3371b78, 0xff73c529a0}}, 0xff77918fd0, 0x0, 0xff74f67f90, 0x10cd61e06c0, ...})
	/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, 0xff737f88b8}, {0x3371b78, 0xff73c529a0}}, 0xff77918fd0, 0x0, 0xff74f67f90, 0x10cd61e06c0, {0xff776c73e0, ...}, ...})
	/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?, 0xff7729af00?}, 0x0?, 0xff77918fd0?}, {{{0x3388720, 0xff737f88b8}, {0x3371b78, 0xff73c529a0}}, 0xff77918fd0, 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(0x10cd61e06c0?, {0x33aae08, 0xff776c7380}, {0xff776c73c0?, 0x2?, 0x0?}, {0xff776c73a0?, 0x2?, 0x0?}, {0xff74f6ba00, ...}, ...)
	/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(0x10cd61e06c0, 0xff73c529a0, 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(0xc000600000?, 0xff776c7360?)
	/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?, 0xff73c529a0}, {0x33b0f80, 0x10cd61e06c0})
	/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(0x10cd61e06c0, 0xff73c42f00, 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(0x7f10a01469b8?, 0xff73c42f00)
	/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?, 0xff73c42f00}, {0x33ab6e0, 0x10cd61e06c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:143 +0x4aa
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10cd61e06c0, {0x338ed80?, 0xff73c42f00})
	/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?, {0xff723e1600?, 0x13, 0x10cd61e06c0?})
	/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(0x10cd61e06c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xff6e02fbc8, {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(0x10cd61e06c0?, 0xff75108680?, {0x0?, 0x0?, 0xff768a0500?})
	/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(0x10cd61e06c0, 0xff75108680, {{{0x3388720, 0xff737f88b8}, {0x3371b78, 0xff73c07420}}, 0xff76da3140, 0x0, 0xff74bf5ef0, 0x10cd61e06c0, ...})
	/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, 0xff737f88b8}, {0x3371b78, 0xff73c07420}}, 0xff76da3140, 0x0, 0xff74bf5ef0, 0x10cd61e06c0, {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?, 0xff75108680?}, 0x0?, 0xff76da3140?}, {{{0x3388720, 0xff737f88b8}, {0x3371b78, 0xff73c07420}}, 0xff76da3140, 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, 0xff76dbe920}, {0x0?, 0xff6e030408?, 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(0x10cd61e06c0, 0xff73c07420, 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(0xff74bf5eb0?, 0xff6e030408?)
	/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?, 0xff73c07420}, {0x33b0f80, 0x10cd61e06c0})
	/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(0x10cd61e06c0, 0xff73c03600)
	/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?, 0xff73c03600}, {0x33ab6e0, 0x10cd61e06c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.42.12/runtime/ast/visitor.go:110 +0x258
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10cd61e06c0, {0x338ebf0?, 0xff73c03600})
	/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?, {0xff73c03640?, 0x3, 0x10cd61e06c0?})
	/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(0x10cd61e06c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc815bb?}, 0xff6e0307e8, {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(0x10cd61e06c0?, 0xff74ffdf80?, {0x0?, 0x0?, 0xff768a0500?})
	/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(0x10cd61e06c0, 0xff74ffdf80, {{{0x3388720, 0xff737f88b8}, {0x3371b78, 0xff73c1fb20}}, 0xff76da2ad0, 0x0, 0xff74e84d50, 0x10cd61e06c0, ...})
	/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, 0xff737f88b8}, {0x3371b78, 0xff73c1fb20}}, 0xff76da2ad0, 0x0, 0xff74e84d50, 0x10cd61e06c0, {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(0xd5c4e51380, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x7f112414ffe8?}, 0xff6e030c68, {0xff680f41d0, 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:
9ba542d01658d0a60ee18f50b49333aff6f8ff0fd7618259f483aa9ba9a5ddde
Status:
ERROR
Block height:
203044203
Block id:
6e812fdb0dea5c73ca611bd2afb9be1516d16c0716d03322bce04ae80fd3bef6
Timestamp:
Thursday 18 July 2024 at 18:40:37 UTC
()
Proposer:
Authorizers:
Gas used:
516