Flow price: --
6c1c1bf7b6f0a23294e869398b86affb873feb28a78f56b72258f5085c5cbe7c

Transaction

Hash: 6c1c1bf7b6f0a23294e869398b86affb873feb28a78f56b72258f5085c5cbe7c
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: error getting program d78c6588f719936e.TokenForwarding: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
  --> :19:0
   |
19 | pub contract TokenForwarding {
   | ^^^

error: `pub` is no longer a valid access keyword
  --> :22:4
   |
22 |     pub event ForwardedDeposit(amount: UFix64, symbol: String, from: Address?)
   |     ^^^

error: `pub` is no longer a valid access keyword
  --> :24:4
   |
24 |     pub resource interface ForwarderPublic {
   |     ^^^

error: `pub` is no longer a valid access keyword
  --> :28:8
   |
28 |         pub fun check(): Bool
   |         ^^^

error: `pub` is no longer a valid access keyword
  --> :36:8
   |
36 |         pub fun safeBorrow(): &{FungibleToken.Receiver}?
   |         ^^^

error: `pub` is no longer a valid access keyword
  --> :39:4
   |
39 |     pub resource Forwarder: FungibleToken.Receiver, ForwarderPublic {
   |     ^^^

error: `pub` is no longer a valid access keyword
  --> :53:8
   |
53 |         pub fun deposit(from: @FungibleToken.Vault) {
   |         ^^^

error: `pub` is no longer a valid access keyword
  --> :65:8
   |
65 |         pub fun check(): Bool {
   |         ^^^

error: `pub` is no longer a valid access keyword
  --> :75:8
   |
75 |         pub fun safeBorrow(): &{FungibleToken.Receiver}? {
   |         ^^^

error: `pub` is no longer a valid access keyword
  --> :81:8
   |
81 |         pub fun changeRecipient(_ newRecipient: Capability) {
   |         ^^^

error: `pub` is no longer a valid access keyword
  --> :92:8
   |
92 |         pub fun getSupportedVaultTypes(): {Type: Bool} {
   |         ^^^

error: `pub` is no longer a valid access keyword
   --> :113:4
    |
113 |     pub fun createNewForwarder(recipient: Capability, symbol: String): @Forwarder {
    |     ^^^

--> d78c6588f719936e.TokenForwarding

error: cannot find type in this scope: `AuthAccount`
  --> 6c1c1bf7b6f0a23294e869398b86affb873feb28a78f56b72258f5085c5cbe7c:10:18
   |
10 |     prepare(acct: AuthAccount) {
   |                   ^^^^^^^^^^^ not found in this scope

error: value of type `&Account` has no member `getCapability`
  --> 6c1c1bf7b6f0a23294e869398b86affb873feb28a78f56b72258f5085c5cbe7c:21:13
   |
21 |             .getCapability<&{FungibleToken.Receiver}>(self.flowTokenReceiverPublicPath)
   |              ^^^^^^^^^^^^^ unknown member

error: cannot find variable in this scope: `AuthAccount`
  --> 6c1c1bf7b6f0a23294e869398b86affb873feb28a78f56b72258f5085c5cbe7c:26:29
   |
26 |             let newAccount = AuthAccount(payer: acct)
   |                              ^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `TokenForwarding`
  --> 6c1c1bf7b6f0a23294e869398b86affb873feb28a78f56b72258f5085c5cbe7c:35:25
   |
35 |             let vault <- TokenForwarding.createNewForwarder(recipient: recipient, symbol: "flow")
   |                          ^^^^^^^^^^^^^^^ not found in this scope


Hash:
6c1c1bf7b6f0a23294e869398b86affb873feb28a78f56b72258f5085c5cbe7c
Status:
ERROR
Block height:
91543023
Block id:
6b54e65167c7a0112270cf446ef8d9d84ca7c0c27623a0c7f079d21ca0371929
Timestamp:
Saturday 26 October 2024 at 13:21:02 UTC
()
Proposer:
Authorizers: