diff --git a/migrations/cache.go b/migrations/cache.go
new file mode 100644
index 0000000000..393df86f59
--- /dev/null
+++ b/migrations/cache.go
@@ -0,0 +1,41 @@
+/*
+ * Cadence - The resource-oriented smart contract programming language
+ *
+ * Copyright Dapper Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package migrations
+
+import (
+ "sync"
+
+ "github.com/onflow/cadence/runtime/interpreter"
+)
+
+type StaticTypeCache struct {
+ entries sync.Map
+}
+
+func (c *StaticTypeCache) Get(typeID interpreter.TypeID) (interpreter.StaticType, bool) {
+ v, ok := c.entries.Load(typeID)
+ if !ok {
+ return nil, false
+ }
+ return v.(interpreter.StaticType), true
+}
+
+func (c *StaticTypeCache) Set(typeID interpreter.TypeID, ty interpreter.StaticType) {
+ c.entries.Store(typeID, ty)
+}
diff --git a/migrations/entitlements/migration.go b/migrations/entitlements/migration.go
index 3b73fecc23..748da33ee3 100644
--- a/migrations/entitlements/migration.go
+++ b/migrations/entitlements/migration.go
@@ -28,13 +28,24 @@ import (
)
type EntitlementsMigration struct {
- Interpreter *interpreter.Interpreter
+ Interpreter *interpreter.Interpreter
+ migratedTypeCache *migrations.StaticTypeCache
}
var _ migrations.ValueMigration = EntitlementsMigration{}
func NewEntitlementsMigration(inter *interpreter.Interpreter) EntitlementsMigration {
- return EntitlementsMigration{Interpreter: inter}
+ return NewEntitlementsMigrationWithCache(inter, &migrations.StaticTypeCache{})
+}
+
+func NewEntitlementsMigrationWithCache(
+ inter *interpreter.Interpreter,
+ migratedTypeCache *migrations.StaticTypeCache,
+) EntitlementsMigration {
+ return EntitlementsMigration{
+ Interpreter: inter,
+ migratedTypeCache: migratedTypeCache,
+ }
}
func (EntitlementsMigration) Name() string {
@@ -57,12 +68,11 @@ func (EntitlementsMigration) Domains() map[string]struct{} {
// where `Entitlements(I)` is defined as the result of `T.SupportedEntitlements()`
//
// TODO: functions?
-func ConvertToEntitledType(
- inter *interpreter.Interpreter,
+func (m EntitlementsMigration) ConvertToEntitledType(
staticType interpreter.StaticType,
) (
- interpreter.StaticType,
- error,
+ resultType interpreter.StaticType,
+ conversionErr error,
) {
if staticType == nil {
return nil, nil
@@ -72,14 +82,30 @@ func ConvertToEntitledType(
return nil, fmt.Errorf("cannot migrate deprecated type: %s", staticType)
}
+ inter := m.Interpreter
+ migratedTypeCache := m.migratedTypeCache
+
+ staticTypeID := staticType.ID()
+
+ if migratedType, exists := migratedTypeCache.Get(staticTypeID); exists {
+ return migratedType, nil
+ }
+
+ defer func() {
+ if resultType != nil && conversionErr == nil {
+ migratedTypeCache.Set(staticTypeID, resultType)
+ }
+ }()
+
switch t := staticType.(type) {
case *interpreter.ReferenceStaticType:
referencedType := t.ReferencedType
- convertedReferencedType, err := ConvertToEntitledType(inter, referencedType)
+ convertedReferencedType, err := m.ConvertToEntitledType(referencedType)
if err != nil {
- return nil, err
+ conversionErr = err
+ return
}
var returnNew bool
@@ -123,7 +149,7 @@ func ConvertToEntitledType(
default:
supportedEntitlements := entitlementSupportingType.SupportedEntitlements()
- newAccess := sema.NewAccessFromEntitlementSet(supportedEntitlements, sema.Conjunction)
+ newAccess := supportedEntitlements.Access()
auth = interpreter.ConvertSemaAccessToStaticAuthorization(inter, newAccess)
returnNew = true
}
@@ -137,100 +163,109 @@ func ConvertToEntitledType(
}
if returnNew {
- return interpreter.NewReferenceStaticType(nil, auth, referencedType), nil
+ resultType = interpreter.NewReferenceStaticType(nil, auth, referencedType)
+ return
}
case *interpreter.CapabilityStaticType:
- convertedBorrowType, err := ConvertToEntitledType(inter, t.BorrowType)
+ convertedBorrowType, err := m.ConvertToEntitledType(t.BorrowType)
if err != nil {
- return nil, err
+ conversionErr = err
+ return
}
if convertedBorrowType != nil {
- return interpreter.NewCapabilityStaticType(nil, convertedBorrowType), nil
+ resultType = interpreter.NewCapabilityStaticType(nil, convertedBorrowType)
+ return
}
case *interpreter.VariableSizedStaticType:
elementType := t.Type
- convertedElementType, err := ConvertToEntitledType(inter, elementType)
+ convertedElementType, err := m.ConvertToEntitledType(elementType)
if err != nil {
- return nil, err
+ conversionErr = err
+ return
}
if convertedElementType != nil {
- return interpreter.NewVariableSizedStaticType(nil, convertedElementType), nil
+ resultType = interpreter.NewVariableSizedStaticType(nil, convertedElementType)
+ return
}
case *interpreter.ConstantSizedStaticType:
elementType := t.Type
- convertedElementType, err := ConvertToEntitledType(inter, elementType)
+ convertedElementType, err := m.ConvertToEntitledType(elementType)
if err != nil {
- return nil, err
+ conversionErr = err
+ return
}
if convertedElementType != nil {
- return interpreter.NewConstantSizedStaticType(nil, convertedElementType, t.Size), nil
+ resultType = interpreter.NewConstantSizedStaticType(nil, convertedElementType, t.Size)
+ return
}
case *interpreter.DictionaryStaticType:
keyType := t.KeyType
- convertedKeyType, err := ConvertToEntitledType(inter, keyType)
+ convertedKeyType, err := m.ConvertToEntitledType(keyType)
if err != nil {
- return nil, err
+ conversionErr = err
+ return
}
valueType := t.ValueType
- convertedValueType, err := ConvertToEntitledType(inter, valueType)
+ convertedValueType, err := m.ConvertToEntitledType(valueType)
if err != nil {
- return nil, err
+ conversionErr = err
+ return
}
if convertedKeyType != nil {
if convertedValueType != nil {
- return interpreter.NewDictionaryStaticType(nil, convertedKeyType, convertedValueType), nil
+ resultType = interpreter.NewDictionaryStaticType(nil, convertedKeyType, convertedValueType)
+ return
} else {
- return interpreter.NewDictionaryStaticType(nil, convertedKeyType, valueType), nil
+ resultType = interpreter.NewDictionaryStaticType(nil, convertedKeyType, valueType)
+ return
}
} else if convertedValueType != nil {
- return interpreter.NewDictionaryStaticType(nil, keyType, convertedValueType), nil
+ resultType = interpreter.NewDictionaryStaticType(nil, keyType, convertedValueType)
+ return
}
case *interpreter.OptionalStaticType:
innerType := t.Type
- convertedInnerType, err := ConvertToEntitledType(inter, innerType)
+ convertedInnerType, err := m.ConvertToEntitledType(innerType)
if err != nil {
- return nil, err
+ conversionErr = err
+ return
}
if convertedInnerType != nil {
- return interpreter.NewOptionalStaticType(nil, convertedInnerType), nil
+ resultType = interpreter.NewOptionalStaticType(nil, convertedInnerType)
+ return
}
}
- return nil, nil
+ return
}
// ConvertValueToEntitlements converts the input value into a version compatible with the new entitlements feature,
// with the same members/operations accessible on any references as would have been accessible in the past.
-func ConvertValueToEntitlements(
- inter *interpreter.Interpreter,
- v interpreter.Value,
-) (
- interpreter.Value,
- error,
-) {
+func (m EntitlementsMigration) ConvertValueToEntitlements(v interpreter.Value) (interpreter.Value, error) {
+ inter := m.Interpreter
switch v := v.(type) {
case *interpreter.ArrayValue:
elementType := v.Type
- entitledElementType, err := ConvertToEntitledType(inter, elementType)
+ entitledElementType, err := m.ConvertToEntitledType(elementType)
if err != nil {
return nil, err
}
@@ -246,7 +281,7 @@ func ConvertValueToEntitlements(
case *interpreter.DictionaryValue:
elementType := v.Type
- entitledElementType, err := ConvertToEntitledType(inter, elementType)
+ entitledElementType, err := m.ConvertToEntitledType(elementType)
if err != nil {
return nil, err
}
@@ -262,7 +297,7 @@ func ConvertValueToEntitlements(
case *interpreter.IDCapabilityValue:
borrowType := v.BorrowType
- entitledBorrowType, err := ConvertToEntitledType(inter, borrowType)
+ entitledBorrowType, err := m.ConvertToEntitledType(borrowType)
if err != nil {
return nil, err
}
@@ -279,7 +314,7 @@ func ConvertValueToEntitlements(
case *interpreter.PathCapabilityValue: //nolint:staticcheck
borrowType := v.BorrowType
- entitledBorrowType, err := ConvertToEntitledType(inter, borrowType)
+ entitledBorrowType, err := m.ConvertToEntitledType(borrowType)
if err != nil {
return nil, err
}
@@ -295,7 +330,7 @@ func ConvertValueToEntitlements(
case interpreter.TypeValue:
ty := v.Type
- entitledType, err := ConvertToEntitledType(inter, ty)
+ entitledType, err := m.ConvertToEntitledType(ty)
if err != nil {
return nil, err
}
@@ -307,7 +342,7 @@ func ConvertValueToEntitlements(
case *interpreter.AccountCapabilityControllerValue:
borrowType := v.BorrowType
- entitledBorrowType, err := ConvertToEntitledType(inter, borrowType)
+ entitledBorrowType, err := m.ConvertToEntitledType(borrowType)
if err != nil {
return nil, err
}
@@ -323,7 +358,7 @@ func ConvertValueToEntitlements(
case *interpreter.StorageCapabilityControllerValue:
borrowType := v.BorrowType
- entitledBorrowType, err := ConvertToEntitledType(inter, borrowType)
+ entitledBorrowType, err := m.ConvertToEntitledType(borrowType)
if err != nil {
return nil, err
}
@@ -340,7 +375,7 @@ func ConvertValueToEntitlements(
case interpreter.PathLinkValue: //nolint:staticcheck
borrowType := v.Type
- entitledBorrowType, err := ConvertToEntitledType(inter, borrowType)
+ entitledBorrowType, err := m.ConvertToEntitledType(borrowType)
if err != nil {
return nil, err
}
@@ -356,7 +391,7 @@ func ConvertValueToEntitlements(
return nil, nil
}
-func (mig EntitlementsMigration) Migrate(
+func (m EntitlementsMigration) Migrate(
_ interpreter.StorageKey,
_ interpreter.StorageMapKey,
value interpreter.Value,
@@ -365,9 +400,9 @@ func (mig EntitlementsMigration) Migrate(
interpreter.Value,
error,
) {
- return ConvertValueToEntitlements(mig.Interpreter, value)
+ return m.ConvertValueToEntitlements(value)
}
-func (mig EntitlementsMigration) CanSkip(valueType interpreter.StaticType) bool {
+func (m EntitlementsMigration) CanSkip(valueType interpreter.StaticType) bool {
return statictypes.CanSkipStaticTypeMigration(valueType)
}
diff --git a/migrations/entitlements/migration_test.go b/migrations/entitlements/migration_test.go
index 9ce1ea9e59..f875f2de1f 100644
--- a/migrations/entitlements/migration_test.go
+++ b/migrations/entitlements/migration_test.go
@@ -49,6 +49,7 @@ func TestConvertToEntitledType(t *testing.T) {
t.Parallel()
inter := NewTestInterpreter(t)
+ migration := NewEntitlementsMigration(inter)
elaboration := sema.NewElaboration(nil)
@@ -458,7 +459,7 @@ func TestConvertToEntitledType(t *testing.T) {
Name: "int",
},
{
- Input: sema.NewReferenceType(nil, sema.UnauthorizedAccess, &sema.FunctionType{}),
+ Input: sema.NewReferenceType(nil, sema.UnauthorizedAccess, &sema.FunctionType{ReturnTypeAnnotation: sema.NewTypeAnnotation(sema.IntType)}),
Output: nil,
Name: "function",
},
@@ -474,7 +475,7 @@ func TestConvertToEntitledType(t *testing.T) {
},
{
Input: sema.NewReferenceType(nil, sema.UnauthorizedAccess, compositeResourceWithEOrF),
- Output: sema.NewReferenceType(nil, eAndFAccess, compositeResourceWithEOrF),
+ Output: sema.NewReferenceType(nil, eOrFAccess, compositeResourceWithEOrF),
Name: "composite E or F",
},
{
@@ -646,7 +647,7 @@ func TestConvertToEntitledType(t *testing.T) {
t.Run(test.Name, func(t *testing.T) {
inputStaticType := interpreter.ConvertSemaToStaticType(nil, test.Input)
- convertedType, _ := ConvertToEntitledType(inter, inputStaticType)
+ convertedType, _ := migration.ConvertToEntitledType(inputStaticType)
expectedType := interpreter.ConvertSemaToStaticType(nil, test.Output)
@@ -693,7 +694,8 @@ func (m testEntitlementsMigration) Migrate(
interpreter.Value,
error,
) {
- return ConvertValueToEntitlements(m.inter, value)
+ migration := NewEntitlementsMigration(m.inter)
+ return migration.ConvertValueToEntitlements(value)
}
func (m testEntitlementsMigration) CanSkip(_ interpreter.StaticType) bool {
@@ -1217,7 +1219,7 @@ func TestConvertToEntitledValue(t *testing.T) {
wrap: func(staticType interpreter.StaticType) interpreter.Value {
return interpreter.NewCapabilityValue(
nil,
- 0,
+ 1,
interpreter.AddressValue{},
staticType,
)
@@ -1241,7 +1243,7 @@ func TestConvertToEntitledValue(t *testing.T) {
interpreter.AddressValue{},
interpreter.NewCapabilityValue(
nil,
- 0,
+ 1,
interpreter.AddressValue{},
staticType,
),
@@ -1453,7 +1455,7 @@ func TestMigrateSimpleContract(t *testing.T) {
unentitledRCap := interpreter.NewCapabilityValue(
inter,
- 0,
+ 1,
interpreter.NewAddressValue(inter, account),
unentitledRRefStaticType,
)
@@ -1475,7 +1477,7 @@ func TestMigrateSimpleContract(t *testing.T) {
entitledRRefStaticType := entitledRRef.StaticType(inter)
entitledRCap := interpreter.NewCapabilityValue(
inter,
- 0,
+ 1,
interpreter.NewAddressValue(inter, account),
entitledRRefStaticType,
)
@@ -1492,7 +1494,7 @@ func TestMigrateSimpleContract(t *testing.T) {
storedValue: unentitledRCap.Clone(inter),
expectedValue: interpreter.NewCapabilityValue(
inter,
- 0,
+ 1,
interpreter.NewAddressValue(inter, account),
entitledRRefStaticType,
),
@@ -1576,7 +1578,10 @@ func TestMigrateSimpleContract(t *testing.T) {
func TestNilTypeValue(t *testing.T) {
t.Parallel()
- result, err := ConvertValueToEntitlements(nil, interpreter.NewTypeValue(nil, nil))
+ migration := NewEntitlementsMigration(nil)
+ result, err := migration.ConvertValueToEntitlements(
+ interpreter.NewTypeValue(nil, nil),
+ )
require.NoError(t, err)
require.Nil(t, result)
}
@@ -1584,8 +1589,8 @@ func TestNilTypeValue(t *testing.T) {
func TestNilPathCapabilityValue(t *testing.T) {
t.Parallel()
- result, err := ConvertValueToEntitlements(
- NewTestInterpreter(t),
+ migration := NewEntitlementsMigration(NewTestInterpreter(t))
+ result, err := migration.ConvertValueToEntitlements(
&interpreter.PathCapabilityValue{ //nolint:staticcheck
Address: interpreter.NewAddressValue(nil, common.MustBytesToAddress([]byte{0x1})),
Path: interpreter.NewUnmeteredPathValue(common.PathDomainStorage, "test"),
@@ -2804,6 +2809,7 @@ func TestConvertDeprecatedStaticTypes(t *testing.T) {
t.Parallel()
inter := NewTestInterpreter(t)
+ migration := NewEntitlementsMigration(inter)
value := interpreter.NewUnmeteredCapabilityValue(
1,
interpreter.AddressValue(common.ZeroAddress),
@@ -2814,7 +2820,7 @@ func TestConvertDeprecatedStaticTypes(t *testing.T) {
),
)
- result, err := ConvertValueToEntitlements(inter, value)
+ result, err := migration.ConvertValueToEntitlements(value)
require.Error(t, err)
assert.ErrorContains(t, err, "cannot migrate deprecated type")
require.Nil(t, result)
@@ -2840,6 +2846,7 @@ func TestConvertMigratedAccountTypes(t *testing.T) {
t.Parallel()
inter := NewTestInterpreter(t)
+ migration := NewEntitlementsMigration(inter)
value := interpreter.NewUnmeteredCapabilityValue(
1,
interpreter.AddressValue(common.ZeroAddress),
@@ -2860,7 +2867,7 @@ func TestConvertMigratedAccountTypes(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, newValue)
- result, err := ConvertValueToEntitlements(inter, newValue)
+ result, err := migration.ConvertValueToEntitlements(newValue)
require.NoError(t, err)
require.Nilf(t, result, "expected no migration, but got %s", result)
})
@@ -3157,7 +3164,16 @@ func TestRehash(t *testing.T) {
ReferenceStaticType: refType,
}
- typeValue := interpreter.NewUnmeteredTypeValue(legacyRefType)
+ optType := interpreter.NewOptionalStaticType(
+ nil,
+ legacyRefType,
+ )
+
+ legacyOptType := &migrations.LegacyOptionalType{
+ OptionalStaticType: optType,
+ }
+
+ typeValue := interpreter.NewUnmeteredTypeValue(legacyOptType)
dictValue.Insert(
inter,
@@ -3168,8 +3184,8 @@ func TestRehash(t *testing.T) {
// Note: ID is in the old format
assert.Equal(t,
- common.TypeID("auth&A.4200000000000000.Foo.Bar"),
- legacyRefType.ID(),
+ common.TypeID("auth&A.4200000000000000.Foo.Bar?"),
+ legacyOptType.ID(),
)
storageMap := storage.GetStorageMap(
@@ -3291,14 +3307,21 @@ func TestRehash(t *testing.T) {
newCompositeType(),
)
- typeValue := interpreter.NewUnmeteredTypeValue(refType)
+ optType := interpreter.NewOptionalStaticType(
+ nil,
+ refType,
+ )
+
+ typeValue := interpreter.NewUnmeteredTypeValue(optType)
// Note: ID is in the new format
assert.Equal(t,
- common.TypeID("auth(A.4200000000000000.E)&A.4200000000000000.Foo.Bar"),
- refType.ID(),
+ common.TypeID("(auth(A.4200000000000000.E)&A.4200000000000000.Foo.Bar)?"),
+ optType.ID(),
)
+ assert.Equal(t, 1, dictValue.Count())
+
value, ok := dictValue.Get(inter, locationRange, typeValue)
require.True(t, ok)
diff --git a/migrations/legacy_optional_type.go b/migrations/legacy_optional_type.go
new file mode 100644
index 0000000000..325be6bcd1
--- /dev/null
+++ b/migrations/legacy_optional_type.go
@@ -0,0 +1,44 @@
+/*
+ * Cadence - The resource-oriented smart contract programming language
+ *
+ * Copyright Dapper Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package migrations
+
+import (
+ "fmt"
+
+ "github.com/onflow/cadence/runtime/common"
+ "github.com/onflow/cadence/runtime/interpreter"
+)
+
+// LegacyOptionalType simulates the old optional type with the old typeID generation.
+type LegacyOptionalType struct {
+ *interpreter.OptionalStaticType
+}
+
+var _ interpreter.StaticType = &LegacyOptionalType{}
+
+func (t *LegacyOptionalType) ID() common.TypeID {
+ return common.TypeID(fmt.Sprintf("%s?", t.Type.ID()))
+}
+
+func (t *LegacyOptionalType) Equal(other interpreter.StaticType) bool {
+ if otherLegacy, ok := other.(*LegacyOptionalType); ok {
+ other = otherLegacy.OptionalStaticType
+ }
+ return t.OptionalStaticType.Equal(other)
+}
diff --git a/migrations/legacy_test.go b/migrations/legacy_test.go
index 732e2fb88e..0d1fceadfd 100644
--- a/migrations/legacy_test.go
+++ b/migrations/legacy_test.go
@@ -19,11 +19,16 @@
package migrations
import (
+ "bytes"
"testing"
+ "github.com/fxamacker/cbor/v2"
+ "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
+ "github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/runtime/interpreter"
+ "github.com/onflow/cadence/runtime/sema"
"github.com/onflow/cadence/runtime/tests/utils"
)
@@ -58,12 +63,11 @@ func TestLegacyEquality(t *testing.T) {
t.Run("Intersection type", func(t *testing.T) {
t.Parallel()
- fooQualifiedIdentifier := "Test.Foo"
- fooType := &interpreter.InterfaceStaticType{
- Location: utils.TestLocation,
- QualifiedIdentifier: fooQualifiedIdentifier,
- TypeID: utils.TestLocation.TypeID(nil, fooQualifiedIdentifier),
- }
+ fooType := interpreter.NewInterfaceStaticTypeComputeTypeID(
+ nil,
+ utils.TestLocation,
+ "Test.Foo",
+ )
require.True(t,
(&LegacyIntersectionType{
@@ -113,4 +117,353 @@ func TestLegacyEquality(t *testing.T) {
}),
)
})
+
+ t.Run("Optional type", func(t *testing.T) {
+ t.Parallel()
+
+ require.True(t,
+ (&LegacyOptionalType{
+ OptionalStaticType: &interpreter.OptionalStaticType{
+ Type: interpreter.PrimitiveStaticTypeInt,
+ },
+ }).Equal(&LegacyOptionalType{
+ OptionalStaticType: &interpreter.OptionalStaticType{
+ Type: interpreter.PrimitiveStaticTypeInt,
+ },
+ }),
+ )
+ })
+}
+
+func TestLegacyOptionalType(t *testing.T) {
+ t.Parallel()
+
+ test := func(
+ t *testing.T,
+ optionalType *interpreter.OptionalStaticType,
+ expectedTypeID common.TypeID,
+ expectedEncoding []byte,
+ ) {
+
+ legacyRefType := &LegacyOptionalType{
+ OptionalStaticType: optionalType,
+ }
+
+ assert.Equal(t,
+ expectedTypeID,
+ legacyRefType.ID(),
+ )
+
+ var buf bytes.Buffer
+
+ encoder := cbor.NewStreamEncoder(&buf)
+ err := legacyRefType.Encode(encoder)
+ require.NoError(t, err)
+
+ err = encoder.Flush()
+ require.NoError(t, err)
+
+ assert.Equal(t, expectedEncoding, buf.Bytes())
+ }
+
+ t.Run("reference to optional", func(t *testing.T) {
+
+ t.Parallel()
+
+ optionalType := interpreter.NewOptionalStaticType(
+ nil,
+ interpreter.NewReferenceStaticType(
+ nil,
+ interpreter.UnauthorizedAccess,
+ interpreter.PrimitiveStaticTypeAnyStruct,
+ ),
+ )
+
+ test(t,
+ optionalType,
+ "&AnyStruct?",
+ []byte{
+ // tag
+ 0xd8, interpreter.CBORTagOptionalStaticType,
+ // tag
+ 0xd8, interpreter.CBORTagReferenceStaticType,
+ // array, 2 items follow
+ 0x82,
+ // Unauthorized
+ 0xd8, interpreter.CBORTagUnauthorizedStaticAuthorization,
+ // nil
+ 0xf6,
+ // tag
+ 0xd8, interpreter.CBORTagPrimitiveStaticType,
+ // AnyStruct,
+ byte(interpreter.PrimitiveStaticTypeAnyStruct),
+ },
+ )
+ })
+}
+
+func TestLegacyReferenceType(t *testing.T) {
+
+ t.Parallel()
+
+ test := func(
+ t *testing.T,
+ refType *interpreter.ReferenceStaticType,
+ expectedTypeID common.TypeID,
+ expectedEncoding []byte,
+ ) {
+
+ legacyRefType := &LegacyReferenceType{
+ ReferenceStaticType: refType,
+ }
+
+ assert.Equal(t,
+ expectedTypeID,
+ legacyRefType.ID(),
+ )
+
+ var buf bytes.Buffer
+
+ encoder := cbor.NewStreamEncoder(&buf)
+ err := legacyRefType.Encode(encoder)
+ require.NoError(t, err)
+
+ err = encoder.Flush()
+ require.NoError(t, err)
+
+ assert.Equal(t, expectedEncoding, buf.Bytes())
+ }
+
+ t.Run("has legacy authorized, unauthorized", func(t *testing.T) {
+
+ t.Parallel()
+
+ refType := interpreter.NewReferenceStaticType(
+ nil,
+ interpreter.UnauthorizedAccess,
+ interpreter.PrimitiveStaticTypeAnyStruct,
+ )
+ refType.HasLegacyIsAuthorized = true
+ refType.LegacyIsAuthorized = false
+
+ test(t,
+ refType,
+ "&AnyStruct",
+ []byte{
+ // tag
+ 0xd8, interpreter.CBORTagReferenceStaticType,
+ // array, 2 items follow
+ 0x82,
+ // authorized = false
+ 0xf4,
+ // tag
+ 0xd8, interpreter.CBORTagPrimitiveStaticType,
+ // AnyStruct,
+ byte(interpreter.PrimitiveStaticTypeAnyStruct),
+ },
+ )
+ })
+
+ t.Run("has legacy authorized, authorized", func(t *testing.T) {
+
+ t.Parallel()
+
+ refType := interpreter.NewReferenceStaticType(
+ nil,
+ interpreter.UnauthorizedAccess,
+ interpreter.PrimitiveStaticTypeAnyStruct,
+ )
+ refType.HasLegacyIsAuthorized = true
+ refType.LegacyIsAuthorized = true
+
+ test(t,
+ refType,
+ "auth&AnyStruct",
+ []byte{
+ // tag
+ 0xd8, interpreter.CBORTagReferenceStaticType,
+ // array, 2 items follow
+ 0x82,
+ // authorized = true
+ 0xf5,
+ // tag
+ 0xd8, interpreter.CBORTagPrimitiveStaticType,
+ // AnyStruct,
+ byte(interpreter.PrimitiveStaticTypeAnyStruct),
+ },
+ )
+ })
+
+ t.Run("new authorization, unauthorized", func(t *testing.T) {
+ t.Parallel()
+
+ refType := interpreter.NewReferenceStaticType(
+ nil,
+ interpreter.UnauthorizedAccess,
+ interpreter.PrimitiveStaticTypeAnyStruct,
+ )
+
+ test(t,
+ refType,
+ "&AnyStruct",
+ []byte{
+ // tag
+ 0xd8, interpreter.CBORTagReferenceStaticType,
+ // array, 2 items follow
+ 0x82,
+ // tag
+ 0xd8, interpreter.CBORTagUnauthorizedStaticAuthorization,
+ // nil
+ 0xf6,
+ // tag
+ 0xd8, interpreter.CBORTagPrimitiveStaticType,
+ // AnyStruct,
+ byte(interpreter.PrimitiveStaticTypeAnyStruct),
+ },
+ )
+
+ })
+
+ t.Run("new authorization, authorized", func(t *testing.T) {
+ t.Parallel()
+
+ refType := interpreter.NewReferenceStaticType(
+ nil,
+ interpreter.NewEntitlementSetAuthorization(
+ nil,
+ func() []common.TypeID {
+ return []common.TypeID{"Foo"}
+ },
+ 1,
+ sema.Conjunction,
+ ),
+ interpreter.PrimitiveStaticTypeAnyStruct,
+ )
+
+ test(t,
+ refType,
+ "auth(Foo)&AnyStruct",
+ []byte{
+ // tag
+ 0xd8, interpreter.CBORTagReferenceStaticType,
+ // array, 2 items follow
+ 0x82,
+ // tag
+ 0xd8, interpreter.CBORTagEntitlementSetStaticAuthorization,
+ // array, 2 items follow
+ 0x82,
+ 0x0,
+ // array, 1 items follow
+ 0x81,
+ // UTF-8 string, 3 bytes follow
+ 0x63,
+ // F, o, o
+ 0x46, 0x6f, 0x6f,
+ // tag
+ 0xd8, interpreter.CBORTagPrimitiveStaticType,
+ // AnyStruct,
+ byte(interpreter.PrimitiveStaticTypeAnyStruct),
+ },
+ )
+ })
+}
+
+func TestLegacyIntersectionType(t *testing.T) {
+ t.Parallel()
+
+ test := func(
+ t *testing.T,
+ intersectionType *interpreter.IntersectionStaticType,
+ expectedTypeID common.TypeID,
+ expectedEncoding []byte,
+ ) {
+
+ legacyIntersectionType := &LegacyIntersectionType{
+ IntersectionStaticType: intersectionType,
+ }
+
+ assert.Equal(t,
+ expectedTypeID,
+ legacyIntersectionType.ID(),
+ )
+
+ var buf bytes.Buffer
+
+ encoder := cbor.NewStreamEncoder(&buf)
+ err := legacyIntersectionType.Encode(encoder)
+ require.NoError(t, err)
+
+ err = encoder.Flush()
+ require.NoError(t, err)
+
+ assert.Equal(t, expectedEncoding, buf.Bytes())
+ }
+
+ t.Run("unsorted", func(t *testing.T) {
+
+ t.Parallel()
+
+ fooType := interpreter.NewInterfaceStaticTypeComputeTypeID(
+ nil,
+ utils.TestLocation,
+ "Test.Foo",
+ )
+
+ barType := interpreter.NewInterfaceStaticTypeComputeTypeID(
+ nil,
+ utils.TestLocation,
+ "Test.Bar",
+ )
+
+ intersectionType := interpreter.NewIntersectionStaticType(
+ nil,
+ []*interpreter.InterfaceStaticType{
+ fooType,
+ barType,
+ },
+ )
+
+ test(t,
+ intersectionType,
+ "{S.test.Test.Foo,S.test.Test.Bar}",
+ []byte{
+ // tag
+ 0xd8, interpreter.CBORTagIntersectionStaticType,
+ // array, length 2
+ 0x82,
+ // nil
+ 0xf6,
+ // array, length 2
+ 0x82,
+ // tag
+ 0xd8, interpreter.CBORTagInterfaceStaticType,
+ // array, 2 items follow
+ 0x82,
+ // tag
+ 0xd8, interpreter.CBORTagStringLocation,
+ // UTF-8 string, length 4
+ 0x64,
+ // t, e, s, t
+ 0x74, 0x65, 0x73, 0x74,
+ // UTF-8 string, length 8
+ 0x68,
+ // T, e, s, t, ., F, o, o
+ 0x54, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x6f,
+ // tag
+ 0xd8, interpreter.CBORTagInterfaceStaticType,
+ // array, 2 items follow
+ 0x82,
+ // tag
+ 0xd8, interpreter.CBORTagStringLocation,
+ // UTF-8 string, length 4
+ 0x64,
+ // t, e, s, t
+ 0x74, 0x65, 0x73, 0x74,
+ // UTF-8 string, length 8
+ 0x68,
+ // T, e, s, t, ., B, a, r
+ 0x54, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x61, 0x72,
+ },
+ )
+ })
}
diff --git a/migrations/migration.go b/migrations/migration.go
index 69d7498943..bc757eac9c 100644
--- a/migrations/migration.go
+++ b/migrations/migration.go
@@ -689,9 +689,15 @@ func legacyType(staticType interpreter.StaticType) interpreter.StaticType {
}
case *interpreter.OptionalStaticType:
+ optionalType := typ
+
legacyInnerType := legacyType(typ.Type)
if legacyInnerType != nil {
- return interpreter.NewOptionalStaticType(nil, legacyInnerType)
+ optionalType = interpreter.NewOptionalStaticType(nil, legacyInnerType)
+ }
+
+ return &LegacyOptionalType{
+ OptionalStaticType: optionalType,
}
case *interpreter.CapabilityStaticType:
diff --git a/migrations/migration_test.go b/migrations/migration_test.go
index 048be67838..393262015e 100644
--- a/migrations/migration_test.go
+++ b/migrations/migration_test.go
@@ -19,12 +19,10 @@
package migrations
import (
- "bytes"
"errors"
"fmt"
"testing"
- "github.com/fxamacker/cbor/v2"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -2337,172 +2335,6 @@ func TestDomainsMigration(t *testing.T) {
})
}
-func TestLegacyReferenceType(t *testing.T) {
-
- t.Parallel()
-
- test := func(
- t *testing.T,
- refType *interpreter.ReferenceStaticType,
- expectedTypeID common.TypeID,
- expectedEncoding []byte,
- ) {
-
- legacyRefType := &LegacyReferenceType{
- ReferenceStaticType: refType,
- }
-
- assert.Equal(t,
- expectedTypeID,
- legacyRefType.ID(),
- )
-
- var buf bytes.Buffer
-
- encoder := cbor.NewStreamEncoder(&buf)
- err := legacyRefType.Encode(encoder)
- require.NoError(t, err)
-
- err = encoder.Flush()
- require.NoError(t, err)
-
- assert.Equal(t, expectedEncoding, buf.Bytes())
- }
-
- t.Run("has legacy authorized, unauthorized", func(t *testing.T) {
-
- t.Parallel()
-
- refType := interpreter.NewReferenceStaticType(
- nil,
- interpreter.UnauthorizedAccess,
- interpreter.PrimitiveStaticTypeAnyStruct,
- )
- refType.HasLegacyIsAuthorized = true
- refType.LegacyIsAuthorized = false
-
- test(t,
- refType,
- "&AnyStruct",
- []byte{
- // tag
- 0xd8, interpreter.CBORTagReferenceStaticType,
- // array, 2 items follow
- 0x82,
- // authorized = false
- 0xf4,
- // tag
- 0xd8, interpreter.CBORTagPrimitiveStaticType,
- // AnyStruct,
- byte(interpreter.PrimitiveStaticTypeAnyStruct),
- },
- )
- })
-
- t.Run("has legacy authorized, authorized", func(t *testing.T) {
-
- t.Parallel()
-
- refType := interpreter.NewReferenceStaticType(
- nil,
- interpreter.UnauthorizedAccess,
- interpreter.PrimitiveStaticTypeAnyStruct,
- )
- refType.HasLegacyIsAuthorized = true
- refType.LegacyIsAuthorized = true
-
- test(t,
- refType,
- "auth&AnyStruct",
- []byte{
- // tag
- 0xd8, interpreter.CBORTagReferenceStaticType,
- // array, 2 items follow
- 0x82,
- // authorized = true
- 0xf5,
- // tag
- 0xd8, interpreter.CBORTagPrimitiveStaticType,
- // AnyStruct,
- byte(interpreter.PrimitiveStaticTypeAnyStruct),
- },
- )
- })
-
- t.Run("new authorization, unauthorized", func(t *testing.T) {
- t.Parallel()
-
- refType := interpreter.NewReferenceStaticType(
- nil,
- interpreter.UnauthorizedAccess,
- interpreter.PrimitiveStaticTypeAnyStruct,
- )
-
- test(t,
- refType,
- "&AnyStruct",
- []byte{
- // tag
- 0xd8, interpreter.CBORTagReferenceStaticType,
- // array, 2 items follow
- 0x82,
- // tag
- 0xd8, interpreter.CBORTagUnauthorizedStaticAuthorization,
- // nil
- 0xf6,
- // tag
- 0xd8, interpreter.CBORTagPrimitiveStaticType,
- // AnyStruct,
- byte(interpreter.PrimitiveStaticTypeAnyStruct),
- },
- )
-
- })
-
- t.Run("new authorization, authorized", func(t *testing.T) {
- t.Parallel()
-
- refType := interpreter.NewReferenceStaticType(
- nil,
- interpreter.NewEntitlementSetAuthorization(
- nil,
- func() []common.TypeID {
- return []common.TypeID{"Foo"}
- },
- 1,
- sema.Conjunction,
- ),
- interpreter.PrimitiveStaticTypeAnyStruct,
- )
-
- test(t,
- refType,
- "auth(Foo)&AnyStruct",
- []byte{
- // tag
- 0xd8, interpreter.CBORTagReferenceStaticType,
- // array, 2 items follow
- 0x82,
- // tag
- 0xd8, interpreter.CBORTagEntitlementSetStaticAuthorization,
- // array, 2 items follow
- 0x82,
- 0x0,
- // array, 1 items follow
- 0x81,
- // UTF-8 string, 3 bytes follow
- 0x63,
- // F, o, o
- 0x46, 0x6f, 0x6f,
- // tag
- 0xd8, interpreter.CBORTagPrimitiveStaticType,
- // AnyStruct,
- byte(interpreter.PrimitiveStaticTypeAnyStruct),
- },
- )
- })
-}
-
// testDictionaryKeyConflictMigration
type testDictionaryKeyConflictMigration struct {
diff --git a/migrations/statictypes/account_type_migration_test.go b/migrations/statictypes/account_type_migration_test.go
index 49a7ee4a1c..28ccbb3339 100644
--- a/migrations/statictypes/account_type_migration_test.go
+++ b/migrations/statictypes/account_type_migration_test.go
@@ -151,7 +151,7 @@ func TestAccountTypeInTypeValueMigration(t *testing.T) {
},
"optional_string": {
storedType: interpreter.NewOptionalStaticType(nil, stringType),
- expectedType: nil,
+ expectedType: interpreter.NewOptionalStaticType(nil, stringType),
},
"constant_sized_account_array": {
storedType: interpreter.NewConstantSizedStaticType(nil, publicAccountType, 3),
diff --git a/migrations/statictypes/intersection_type_migration_test.go b/migrations/statictypes/intersection_type_migration_test.go
index ccbafc89e5..61d2ec6a0e 100644
--- a/migrations/statictypes/intersection_type_migration_test.go
+++ b/migrations/statictypes/intersection_type_migration_test.go
@@ -137,7 +137,7 @@ func TestIntersectionTypeMigration(t *testing.T) {
// optional
"optional_primitive": {
storedType: interpreter.NewOptionalStaticType(nil, stringType),
- expectedType: nil,
+ expectedType: interpreter.NewOptionalStaticType(nil, stringType),
},
"optional_intersection_with_one_interface": {
storedType: interpreter.NewOptionalStaticType(
@@ -629,6 +629,8 @@ func TestIntersectionTypeRehash(t *testing.T) {
intersectionType.ID(),
)
+ assert.Equal(t, 1, dictValue.Count())
+
value, ok := dictValue.Get(inter, locationRange, typeValue)
require.True(t, ok)
@@ -802,6 +804,8 @@ func TestRehashNestedIntersectionType(t *testing.T) {
intersectionType.ID(),
)
+ assert.Equal(t, 1, dictValue.Count())
+
value, ok := dictValue.Get(inter, locationRange, typeValue)
require.True(t, ok)
@@ -951,6 +955,8 @@ func TestRehashNestedIntersectionType(t *testing.T) {
intersectionType.ID(),
)
+ assert.Equal(t, 1, dictValue.Count())
+
value, ok := dictValue.Get(inter, locationRange, typeValue)
require.True(t, ok)
diff --git a/migrations/statictypes/statictype_migration.go b/migrations/statictypes/statictype_migration.go
index 73f884506d..5fca4e8847 100644
--- a/migrations/statictypes/statictype_migration.go
+++ b/migrations/statictypes/statictype_migration.go
@@ -323,6 +323,10 @@ func (m *StaticTypeMigration) maybeConvertStaticType(staticType, parentType inte
if convertedInnerType != nil {
return interpreter.NewOptionalStaticType(nil, convertedInnerType)
}
+ // NOTE: force re-storing/re-encoding of optional types,
+ // even if the inner type has not changed,
+ // as the type ID generation of optional types has changed
+ return staticType
case *interpreter.ReferenceStaticType:
// TODO: Reference of references must not be allowed?
diff --git a/migrations/statictypes/statictype_migration_test.go b/migrations/statictypes/statictype_migration_test.go
index a36d3b39d3..fcfc397ef2 100644
--- a/migrations/statictypes/statictype_migration_test.go
+++ b/migrations/statictypes/statictype_migration_test.go
@@ -1157,6 +1157,9 @@ func TestCanSkipStaticTypeMigration(t *testing.T) {
interpreter.PrimitiveStaticTypeAnyStruct: false,
interpreter.PrimitiveStaticTypeAnyResource: false,
+
+ // Run-time types
+ interpreter.PrimitiveStaticTypeMetaType: false,
}
test := func(ty interpreter.StaticType, expected bool) {
@@ -1239,3 +1242,170 @@ func TestCanSkipStaticTypeMigration(t *testing.T) {
test(ty, expected)
}
}
+
+// TestOptionalTypeRehash stores a dictionary in storage,
+// which has a key that is a type value with an optional type,
+// runs the migration, and ensures the dictionary is still usable
+func TestOptionalTypeRehash(t *testing.T) {
+
+ t.Parallel()
+
+ locationRange := interpreter.EmptyLocationRange
+
+ ledger := NewTestLedger(nil, nil)
+
+ storageMapKey := interpreter.StringStorageMapKey("dict")
+ newTestValue := func() interpreter.Value {
+ return interpreter.NewUnmeteredStringValue("test")
+ }
+
+ newStorageAndInterpreter := func(t *testing.T) (*runtime.Storage, *interpreter.Interpreter) {
+ storage := runtime.NewStorage(ledger, nil)
+ inter, err := interpreter.NewInterpreter(
+ nil,
+ utils.TestLocation,
+ &interpreter.Config{
+ Storage: storage,
+ AtreeValueValidationEnabled: true,
+ AtreeStorageValidationEnabled: true,
+ },
+ )
+ require.NoError(t, err)
+
+ return storage, inter
+ }
+
+ newOptionalType := func() *interpreter.OptionalStaticType {
+ return interpreter.NewOptionalStaticType(nil, interpreter.PrimitiveStaticTypeInt)
+ }
+
+ // Prepare
+ (func() {
+
+ storage, inter := newStorageAndInterpreter(t)
+
+ dictionaryStaticType := interpreter.NewDictionaryStaticType(
+ nil,
+ interpreter.PrimitiveStaticTypeMetaType,
+ interpreter.PrimitiveStaticTypeString,
+ )
+ dictValue := interpreter.NewDictionaryValue(inter, locationRange, dictionaryStaticType)
+
+ optionalType := &migrations.LegacyOptionalType{
+ OptionalStaticType: newOptionalType(),
+ }
+
+ typeValue := interpreter.NewUnmeteredTypeValue(optionalType)
+
+ dictValue.Insert(
+ inter,
+ locationRange,
+ typeValue,
+ newTestValue(),
+ )
+
+ // NOTE: intentionally in old format
+ assert.Equal(t,
+ common.TypeID("Int?"),
+ optionalType.ID(),
+ )
+
+ storageMap := storage.GetStorageMap(
+ testAddress,
+ common.PathDomainStorage.Identifier(),
+ true,
+ )
+
+ storageMap.SetValue(inter,
+ storageMapKey,
+ dictValue.Transfer(
+ inter,
+ locationRange,
+ atree.Address(testAddress),
+ false,
+ nil,
+ nil,
+ ),
+ )
+
+ err := storage.Commit(inter, false)
+ require.NoError(t, err)
+ })()
+
+ // Migrate
+ (func() {
+
+ storage, inter := newStorageAndInterpreter(t)
+
+ migration, err := migrations.NewStorageMigration(inter, storage, "test", testAddress)
+ require.NoError(t, err)
+
+ reporter := newTestReporter()
+
+ migration.Migrate(
+ migration.NewValueMigrationsPathMigrator(
+ reporter,
+ NewStaticTypeMigration(),
+ ),
+ )
+
+ err = migration.Commit()
+ require.NoError(t, err)
+
+ // Assert
+
+ require.Empty(t, reporter.errors)
+
+ err = storage.CheckHealth()
+ require.NoError(t, err)
+
+ require.Equal(t,
+ map[struct {
+ interpreter.StorageKey
+ interpreter.StorageMapKey
+ }]struct{}{
+ {
+ StorageKey: interpreter.StorageKey{
+ Address: testAddress,
+ Key: common.PathDomainStorage.Identifier(),
+ },
+ StorageMapKey: storageMapKey,
+ }: {},
+ },
+ reporter.migrated,
+ )
+ })()
+
+ // Load
+ (func() {
+
+ storage, inter := newStorageAndInterpreter(t)
+
+ storageMap := storage.GetStorageMap(testAddress, common.PathDomainStorage.Identifier(), false)
+ storedValue := storageMap.ReadValue(inter, storageMapKey)
+
+ require.IsType(t, &interpreter.DictionaryValue{}, storedValue)
+
+ dictValue := storedValue.(*interpreter.DictionaryValue)
+
+ optionalType := newOptionalType()
+ typeValue := interpreter.NewUnmeteredTypeValue(optionalType)
+
+ // NOTE: in *new* format
+ assert.Equal(t,
+ common.TypeID("(Int)?"),
+ optionalType.ID(),
+ )
+
+ assert.Equal(t, 1, dictValue.Count())
+
+ value, ok := dictValue.Get(inter, locationRange, typeValue)
+ require.True(t, ok)
+
+ require.IsType(t, &interpreter.StringValue{}, value)
+ require.Equal(t,
+ newTestValue(),
+ value.(*interpreter.StringValue),
+ )
+ })()
+}
diff --git a/migrations/string_normalization/migration_test.go b/migrations/string_normalization/migration_test.go
index 2468e310af..3426d867e8 100644
--- a/migrations/string_normalization/migration_test.go
+++ b/migrations/string_normalization/migration_test.go
@@ -491,6 +491,8 @@ func TestStringValueRehash(t *testing.T) {
stringValue.HashInput(inter, locationRange, nil),
)
+ assert.Equal(t, 1, dictValue.Count())
+
value, ok := dictValue.Get(inter, locationRange, stringValue)
require.True(t, ok)
@@ -637,6 +639,8 @@ func TestCharacterValueRehash(t *testing.T) {
characterValue.HashInput(inter, locationRange, nil),
)
+ assert.Equal(t, 1, dictValue.Count())
+
value, ok := dictValue.Get(inter, locationRange, characterValue)
require.True(t, ok)
diff --git a/migrations_data/staged-contracts-04-17-2024-testnet-103000.md b/migrations_data/staged-contracts-04-17-2024-testnet-103000.md
new file mode 100644
index 0000000000..0958b42f6f
--- /dev/null
+++ b/migrations_data/staged-contracts-04-17-2024-testnet-103000.md
@@ -0,0 +1,189 @@
+## Cadence 1.0 staged contracts migration results
+Report Date: 18 April, 2024
+
+Stats: 178 contracts staged, 130 successfully upgraded, 48 failed to upgrade
+
+Snapshot: devnet49-execution-snapshot-for-migration-3-april-17
+
+Flow-go build: [v0.34.0-crescendo-preview.12](https://github.com/onflow/flow-go/releases/tag/v0.34.0-crescendo-preview.12)
+
+|Account Address | Contract Name | Status |
+| --- | --- | --- |
+| 0xff5b7741090ee518 | Signature | ✅ |
+| 0xff5b7741090ee518 | FanTopPermissionV2a | ✅ |
+| 0xff5b7741090ee518 | FanTopSerial | ✅ |
+| 0xff5b7741090ee518 | FanTopPermission | ✅ |
+| 0xff5b7741090ee518 | FanTopToken | ✅ |
+| 0xff5b7741090ee518 | FanTopMarket | ✅ |
+| 0xfa2a6615db587be5 | ExampleNFT | ❌
Error:
error: resource \`ExampleNFT.Collection\` does not conform to resource interface \`NonFungibleToken.Collection\`
--\> fa2a6615db587be5.ExampleNFT:127:25
\|
127 \| access(all) resource Collection: NonFungibleToken.Collection {
\| ^
...
\|
130 \| access(contract) var ownedNFTs: @{UInt64: ExampleNFT.NFT}
\| \-\-\-\-\-\-\-\-\- mismatch here
|
+| 0xf8e0eab3a87cbf49 | ExampleNFT | ❌
Error:
error: error getting program f8e0eab3a87cbf49.ExampleDependency: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :1:0
\|
1 \| pub contract ExampleDependency {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :2:4
\|
2 \| pub let test: Int
\| ^^^
--\> f8e0eab3a87cbf49.ExampleDependency
error: resource \`ExampleNFT.Collection\` does not conform to resource interface \`NonFungibleToken.Collection\`
--\> f8e0eab3a87cbf49.ExampleNFT:128:25
\|
128 \| access(all) resource Collection: NonFungibleToken.Collection {
\| ^
...
\|
131 \| access(contract) var ownedNFTs: @{UInt64: ExampleNFT.NFT}
\| \-\-\-\-\-\-\-\-\- mismatch here
|
+| 0xf8ba321af4bd37bb | aiSportsMinter | ❌
Error:
error: resource \`aiSportsMinter.Collection\` does not conform to resource interface \`NonFungibleToken.Collection\`
--\> f8ba321af4bd37bb.aiSportsMinter:157:23
\|
157 \| access(all) resource Collection: NonFungibleToken.Collection {
\| ^
...
\|
161 \| access(contract) var ownedNFTs: @{UInt64: aiSportsMinter.NFT}
\| \-\-\-\-\-\-\-\-\- mismatch here
|
+| 0xf28310b45fc6b319 | ExampleNFT | ✅ |
+| 0xef4cd3d07a7b43ce | PDS | ✅ |
+| 0xe223d8a629e49c68 | FUSD | ✅ |
+| 0xe1d43e0cfc237807 | Flowty | ✅ |
+| 0xe1d43e0cfc237807 | RoyaltiesLedger | ✅ |
+| 0xe1d43e0cfc237807 | FlowtyRentals | ✅ |
+| 0xd8f6346999b983f5 | IPackNFT | ✅ |
+| 0xd704ee8202a0d82d | ExampleNFT | ✅ |
+| 0xd35bad52c7e1ab65 | ZeedzINO | ❌
Error:
error: conformances does not match in \`Collection\`
--\> d35bad52c7e1ab65.ZeedzINO:214:25
\|
214 \| access(all) resource Collection: NonFungibleToken.Collection, ZeedzCollectionPublic, ZeedzCollectionPrivate {
\| ^^^^^^^^^^
error: conformances does not match in \`ZeedzINO\`
--\> d35bad52c7e1ab65.ZeedzINO:32:21
\|
32 \| access(all) contract ZeedzINO: NonFungibleToken {
\| ^^^^^^^^
|
+| 0xbe4635353f55bbd4 | FeeEstimator | ✅ |
+| 0xbe4635353f55bbd4 | LostAndFoundHelper | ✅ |
+| 0xbe4635353f55bbd4 | LostAndFound | ✅ |
+| 0xb668e8c9726ef26b | FanTopPermission | ✅ |
+| 0xb668e8c9726ef26b | FanTopSerial | ✅ |
+| 0xb668e8c9726ef26b | FanTopToken | ✅ |
+| 0xb668e8c9726ef26b | Signature | ✅ |
+| 0xb668e8c9726ef26b | FanTopMarket | ✅ |
+| 0xb668e8c9726ef26b | FanTopPermissionV2a | ✅ |
+| 0xb051bdaddb672a33 | DNAHandler | ✅ |
+| 0xb051bdaddb672a33 | NFTStorefrontV2 | ✅ |
+| 0xb051bdaddb672a33 | Permitted | ✅ |
+| 0xb051bdaddb672a33 | FlowtyViews | ✅ |
+| 0xb051bdaddb672a33 | FlowtyUtils | ✅ |
+| 0xb051bdaddb672a33 | FlowtyListingCallback | ✅ |
+| 0xb051bdaddb672a33 | RoyaltiesOverride | ✅ |
+| 0xa47a2d3a3b7e9133 | FanTopMarket | ✅ |
+| 0xa47a2d3a3b7e9133 | FanTopToken | ✅ |
+| 0xa47a2d3a3b7e9133 | FanTopPermission | ✅ |
+| 0xa47a2d3a3b7e9133 | Signature | ✅ |
+| 0xa47a2d3a3b7e9133 | FanTopPermissionV2a | ✅ |
+| 0xa47a2d3a3b7e9133 | FanTopSerial | ✅ |
+| 0xa2526e2d9cc7f0d2 | PackNFT | ❌
Error:
error: resource \`PackNFT.Collection\` does not conform to resource interface \`NonFungibleToken.Collection\`
--\> a2526e2d9cc7f0d2.PackNFT:209:25
\|
209 \| access(all) resource Collection: NonFungibleToken.Collection, IPackNFT.IPackNFTCollectionPublic {
\| ^
...
\|
213 \| access(self) var ownedNFTs: @{UInt64: {NonFungibleToken.NFT}}
\| \-\-\-\-\-\-\-\-\- mismatch here
|
+| 0xa2526e2d9cc7f0d2 | Pinnacle | ✅ |
+| 0x9d96fa5f60093c18 | B | ✅ |
+| 0x9d96fa5f60093c18 | A | ✅ |
+| 0x99ca04281098b33d | Content | ✅ |
+| 0x99ca04281098b33d | Profile | ✅ |
+| 0x99ca04281098b33d | Marketplace | ❌
Error:
error: error getting program 99ca04281098b33d.Art: failed to derive value: load program failed: Checking failed:
error: cannot apply unary operation \* to type
--\> 99ca04281098b33d.Art:415:185
--\> 99ca04281098b33d.Art
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:55:39
\|
55 \| recipientCap: Capability<&{Art.CollectionPublic}>,
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Marketplace:55:38
\|
55 \| recipientCap: Capability<&{Art.CollectionPublic}>,
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:89:30
\|
89 \| init(id: UInt64, art: Art.Metadata, cacheKey: String, price: UFix64){
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:81:17
\|
81 \| let art: Art.Metadata
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:107:31
\|
107 \| var forSale: @{UInt64: Art.NFT}
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:150:37
\|
150 \| fun borrowArt(id: UInt64): &{Art.Public}?{
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Marketplace:150:36
\|
150 \| fun borrowArt(id: UInt64): &{Art.Public}?{
\| ^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:159:40
\|
159 \| fun withdraw(tokenID: UInt64): @Art.NFT{
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:170:32
\|
170 \| fun listForSale(token: @Art.NFT, price: UFix64){
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:194:65
\|
194 \| fun purchase(tokenID: UInt64, recipientCap: Capability<&{Art.CollectionPublic}>, buyTokens: @{FungibleToken.Vault}){
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Marketplace:194:64
\|
194 \| fun purchase(tokenID: UInt64, recipientCap: Capability<&{Art.CollectionPublic}>, buyTokens: @{FungibleToken.Vault}){
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Marketplace:152:46
\|
152 \| return (&self.forSale\$&id\$& as &Art.NFT?)!
\| ^^^ not found in this scope
|
+| 0x99ca04281098b33d | Auction | ❌
Error:
error: error getting program 99ca04281098b33d.Art: failed to derive value: load program failed: Checking failed:
error: cannot apply unary operation \* to type
--\> 99ca04281098b33d.Art:415:185
--\> 99ca04281098b33d.Art
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:438:20
\|
438 \| token: @Art.NFT,
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:443:40
\|
443 \| collectionCap: Capability<&{Art.CollectionPublic}>,
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:443:39
\|
443 \| collectionCap: Capability<&{Art.CollectionPublic}>,
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:458:40
\|
458 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:458:39
\|
458 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:67:22
\|
67 \| metadata: Art.Metadata?,
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:41:22
\|
41 \| let metadata: Art.Metadata?
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:184:18
\|
184 \| NFT: @Art.NFT,
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:189:45
\|
189 \| ownerCollectionCap: Capability<&{Art.CollectionPublic}>,
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:189:44
\|
189 \| ownerCollectionCap: Capability<&{Art.CollectionPublic}>,
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:134:18
\|
134 \| var NFT: @Art.NFT?
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:169:49
\|
169 \| var recipientCollectionCap: Capability<&{Art.CollectionPublic}>?
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:169:48
\|
169 \| var recipientCollectionCap: Capability<&{Art.CollectionPublic}>?
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:177:45
\|
177 \| let ownerCollectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:177:44
\|
177 \| let ownerCollectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:216:47
\|
216 \| fun sendNFT(\_ capability: Capability<&{Art.CollectionPublic}>){
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:216:46
\|
216 \| fun sendNFT(\_ capability: Capability<&{Art.CollectionPublic}>){
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:359:40
\|
359 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:359:39
\|
359 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:499:34
\|
499 \| fun createAuction(token: @Art.NFT, minimumBidIncrement: UFix64, auctionLength: UFix64, auctionStartTime: UFix64, startPrice: UFix64, collectionCap: Capability<&{Art.CollectionPublic}>, vaultCap: Capability<&{FungibleToken.Receiver}>){
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:499:169
\|
499 \| fun createAuction(token: @Art.NFT, minimumBidIncrement: UFix64, auctionLength: UFix64, auctionStartTime: UFix64, startPrice: UFix64, collectionCap: Capability<&{Art.CollectionPublic}>, vaultCap: Capability<&{FungibleToken.Receiver}>){
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:499:168
\|
499 \| fun createAuction(token: @Art.NFT, minimumBidIncrement: UFix64, auctionLength: UFix64, auctionStartTime: UFix64, startPrice: UFix64, collectionCap: Capability<&{Art.CollectionPublic}>, vaultCap: Capability<&{FungibleToken.Receiver}>){
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:557:145
\|
557 \| fun placeBid(id: UInt64, bidTokens: @{FungibleToken.Vault}, vaultCap: Capability<&{FungibleToken.Receiver}>, collectionCap: Capability<&{Art.CollectionPublic}>){
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:557:144
\|
557 \| fun placeBid(id: UInt64, bidTokens: @{FungibleToken.Vault}, vaultCap: Capability<&{FungibleToken.Receiver}>, collectionCap: Capability<&{Art.CollectionPublic}>){
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:573:16
\|
573 \| token: @Art.NFT,
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:578:36
\|
578 \| collectionCap: Capability<&{Art.CollectionPublic}>,
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:578:35
\|
578 \| collectionCap: Capability<&{Art.CollectionPublic}>,
\| ^^^^^^^^^^^^^^^^^^^^^^
|
+| 0x99ca04281098b33d | Versus | ❌
Error:
error: error getting program 99ca04281098b33d.Art: failed to derive value: load program failed: Checking failed:
error: cannot apply unary operation \* to type
--\> 99ca04281098b33d.Art:415:185
--\> 99ca04281098b33d.Art
error: error getting program 99ca04281098b33d.Auction: failed to derive value: load program failed: Checking failed:
error: error getting program 99ca04281098b33d.Art: failed to derive value: load program failed: Checking failed:
error: cannot apply unary operation \* to type
--\> 99ca04281098b33d.Art:415:185
--\> 99ca04281098b33d.Art
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:438:20
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:443:40
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:443:39
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:458:40
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:458:39
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:67:22
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:41:22
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:184:18
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:189:45
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:189:44
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:134:18
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:169:49
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:169:48
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:177:45
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:177:44
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:216:47
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:216:46
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:359:40
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:359:39
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:499:34
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:499:169
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:499:168
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:557:145
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:557:144
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:573:16
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Auction:578:36
error: ambiguous intersection type
--\> 99ca04281098b33d.Auction:578:35
--\> 99ca04281098b33d.Auction
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:564:40
\|
564 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:564:39
\|
564 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:138:28
\|
138 \| uniqueAuction: @Auction.AuctionItem,
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:139:30
\|
139 \| editionAuctions: @Auction.AuctionCollection,
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:108:28
\|
108 \| let uniqueAuction: @Auction.AuctionItem
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:111:30
\|
111 \| let editionAuctions: @Auction.AuctionCollection
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:128:22
\|
128 \| let metadata: Art.Metadata
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:274:44
\|
274 \| fun getAuction(auctionId: UInt64): &Auction.AuctionItem{
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:296:40
\|
296 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:296:39
\|
296 \| collectionCap: Capability<&{Art.CollectionPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:442:30
\|
442 \| init(\_ auctionStatus: Auction.AuctionStatus){
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:508:26
\|
508 \| uniqueStatus: Auction.AuctionStatus,
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:516:22
\|
516 \| metadata: Art.Metadata,
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:495:22
\|
495 \| let metadata: Art.Metadata
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:603:104
\|
603 \| init(marketplaceVault: Capability<&{FungibleToken.Receiver}>, marketplaceNFTTrash: Capability<&{Art.CollectionPublic}>, cutPercentage: UFix64){
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:603:103
\|
603 \| init(marketplaceVault: Capability<&{FungibleToken.Receiver}>, marketplaceNFTTrash: Capability<&{Art.CollectionPublic}>, cutPercentage: UFix64){
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:601:46
\|
601 \| let marketplaceNFTTrash: Capability<&{Art.CollectionPublic}>
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:601:45
\|
601 \| let marketplaceNFTTrash: Capability<&{Art.CollectionPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:717:168
\|
717 \| fun placeBid(dropId: UInt64, auctionId: UInt64, bidTokens: @{FungibleToken.Vault}, vaultCap: Capability<&{FungibleToken.Receiver}>, collectionCap: Capability<&{Art.CollectionPublic}>){
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:717:167
\|
717 \| fun placeBid(dropId: UInt64, auctionId: UInt64, bidTokens: @{FungibleToken.Vault}, vaultCap: Capability<&{FungibleToken.Receiver}>, collectionCap: Capability<&{Art.CollectionPublic}>){
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:840:166
\|
840 \| fun mintArt(artist: Address, artistName: String, artName: String, content: String, description: String, type: String, artistCut: UFix64, minterCut: UFix64): @Art.NFT{
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:861:29
\|
861 \| fun editionArt(art: &Art.NFT, edition: UInt64, maxEdition: UInt64): @Art.NFT{
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:861:77
\|
861 \| fun editionArt(art: &Art.NFT, edition: UInt64, maxEdition: UInt64): @Art.NFT{
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:866:39
\|
866 \| fun editionAndDepositArt(art: &Art.NFT, to: \$&Address\$&){
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:941:46
\|
941 \| let marketplaceNFTTrash: Capability<&{Art.CollectionPublic}> =
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:941:45
\|
941 \| let marketplaceNFTTrash: Capability<&{Art.CollectionPublic}> =
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:942:35
\|
942 \| account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:942:34
\|
942 \| account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:942:58
\|
942 \| account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 99ca04281098b33d.Versus:942:8
\|
942 \| account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:165:52
\|
165 \| let uniqueRef = &self.uniqueAuction as &Auction.AuctionItem
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:166:55
\|
166 \| let editionRef = &self.editionAuctions as &Auction.AuctionCollection
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:339:57
\|
339 \| let auctionRef = &self.uniqueAuction as &Auction.AuctionItem
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:350:60
\|
350 \| let editionsRef = &self.editionAuctions as &Auction.AuctionCollection
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:631:32
\|
631 \| let art <- nft as! @Art.NFT
\| ^^^ not found in this scope
error: cannot find variable in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:636:37
\|
636 \| let editionedAuctions <- Auction.createAuctionCollection(marketplaceVault: self.marketplaceVault, cutPercentage: self.cutPercentage)
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:639:57
\|
639 \| editionedAuctions.createAuction(token: <-Art.makeEdition(original: &art as &Art.NFT, edition: currentEdition, maxEdition: editions), minimumBidIncrement: minimumBidIncrement, auctionLength: duration, auctionStartTime: startTime, startPrice: startPrice, collectionCap: self.marketplaceNFTTrash, vaultCap: vaultCap)
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:639:92
\|
639 \| editionedAuctions.createAuction(token: <-Art.makeEdition(original: &art as &Art.NFT, edition: currentEdition, maxEdition: editions), minimumBidIncrement: minimumBidIncrement, auctionLength: duration, auctionStartTime: startTime, startPrice: startPrice, collectionCap: self.marketplaceNFTTrash, vaultCap: vaultCap)
\| ^^^ not found in this scope
error: cannot find variable in this scope: \`Auction\`
--\> 99ca04281098b33d.Versus:644:24
\|
644 \| let item <- Auction.createStandaloneAuction(token: <-art, minimumBidIncrement: minimumBidUniqueIncrement, auctionLength: duration, auctionStartTime: startTime, startPrice: startPrice, collectionCap: self.marketplaceNFTTrash, vaultCap: vaultCap)
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:814:54
\|
814 \| let artC = Versus.account.storage.borrow<&Art.Collection>(from: Art.CollectionStoragePath)!
\| ^^^ not found in this scope
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:814:76
\|
814 \| let artC = Versus.account.storage.borrow<&Art.Collection>(from: Art.CollectionStoragePath)!
\| ^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 99ca04281098b33d.Versus:814:23
\|
814 \| let artC = Versus.account.storage.borrow<&Art.Collection>(from: Art.CollectionStoragePath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:855:37
\|
855 \| let royalty ={ "artist": Art.Royalty(wallet: artistWallet, cut: artistCut), "minter": Art.Royalty(wallet: minterWallet, cut: minterCut)}
\| ^^^ not found in this scope
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:855:98
\|
855 \| let royalty ={ "artist": Art.Royalty(wallet: artistWallet, cut: artistCut), "minter": Art.Royalty(wallet: minterWallet, cut: minterCut)}
\| ^^^ not found in this scope
error: cannot infer type from dictionary literal: requires an explicit type annotation
--\> 99ca04281098b33d.Versus:855:25
\|
855 \| let royalty ={ "artist": Art.Royalty(wallet: artistWallet, cut: artistCut), "minter": Art.Royalty(wallet: minterWallet, cut: minterCut)}
\| ^
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:856:23
\|
856 \| let art <- Art.createArtWithPointer(name: artName, artist: artistName, artistAddress: artist, description: description, type: type, contentCapability: contentCapability, contentId: contentId, royalty: royalty)
\| ^^^ not found in this scope
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:862:21
\|
862 \| return <-Art.makeEdition(original: art, edition: edition, maxEdition: maxEdition)
\| ^^^ not found in this scope
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:870:36
\|
870 \| let editionedArt <- Art.makeEdition(original: art, edition: i, maxEdition: maxEdition)
\| ^^^ not found in this scope
error: cannot find type in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:872:63
\|
872 \| var collectionCap = account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^ not found in this scope
error: ambiguous intersection type
--\> 99ca04281098b33d.Versus:872:62
\|
872 \| var collectionCap = account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:872:86
\|
872 \| var collectionCap = account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 99ca04281098b33d.Versus:872:36
\|
872 \| var collectionCap = account.capabilities.get<&{Art.CollectionPublic}>(Art.CollectionPublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 99ca04281098b33d.Versus:873:17
\|
873 \| (collectionCap.borrow()!).deposit(token: <-editionedArt)
\| ^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`Art\`
--\> 99ca04281098b33d.Versus:902:87
\|
902 \| return Versus.account.storage.borrow<&{NonFungibleToken.Collection}>(from: Art.CollectionStoragePath)!
\| ^^^ not found in this scope
|
+| 0x99ca04281098b33d | Art | ❌
Error:
error: cannot apply unary operation \* to type
--\> 99ca04281098b33d.Art:415:185
\|
415 \| var newNFT <- create NFT(initID: Art.totalSupply, metadata: metadata, contentCapability: original.contentCapability, contentId: original.contentId, url: original.url, royalty: \*original.royalty)
\| ^^^^^^^^^^^^^^^^ expected primitive or container of primitives, got \`{String: Art.Royalty}\`
|
+| 0x95e019a17d0e23d7 | LockedTokens | ❌
Error:
error: expected token '&'
--\> 95e019a17d0e23d7.LockedTokens:94:46
\|
94 \| access(all) var vault: Capability
\| ^
|
+| 0x95e019a17d0e23d7 | FlowStakingCollection | ❌
Error:
error: unexpected identifier
--\> 95e019a17d0e23d7.FlowStakingCollection:43:13
\|
43 \| view init(nodeID: String, delegatorID: UInt32) {
\| ^
|
+| 0x8d5aac1da9c370bc | B | ✅ |
+| 0x8d5aac1da9c370bc | A | ✅ |
+| 0x8d5aac1da9c370bc | Contract | ✅ |
+| 0x886d5599b3bfc873 | B | ✅ |
+| 0x886d5599b3bfc873 | A | ✅ |
+| 0x877931736ee77cff | TopShot | ✅ |
+| 0x877931736ee77cff | TopShotLocking | ✅ |
+| 0x86d1c2159a5d9eca | TransactionTypes | ✅ |
+| 0x82ec283f88a62e65 | DapperUtilityCoin | ✅ |
+| 0x668df1b27a5da384 | FanTopMarket | ✅ |
+| 0x668df1b27a5da384 | FanTopToken | ✅ |
+| 0x668df1b27a5da384 | FanTopSerial | ✅ |
+| 0x668df1b27a5da384 | FanTopPermissionV2a | ✅ |
+| 0x668df1b27a5da384 | Signature | ✅ |
+| 0x668df1b27a5da384 | FanTopPermission | ✅ |
+| 0x566c813b3632783e | Sorachi | ✅ |
+| 0x566c813b3632783e | SUGOI | ✅ |
+| 0x566c813b3632783e | MRFRIENDLY | ✅ |
+| 0x566c813b3632783e | Story | ✅ |
+| 0x566c813b3632783e | KOZO | ✅ |
+| 0x566c813b3632783e | AUGUSTUS1 | ✅ |
+| 0x566c813b3632783e | H442T04 | ✅ |
+| 0x566c813b3632783e | SUNTORY | ✅ |
+| 0x566c813b3632783e | TSTCON | ✅ |
+| 0x566c813b3632783e | TS | ✅ |
+| 0x566c813b3632783e | EBISU | ✅ |
+| 0x566c813b3632783e | H442T05 | ✅ |
+| 0x566c813b3632783e | MARKIE3 | ✅ |
+| 0x566c813b3632783e | SNAKE | ✅ |
+| 0x566c813b3632783e | BTC | ✅ |
+| 0x566c813b3632783e | AIICOSMPLG | ✅ |
+| 0x566c813b3632783e | MARKIE | ✅ |
+| 0x566c813b3632783e | ELEMENT | ✅ |
+| 0x566c813b3632783e | ExampleNFT | ✅ |
+| 0x566c813b3632783e | IAT | ✅ |
+| 0x566c813b3632783e | EDGE | ✅ |
+| 0x566c813b3632783e | ACCO_SOLEIL | ✅ |
+| 0x566c813b3632783e | BFD | ✅ |
+| 0x566c813b3632783e | MARKIE2 | ✅ |
+| 0x566c813b3632783e | DOGETKN | ✅ |
+| 0x566c813b3632783e | DUNK | ✅ |
+| 0x566c813b3632783e | JOSHIN | ✅ |
+| 0x566c813b3632783e | WE_PIN | ✅ |
+| 0x566c813b3632783e | MARK | ✅ |
+| 0x566c813b3632783e | BYPRODUCT | ✅ |
+| 0x566c813b3632783e | ECO | ✅ |
+| 0x566c813b3632783e | DWLC | ✅ |
+| 0x566c813b3632783e | MEDI | ✅ |
+| 0x566c813b3632783e | TOM | ✅ |
+| 0x566c813b3632783e | Karat | ✅ |
+| 0x566c813b3632783e | TNP | ✅ |
+| 0x566c813b3632783e | SCARETKN | ✅ |
+| 0x566c813b3632783e | KaratNFT | ✅ |
+| 0x3e5b4c627064625d | GeneratedExperiences | ❌
Error:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindPack: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindVerifier: failed to derive value: load program failed: Checking failed:
error: error getting program 0afe396ebc8eee65.FLOAT: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :37:0
\|
37 \| pub contract FLOAT: NonFungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub let FLOATCollectionStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub let FLOATCollectionPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub let FLOATEventsStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub let FLOATEventsPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub let FLOATEventsPrivatePath: PrivatePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event ContractInitialized()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event FLOATMinted(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :55:4
\|
55 \| pub event FLOATClaimed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, eventName: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :56:4
\|
56 \| pub event FLOATDestroyed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :57:4
\|
57 \| pub event FLOATTransferred(id: UInt64, eventHost: Address, eventId: UInt64, newOwner: Address?, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :58:4
\|
58 \| pub event FLOATPurchased(id: UInt64, eventHost: Address, eventId: UInt64, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub event FLOATEventCreated(eventId: UInt64, description: String, host: Address, image: String, name: String, url: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub event FLOATEventDestroyed(eventId: UInt64, host: Address, name: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub event Deposit(id: UInt64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:4
\|
63 \| pub event Withdraw(id: UInt64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub var totalSupply: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub var totalFLOATEvents: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub struct TokenIdentifier {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:8
\|
83 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :84:8
\|
84 \| pub let address: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:8
\|
85 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub struct TokenInfo {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:8
\|
95 \| pub let path: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:8
\|
96 \| pub let price: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :105:4
\|
105 \| pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :107:8
\|
107 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:8
\|
112 \| pub let dateReceived: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :113:8
\|
113 \| pub let eventDescription: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:8
\|
114 \| pub let eventHost: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :115:8
\|
115 \| pub let eventId: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :116:8
\|
116 \| pub let eventImage: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :117:8
\|
117 \| pub let eventName: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :118:8
\|
118 \| pub let originalRecipient: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :119:8
\|
119 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :126:51
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^^^^^^^^^^^^^^^
--\> 0afe396ebc8eee65.FLOAT
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:62
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:80
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:38:24
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:59
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:77
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindVerifier:153:57
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:87
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:153:22
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:154:16
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:157:22
--\> 35717efbbce11c74.FindVerifier
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1156:32
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:164:26
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:164:25
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:156:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:156:37
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:211:123
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:211:122
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:208:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:208:37
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:307:79
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:305:38
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:56
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:110
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:67
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:121
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1185:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:1185:41
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1220:8
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1223:8
--\> 35717efbbce11c74.FindPack
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:340:32
\|
340 \| access(all) resource Forge: FindForge.Forge {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.GeneratedExperiences:41:29
\|
41 \| royaltiesInput: \$&FindPack.Royalty\$&,
\| ^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.GeneratedExperiences:31:41
\|
31 \| access(all) let royaltiesInput: \$&FindPack.Royalty\$&
\| ^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:341:15
\|
341 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:341:56
\|
341 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:341:110
\|
341 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:354:15
\|
354 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:354:67
\|
354 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:354:121
\|
354 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 3e5b4c627064625d.GeneratedExperiences:399:8
\|
399 \| FindForge.addForgeType(<- create Forge())
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.GeneratedExperiences:118:17
\|
118 \| Type()
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 3e5b4c627064625d.GeneratedExperiences:118:12
\|
118 \| Type()
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.GeneratedExperiences:128:22
\|
128 \| case Type():
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 3e5b4c627064625d.GeneratedExperiences:128:17
\|
128 \| case Type():
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindPack\`
--\> 3e5b4c627064625d.GeneratedExperiences:134:23
\|
134 \| return FindPack.PackRevealData(data)
\| ^^^^^^^^ not found in this scope
error: use of previously moved resource
--\> 3e5b4c627064625d.GeneratedExperiences:271:43
\|
271 \| let oldToken <- self.ownedNFTs\$&token.getID()\$& <- token
\| ^^^^^ resource used here after move
\|
271 \| let oldToken <- self.ownedNFTs\$&token.getID()\$& <- token
\| \-\-\-\-\- resource previously moved here
|
+| 0x3e5b4c627064625d | NFGv3 | ❌
Error:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:284:32
\|
284 \| access(all) resource Forge: FindForge.Forge {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:285:15
\|
285 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:285:56
\|
285 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:285:110
\|
285 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:303:15
\|
303 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:303:67
\|
303 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:303:121
\|
303 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 3e5b4c627064625d.NFGv3:328:8
\|
328 \| FindForge.addForgeType(<- create Forge())
\| ^^^^^^^^^ not found in this scope
|
+| 0x3e5b4c627064625d | PartyFavorzExtraData | ✅ |
+| 0x3e5b4c627064625d | PartyFavorz | ❌
Error:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindPack: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindVerifier: failed to derive value: load program failed: Checking failed:
error: error getting program 0afe396ebc8eee65.FLOAT: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :37:0
\|
37 \| pub contract FLOAT: NonFungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub let FLOATCollectionStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub let FLOATCollectionPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub let FLOATEventsStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub let FLOATEventsPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub let FLOATEventsPrivatePath: PrivatePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event ContractInitialized()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event FLOATMinted(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :55:4
\|
55 \| pub event FLOATClaimed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, eventName: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :56:4
\|
56 \| pub event FLOATDestroyed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :57:4
\|
57 \| pub event FLOATTransferred(id: UInt64, eventHost: Address, eventId: UInt64, newOwner: Address?, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :58:4
\|
58 \| pub event FLOATPurchased(id: UInt64, eventHost: Address, eventId: UInt64, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub event FLOATEventCreated(eventId: UInt64, description: String, host: Address, image: String, name: String, url: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub event FLOATEventDestroyed(eventId: UInt64, host: Address, name: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub event Deposit(id: UInt64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:4
\|
63 \| pub event Withdraw(id: UInt64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub var totalSupply: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub var totalFLOATEvents: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub struct TokenIdentifier {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:8
\|
83 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :84:8
\|
84 \| pub let address: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:8
\|
85 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub struct TokenInfo {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:8
\|
95 \| pub let path: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:8
\|
96 \| pub let price: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :105:4
\|
105 \| pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :107:8
\|
107 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:8
\|
112 \| pub let dateReceived: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :113:8
\|
113 \| pub let eventDescription: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:8
\|
114 \| pub let eventHost: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :115:8
\|
115 \| pub let eventId: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :116:8
\|
116 \| pub let eventImage: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :117:8
\|
117 \| pub let eventName: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :118:8
\|
118 \| pub let originalRecipient: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :119:8
\|
119 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :126:51
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^^^^^^^^^^^^^^^
--\> 0afe396ebc8eee65.FLOAT
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:62
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:80
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:38:24
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:59
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:77
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindVerifier:153:57
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:87
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:153:22
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:154:16
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:157:22
--\> 35717efbbce11c74.FindVerifier
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1156:32
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:164:26
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:164:25
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:156:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:156:37
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:211:123
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:211:122
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:208:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:208:37
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:307:79
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:305:38
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:56
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:110
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:67
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:121
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1185:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:1185:41
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1220:8
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1223:8
--\> 35717efbbce11c74.FindPack
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:341:32
\|
341 \| access(all) resource Forge: FindForge.Forge {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:342:15
\|
342 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:342:56
\|
342 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:342:110
\|
342 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:362:15
\|
362 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:362:67
\|
362 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:362:121
\|
362 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 3e5b4c627064625d.PartyFavorz:396:8
\|
396 \| FindForge.addForgeType(<- create Forge())
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.PartyFavorz:77:17
\|
77 \| Type()
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 3e5b4c627064625d.PartyFavorz:77:12
\|
77 \| Type()
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.PartyFavorz:86:22
\|
86 \| case Type():
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 3e5b4c627064625d.PartyFavorz:86:17
\|
86 \| case Type():
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindPack\`
--\> 3e5b4c627064625d.PartyFavorz:92:23
\|
92 \| return FindPack.PackRevealData(data)
\| ^^^^^^^^ not found in this scope
|
+| 0x3e5b4c627064625d | Flomies | ❌
Error:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindPack: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindVerifier: failed to derive value: load program failed: Checking failed:
error: error getting program 0afe396ebc8eee65.FLOAT: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :37:0
\|
37 \| pub contract FLOAT: NonFungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub let FLOATCollectionStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub let FLOATCollectionPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub let FLOATEventsStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub let FLOATEventsPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub let FLOATEventsPrivatePath: PrivatePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event ContractInitialized()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event FLOATMinted(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :55:4
\|
55 \| pub event FLOATClaimed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, eventName: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :56:4
\|
56 \| pub event FLOATDestroyed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :57:4
\|
57 \| pub event FLOATTransferred(id: UInt64, eventHost: Address, eventId: UInt64, newOwner: Address?, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :58:4
\|
58 \| pub event FLOATPurchased(id: UInt64, eventHost: Address, eventId: UInt64, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub event FLOATEventCreated(eventId: UInt64, description: String, host: Address, image: String, name: String, url: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub event FLOATEventDestroyed(eventId: UInt64, host: Address, name: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub event Deposit(id: UInt64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:4
\|
63 \| pub event Withdraw(id: UInt64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub var totalSupply: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub var totalFLOATEvents: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub struct TokenIdentifier {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:8
\|
83 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :84:8
\|
84 \| pub let address: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:8
\|
85 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub struct TokenInfo {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:8
\|
95 \| pub let path: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:8
\|
96 \| pub let price: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :105:4
\|
105 \| pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :107:8
\|
107 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:8
\|
112 \| pub let dateReceived: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :113:8
\|
113 \| pub let eventDescription: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:8
\|
114 \| pub let eventHost: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :115:8
\|
115 \| pub let eventId: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :116:8
\|
116 \| pub let eventImage: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :117:8
\|
117 \| pub let eventName: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :118:8
\|
118 \| pub let originalRecipient: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :119:8
\|
119 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :126:51
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^^^^^^^^^^^^^^^
--\> 0afe396ebc8eee65.FLOAT
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:62
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:80
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:38:24
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:59
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:77
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindVerifier:153:57
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:87
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:153:22
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:154:16
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:157:22
--\> 35717efbbce11c74.FindVerifier
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1156:32
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:164:26
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:164:25
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:156:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:156:37
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:211:123
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:211:122
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:208:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:208:37
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:307:79
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:305:38
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:56
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:110
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:67
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:121
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1185:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:1185:41
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1220:8
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1223:8
--\> 35717efbbce11c74.FindPack
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:380:36
\|
380 \| access(all) resource Forge: FindForge.Forge {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:381:19
\|
381 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:381:60
\|
381 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:381:114
\|
381 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:395:19
\|
395 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:395:71
\|
395 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:395:125
\|
395 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:414:46
\|
414 \| access(account) fun createForge() : @{FindForge.Forge} {
\| ^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 3e5b4c627064625d.Flomies:414:45
\|
414 \| access(account) fun createForge() : @{FindForge.Forge} {
\| ^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindForge\`
--\> 3e5b4c627064625d.Flomies:434:12
\|
434 \| FindForge.addForgeType(<- create Forge())
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.Flomies:78:17
\|
78 \| Type(),
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 3e5b4c627064625d.Flomies:78:12
\|
78 \| Type(),
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindPack\`
--\> 3e5b4c627064625d.Flomies:138:22
\|
138 \| case Type():
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 3e5b4c627064625d.Flomies:138:17
\|
138 \| case Type():
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindPack\`
--\> 3e5b4c627064625d.Flomies:144:23
\|
144 \| return FindPack.PackRevealData(data)
\| ^^^^^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FIND | ❌
Error:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
\|
1358 \| access(LeaseOwner) fun registerUSDC(name: String, vault: @FiatToken.Vault){
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
\|
1610 \| access(all) fun registerUSDC(name: String, vault: @FiatToken.Vault, profile: Capability<&{Profile.Public}>, leases: Capability<&{LeaseCollectionPublic}>) {
\| ^^^^^^^^^ not found in this scope
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
\|
2110 \| if self.account.storage.borrow<&FUSD.Vault>(from: FUSD.VaultStoragePath) == nil {
\| ^^^^^^^^^^^^^^^^ unknown member
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
\|
2112 \| let vault <- FUSD.createEmptyVault()
\| ^^^^^^^^^^^^^^^^^^^^^^^ expected at least 1, got 0
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
\|
2115 \| self.account.storage.save(<-vault, to: FUSD.VaultStoragePath)
\| ^^^^^^^^^^^^^^^^ unknown member
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
\|
2119 \| FUSD.VaultStoragePath
\| ^^^^^^^^^^^^^^^^ unknown member
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
\|
2121 \| self.account.capabilities.publish(vaultCap, at: FUSD.VaultPublicPath)
\| ^^^^^^^^^^^^^^^ unknown member
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
\|
2123 \| let capb = self.account.capabilities.storage.issue<&{FungibleToken.Vault}>(FUSD.VaultStoragePath)
\| ^^^^^^^^^^^^^^^^ unknown member
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
\|
2129 \| FUSD.VaultStoragePath
\| ^^^^^^^^^^^^^^^^ unknown member
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
\|
2131 \| self.account.capabilities.publish(receiverCap, at: FUSD.ReceiverPublicPath)
\| ^^^^^^^^^^^^^^^^^^ unknown member
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
\|
1633 \| let usdcCap = account.capabilities.get<&{FungibleToken.Receiver}>(FiatToken.VaultReceiverPubPath)!
\| ^^^^^^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindViews | ❌
Error:
error: mismatching field \`cap\` in \`ViewReadPointer\`
--\> 35717efbbce11c74.FindViews:137:30
\|
137 \| access(self) let cap: Capability<&{ViewResolver.ResolverCollection}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incompatible type annotations. expected \`{MetadataViews.ResolverCollection}\`, found \`{ViewResolver.ResolverCollection}\`
error: mismatching field \`cap\` in \`AuthNFTPointer\`
--\> 35717efbbce11c74.FindViews:234:30
\|
234 \| access(self) let cap: Capability
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incompatible type annotations. expected \`{MetadataViews.ResolverCollection, NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}\`, found \`{NonFungibleToken.CollectionPublic, NonFungibleToken.Provider, ViewResolver.ResolverCollection}\`
|
+| 0x35717efbbce11c74 | FindLeaseMarketSale | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindLeaseMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:325:37
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:327:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:327:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:331:43
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:331:42
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:348:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:348:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:352:37
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:33
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:47
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:60
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:397:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:397:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:401:37
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:29:53
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:29:52
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:42:67
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:42:66
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:56:65
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:56:64
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:137:59
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:137:58
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:211:68
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:211:67
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:222:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:222:65
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:254:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:254:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:666:41
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:30:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:58:15
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:70:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:87:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:100:31
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:110:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:114:31
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:124:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:128:31
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:168:137
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:183:140
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:224:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:245:31
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:443:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:449:35
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:55
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:76
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:667:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:673:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:674:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:679:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:680:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:685:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:686:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:691:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:692:8
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:337:26
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:60
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:338:59
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:89
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:338:21
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:52
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:74
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:426:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:477:32
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:479:39
--\> 35717efbbce11c74.FindLeaseMarket
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:21:36
\|
21 \| access(all) resource SaleItem : FindLeaseMarket.SaleItem{
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:132:71
\|
132 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:128:59
\|
128 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem}
\| ^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketSale:128:58
\|
128 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem}
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:18:170
\|
18 \| access(all) event Sale(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName: String?, amount: UFix64, status: String, vaultType:String, leaseInfo: FindLeaseMarket.LeaseInfo?, buyer:Address?, buyerName:String?, buyerAvatar: String?, endsAt:UFix64?)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:33:22
\|
33 \| init(pointer: FindLeaseMarket.AuthLeasePointer, vaultType: Type, price:UFix64, validUntil: UFix64?, saleItemExtraField: {String : AnyStruct}) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:26:38
\|
26 \| access(contract) var pointer: FindLeaseMarket.AuthLeasePointer
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:94:38
\|
94 \| access(all) fun getAuction(): FindLeaseMarket.AuctionItem? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:110:40
\|
110 \| access(all) fun toLeaseInfo() : FindLeaseMarket.LeaseInfo {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:138:47
\|
138 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketSale:138:46
\|
138 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:136:60
\|
136 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketSale:136:59
\|
136 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:143:41
\|
143 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketSale:143:40
\|
143 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:201:48
\|
201 \| access(Seller) fun listForSale(pointer: FindLeaseMarket.AuthLeasePointer, vaultType: Type, directSellPrice:UFix64, validUntil: UFix64?, extraField: {String:AnyStruct}) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:269:59
\|
269 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketSale:269:58
\|
269 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:279:83
\|
279 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketSale:279:82
\|
279 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:283:138
\|
283 \| access(all) fun getSaleItemCapability(marketplace:Address, user:Address) : Capability<&{FindLeaseMarketSale.SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic}>? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:294:8
\|
294 \| FindLeaseMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:295:8
\|
295 \| FindLeaseMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:284:11
\|
284 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:287:22
\|
287 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:288:101
\|
288 \| return getAccount(user).capabilities.get<&{FindLeaseMarketSale.SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:64:23
\|
64 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:74:25
\|
74 \| return Type<@FIND.Lease>()
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarketSale:74:19
\|
74 \| return Type<@FIND.Lease>()
\| ^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:87:19
\|
87 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:111:19
\|
111 \| return FindLeaseMarket.LeaseInfo(self.pointer)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:174:183
\|
174 \| let actionResult=self.getTenant().allowedAction(listingType: Type<@FindLeaseMarketSale.SaleItem>(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"buy lease for sale"), seller: self.owner!.address, buyer: to)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:189:26
\|
189 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:190:26
\|
190 \| let profile = FIND.lookup(buyer.toString())
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:194:12
\|
194 \| FindLeaseMarket.pay(tenant:self.getTenant().name, leaseName:name, saleItem: saleItem, vault: <- vault, leaseInfo:leaseInfo, cuts:cuts)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:196:123
\|
196 \| emit Sale(tenant:self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: soldFor, status:"sold", vaultType: ftType.identifier, leaseInfo:leaseInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile?.getAvatar() ,endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:216:183
\|
216 \| let actionResult=self.getTenant().allowedAction(listingType: Type<@FindLeaseMarketSale.SaleItem>(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:true, name:"list lease for sale"), seller: self.owner!.address, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:223:124
\|
223 \| emit Sale(tenant: self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: saleItem.salePrice, status: "active\_listed", vaultType: vaultType.identifier, leaseInfo:saleItem.toLeaseInfo(), buyer: nil, buyerName:nil, buyerAvatar:nil, endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketSale:237:187
\|
237 \| let actionResult=self.getTenant().allowedAction(listingType: Type<@FindLeaseMarketSale.SaleItem>(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"delist lease for sale"), seller: nil, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:243:126
\|
243 \| emit Sale(tenant:self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:owner, sellerName:FIND.reverseLookup(owner), amount: saleItem.salePrice, status: "cancel", vaultType: saleItem.vaultType.identifier,leaseInfo: saleItem.toLeaseInfo(), buyer:nil, buyerName:nil, buyerAvatar:nil, endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:250:126
\|
250 \| emit Sale(tenant:self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:owner, sellerName:FIND.reverseLookup(owner), amount: saleItem.salePrice, status: "cancel", vaultType: saleItem.vaultType.identifier,leaseInfo: nil, buyer:nil, buyerName:nil, buyerAvatar:nil, endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketSale:252:126
\|
252 \| emit Sale(tenant:self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:owner, sellerName:FIND.reverseLookup(owner), amount: saleItem.salePrice, status: "cancel", vaultType: saleItem.vaultType.identifier,leaseInfo: saleItem.toLeaseInfo(), buyer:nil, buyerName:nil, buyerAvatar:nil, endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | Admin | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: error getting program 35717efbbce11c74.FindPack: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindVerifier: failed to derive value: load program failed: Checking failed:
error: error getting program 0afe396ebc8eee65.FLOAT: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :37:0
\|
37 \| pub contract FLOAT: NonFungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub let FLOATCollectionStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub let FLOATCollectionPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub let FLOATEventsStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub let FLOATEventsPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub let FLOATEventsPrivatePath: PrivatePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event ContractInitialized()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event FLOATMinted(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :55:4
\|
55 \| pub event FLOATClaimed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, eventName: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :56:4
\|
56 \| pub event FLOATDestroyed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :57:4
\|
57 \| pub event FLOATTransferred(id: UInt64, eventHost: Address, eventId: UInt64, newOwner: Address?, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :58:4
\|
58 \| pub event FLOATPurchased(id: UInt64, eventHost: Address, eventId: UInt64, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub event FLOATEventCreated(eventId: UInt64, description: String, host: Address, image: String, name: String, url: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub event FLOATEventDestroyed(eventId: UInt64, host: Address, name: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub event Deposit(id: UInt64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:4
\|
63 \| pub event Withdraw(id: UInt64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub var totalSupply: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub var totalFLOATEvents: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub struct TokenIdentifier {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:8
\|
83 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :84:8
\|
84 \| pub let address: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:8
\|
85 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub struct TokenInfo {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:8
\|
95 \| pub let path: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:8
\|
96 \| pub let price: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :105:4
\|
105 \| pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :107:8
\|
107 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:8
\|
112 \| pub let dateReceived: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :113:8
\|
113 \| pub let eventDescription: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:8
\|
114 \| pub let eventHost: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :115:8
\|
115 \| pub let eventId: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :116:8
\|
116 \| pub let eventImage: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :117:8
\|
117 \| pub let eventName: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :118:8
\|
118 \| pub let originalRecipient: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :119:8
\|
119 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :126:51
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^^^^^^^^^^^^^^^
--\> 0afe396ebc8eee65.FLOAT
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:62
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:80
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:38:24
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:59
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:77
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindVerifier:153:57
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:87
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:153:22
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:154:16
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:157:22
--\> 35717efbbce11c74.FindVerifier
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1156:32
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:164:26
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:164:25
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:156:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:156:37
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:211:123
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:211:122
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:208:38
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:208:37
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:307:79
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:305:38
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:56
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:110
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:15
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:67
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:121
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1185:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:1185:41
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1220:8
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1223:8
--\> 35717efbbce11c74.FindPack
error: error getting program 35717efbbce11c74.NameVoucher: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindAirdropper: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: error getting program 35717efbbce11c74.FindLostAndFoundWrapper: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:46:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:76:83
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:95:79
error: mismatched types
--\> 35717efbbce11c74.FindLostAndFoundWrapper:124:32
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:129:70
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:140:77
error: cannot access \`redeem\`: function requires \`Withdraw\` authorization, but reference is unauthorized
--\> 35717efbbce11c74.FindLostAndFoundWrapper:154:8
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:162:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:164:67
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:165:69
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:69
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:127
--\> 35717efbbce11c74.FindLostAndFoundWrapper
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:12:119
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:13:135
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:18:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:20:23
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:27:22
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:68:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:70:23
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:78:22
error: cannot find variable in this scope: \`FindLostAndFoundWrapper\`
--\> 35717efbbce11c74.FindAirdropper:81:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:100:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:102:23
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:110:22
error: cannot find variable in this scope: \`FindLostAndFoundWrapper\`
--\> 35717efbbce11c74.FindAirdropper:115:23
--\> 35717efbbce11c74.FindAirdropper
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:227:62
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:227:82
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.NameVoucher:227:26
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:228:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:231:32
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:233:59
error: ambiguous intersection type
--\> 35717efbbce11c74.NameVoucher:233:58
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:233:88
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.NameVoucher:233:28
--\> 35717efbbce11c74.NameVoucher
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:38:57
\|
38 \| access(all) fun addCapability(\_ cap: Capability<&FIND.Network>)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:44:49
\|
44 \| access(self) var capability: Capability<&FIND.Network>?
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:46:57
\|
46 \| access(all) fun addCapability(\_ cap: Capability<&FIND.Network>) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:156:110
\|
156 \| access(Owner) fun register(name: String, profile: Capability<&{Profile.Public}>, leases: Capability<&{FIND.LeaseCollectionPublic}>){
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.Admin:156:109
\|
156 \| access(Owner) fun register(name: String, profile: Capability<&{Profile.Public}>, leases: Capability<&{FIND.LeaseCollectionPublic}>){
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:59:12
\|
59 \| FindForge.addPublicForgeType(forgeType: forgeType)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:67:12
\|
67 \| FindForge.addPrivateForgeType(name: name, forgeType: forgeType)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:75:12
\|
75 \| FindForge.removeForgeType(type: type)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:83:12
\|
83 \| FindForge.adminAddContractData(lease: lease, forgeType: forgeType , data: data)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.Admin:91:12
\|
91 \| FindForgeOrder.addMintType(mintType)
\| ^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:99:12
\|
99 \| FindForge.adminOrderForge(leaseName: leaseName, mintType: mintType, minterCut: minterCut, collectionDisplay: collectionDisplay)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:106:12
\|
106 \| FindForge.cancelForgeOrder(leaseName: leaseName, mintType: mintType)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:114:19
\|
114 \| return FindForge.fulfillForgeOrder(contractName, forgeType: forgeType)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:161:16
\|
161 \| if !FIND.validateFindName(name) {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:174:16
\|
174 \| if !FIND.validateFindName(name) {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:178:23
\|
178 \| let user = FIND.lookupAddress(name) ?? panic("Cannot find lease owner. Lease : ".concat(name))
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:179:58
\|
179 \| let ref = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(name))
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.Admin:179:57
\|
179 \| let ref = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(name))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:179:87
\|
179 \| let ref = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(name))
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.Admin:179:22
\|
179 \| let ref = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(name))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.Admin:179:22
\|
179 \| let ref = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(name))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.Admin:188:16
\|
188 \| if !FIND.validateFindName(name) {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:192:12
\|
192 \| FindForge.adminSetMinterPlatform(leaseName: name, forgeType: forgeType, minterCut: minterCut, description: description, externalURL: externalURL, squareImage: squareImage, bannerImage: bannerImage, socials: socials)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:200:12
\|
200 \| FindForge.mintAdmin(leaseName: name, forgeType: forgeType, data: data, receiver: receiver)
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindPack\`
--\> 35717efbbce11c74.Admin:292:33
\|
292 \| let pathIdentifier = FindPack.getPacksCollectionPath(packTypeName: packTypeName, packTypeId: typeId)
\| ^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindPack\`
--\> 35717efbbce11c74.Admin:295:31
\|
295 \| let mintPackData = FindPack.MintPackData(packTypeName: packTypeName, typeId: typeId, hash: hash, verifierRef: FindForge.borrowVerifier())
\| ^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:295:122
\|
295 \| let mintPackData = FindPack.MintPackData(packTypeName: packTypeName, typeId: typeId, hash: hash, verifierRef: FindForge.borrowVerifier())
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Admin:296:12
\|
296 \| FindForge.adminMint(lease: packTypeName, forgeType: Type<@FindPack.Forge>() , data: mintPackData, receiver: receiver)
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 35717efbbce11c74.Admin:296:70
\|
296 \| FindForge.adminMint(lease: packTypeName, forgeType: Type<@FindPack.Forge>() , data: mintPackData, receiver: receiver)
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.Admin:296:64
\|
296 \| FindForge.adminMint(lease: packTypeName, forgeType: Type<@FindPack.Forge>() , data: mintPackData, receiver: receiver)
\| ^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindPack\`
--\> 35717efbbce11c74.Admin:303:12
\|
303 \| FindPack.fulfill(packId:packId, types:types, rewardIds:rewardIds, salt:salt)
\| ^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 35717efbbce11c74.Admin:311:55
\|
311 \| let cap= Admin.account.storage.borrow(from: FindPack.DLQCollectionStoragePath)!
\| ^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindPack\`
--\> 35717efbbce11c74.Admin:311:72
\|
311 \| let cap= Admin.account.storage.borrow(from: FindPack.DLQCollectionStoragePath)!
\| ^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindPack\`
--\> 35717efbbce11c74.Admin:311:99
\|
311 \| let cap= Admin.account.storage.borrow(from: FindPack.DLQCollectionStoragePath)!
\| ^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.Admin:311:21
\|
311 \| let cap= Admin.account.storage.borrow(from: FindPack.DLQCollectionStoragePath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`NameVoucher\`
--\> 35717efbbce11c74.Admin:359:19
\|
359 \| return NameVoucher.mintNFT(recipient: receiver, minCharLength: minCharLength)
\| ^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`NameVoucher\`
--\> 35717efbbce11c74.Admin:367:57
\|
367 \| let receiver = Admin.account.storage.borrow<&NameVoucher.Collection>(from: NameVoucher.CollectionStoragePath)!
\| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`NameVoucher\`
--\> 35717efbbce11c74.Admin:367:87
\|
367 \| let receiver = Admin.account.storage.borrow<&NameVoucher.Collection>(from: NameVoucher.CollectionStoragePath)!
\| ^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.Admin:367:27
\|
367 \| let receiver = Admin.account.storage.borrow<&NameVoucher.Collection>(from: NameVoucher.CollectionStoragePath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`NameVoucher\`
--\> 35717efbbce11c74.Admin:368:19
\|
368 \| return NameVoucher.mintNFT(recipient: receiver, minCharLength: minCharLength)
\| ^^^^^^^^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | NameVoucher | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindAirdropper: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: error getting program 35717efbbce11c74.FindLostAndFoundWrapper: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:46:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:76:83
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:95:79
error: mismatched types
--\> 35717efbbce11c74.FindLostAndFoundWrapper:124:32
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:129:70
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:140:77
error: cannot access \`redeem\`: function requires \`Withdraw\` authorization, but reference is unauthorized
--\> 35717efbbce11c74.FindLostAndFoundWrapper:154:8
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:162:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:164:67
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:165:69
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:69
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:127
--\> 35717efbbce11c74.FindLostAndFoundWrapper
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:12:119
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:13:135
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:18:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:20:23
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:27:22
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:68:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:70:23
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:78:22
error: cannot find variable in this scope: \`FindLostAndFoundWrapper\`
--\> 35717efbbce11c74.FindAirdropper:81:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:100:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:102:23
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:110:22
error: cannot find variable in this scope: \`FindLostAndFoundWrapper\`
--\> 35717efbbce11c74.FindAirdropper:115:23
--\> 35717efbbce11c74.FindAirdropper
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:227:62
\|
227 \| let network = NameVoucher.account.storage.borrow<&FIND.Network>(from: FIND.NetworkStoragePath) ?? panic("Cannot borrow find network for registration")
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:227:82
\|
227 \| let network = NameVoucher.account.storage.borrow<&FIND.Network>(from: FIND.NetworkStoragePath) ?? panic("Cannot borrow find network for registration")
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.NameVoucher:227:26
\|
227 \| let network = NameVoucher.account.storage.borrow<&FIND.Network>(from: FIND.NetworkStoragePath) ?? panic("Cannot borrow find network for registration")
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:228:25
\|
228 \| let status = FIND.status(name)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:231:32
\|
231 \| if status.status == FIND.LeaseStatus.FREE {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:233:59
\|
233 \| let lease = self.owner!.capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.NameVoucher:233:58
\|
233 \| let lease = self.owner!.capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.NameVoucher:233:88
\|
233 \| let lease = self.owner!.capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.NameVoucher:233:28
\|
233 \| let lease = self.owner!.capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
+| 0x35717efbbce11c74 | FindMarket | ❌
Error:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
\|
1411 \| if sbRef.getVaultTypes().contains(ftInfo.type) {
\| ^^^^^^^^^^^^^ unknown member
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
\|
1417 \| case Type<@TokenForwarding.Forwarder>() :
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
\|
1417 \| case Type<@TokenForwarding.Forwarder>() :
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
+| 0x35717efbbce11c74 | FindMarketAdmin | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAdmin:26:57
\|
26 \| access(all) fun addCapability(\_ cap: Capability<&FIND.Network>)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAdmin:32:49
\|
32 \| access(self) var capability: Capability<&FIND.Network>?
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAdmin:34:57
\|
34 \| access(all) fun addCapability(\_ cap: Capability<&FIND.Network>) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:42:91
\|
42 \| access(Owner) fun createFindMarket(name: String, address:Address, findCutSaleItem: FindMarket.TenantSaleItem?) : Capability<&FindMarket.Tenant> {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:42:133
\|
42 \| access(Owner) fun createFindMarket(name: String, address:Address, findCutSaleItem: FindMarket.TenantSaleItem?) : Capability<&FindMarket.Tenant> {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:58:51
\|
58 \| access(Owner) fun getFindMarketClient(): &FindMarket.TenantClient{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:129:61
\|
129 \| access(Owner) fun getTenantRef(\_ tenant: Address) : &FindMarket.Tenant {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:139:66
\|
139 \| access(Owner) fun addFindBlockItem(tenant: Address, item: FindMarket.TenantSaleItem) {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:155:64
\|
155 \| access(Owner) fun setFindCut(tenant: Address, saleItem: FindMarket.TenantSaleItem) {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:171:69
\|
171 \| access(Owner) fun setMarketOption(tenant: Address, saleItem: FindMarket.TenantSaleItem) {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:47:20
\|
47 \| return FindMarket.createFindMarket(name:name, address:address, findCutSaleItem: findCutSaleItem)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:55:12
\|
55 \| FindMarket.removeFindMarketTenant(tenant: tenant)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:63:23
\|
63 \| let path = FindMarket.TenantClientStoragePath
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:64:63
\|
64 \| return FindMarketAdmin.account.storage.borrow(from: path) ?? panic("Cannot borrow Find market tenant client Reference.")
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:64:94
\|
64 \| return FindMarketAdmin.account.storage.borrow(from: path) ?? panic("Cannot borrow Find market tenant client Reference.")
\| ^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarketAdmin:64:19
\|
64 \| return FindMarketAdmin.account.storage.borrow(from: path) ?? panic("Cannot borrow Find market tenant client Reference.")
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:74:12
\|
74 \| FindMarket.addSaleItemType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:81:12
\|
81 \| FindMarket.addMarketBidType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:88:12
\|
88 \| FindMarket.addSaleItemCollectionType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:95:12
\|
95 \| FindMarket.addMarketBidCollectionType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:102:12
\|
102 \| FindMarket.removeSaleItemType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:109:12
\|
109 \| FindMarket.removeMarketBidType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:116:12
\|
116 \| FindMarket.removeSaleItemCollectionType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:123:12
\|
123 \| FindMarket.removeMarketBidCollectionType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:133:25
\|
133 \| let string = FindMarket.getTenantPathForAddress(tenant)
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:135:67
\|
135 \| let cap = FindMarketAdmin.account.capabilities.borrow<&FindMarket.Tenant>(pp) ?? panic("Cannot borrow tenant reference from path. Path : ".concat(pp.toString()) )
\| ^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarketAdmin:135:22
\|
135 \| let cap = FindMarketAdmin.account.capabilities.borrow<&FindMarket.Tenant>(pp) ?? panic("Cannot borrow tenant reference from path. Path : ".concat(pp.toString()) )
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAdmin:228:12
\|
228 \| FindMarket.setResidualAddress(address)
\| ^^^^^^^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindAirdropper | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: error getting program 35717efbbce11c74.FindLostAndFoundWrapper: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:46:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:76:83
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:95:79
error: mismatched types
--\> 35717efbbce11c74.FindLostAndFoundWrapper:124:32
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:129:70
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:140:77
error: cannot access \`redeem\`: function requires \`Withdraw\` authorization, but reference is unauthorized
--\> 35717efbbce11c74.FindLostAndFoundWrapper:154:8
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:162:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:164:67
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:165:69
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:69
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:127
--\> 35717efbbce11c74.FindLostAndFoundWrapper
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:12:119
\|
12 \| access(all) event Airdropped(from: Address ,fromName: String?, to: Address, toName: String?,uuid: UInt64, nftInfo: FindMarket.NFTInfo, context: {String : String}, remark: String?)
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:13:135
\|
13 \| access(all) event AirdroppedToLostAndFound(from: Address, fromName: String? , to: Address, toName: String?, uuid: UInt64, nftInfo: FindMarket.NFTInfo, context: {String : String}, remark: String?, ticketID: UInt64)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:18:21
\|
18 \| let toName = FIND.reverseLookup(receiver)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:20:23
\|
20 \| let fromName = FIND.reverseLookup(from)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:27:22
\|
27 \| let nftInfo = FindMarket.NFTInfo(vr, id: pointer.id, detail: true)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:68:21
\|
68 \| let toName = FIND.reverseLookup(receiver)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:70:23
\|
70 \| let fromName = FIND.reverseLookup(from)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:78:22
\|
78 \| let nftInfo = FindMarket.NFTInfo(vr, id: pointer.id, detail: true)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLostAndFoundWrapper\`
--\> 35717efbbce11c74.FindAirdropper:81:23
\|
81 \| let ticketID = FindLostAndFoundWrapper.depositNFT(
\| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:100:21
\|
100 \| let toName = FIND.reverseLookup(receiver)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindAirdropper:102:23
\|
102 \| let fromName = FIND.reverseLookup(from)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindAirdropper:110:22
\|
110 \| let nftInfo = FindMarket.NFTInfo(vr, id: pointer.id, detail: true)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLostAndFoundWrapper\`
--\> 35717efbbce11c74.FindAirdropper:115:23
\|
115 \| let ticketID = FindLostAndFoundWrapper.depositNFT(
\| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | ProfileCache | ✅ |
+| 0x35717efbbce11c74 | Dandy | ❌
Error:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:348:32
\|
348 \| access(all) resource Forge: FindForge.Forge {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:63:119
\|
63 \| init(name: String, description: String, thumbnail: MetadataViews.Media, schemas: {String: ViewInfo}, platform: FindForge.MinterPlatform, externalUrlPrefix: String?) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:61:39
\|
61 \| access(contract) let platform: FindForge.MinterPlatform
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:87:46
\|
87 \| access(all) fun getMinterPlatform() : FindForge.MinterPlatform {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:349:15
\|
349 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:349:56
\|
349 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:349:110
\|
349 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:354:15
\|
354 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:354:67
\|
354 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:354:121
\|
354 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:333:109
\|
333 \| access(account) fun mintNFT(name: String, description: String, thumbnail: MetadataViews.Media, platform:FindForge.MinterPlatform, schemas: \$&AnyStruct\$&, externalUrlPrefix:String?) : @NFT {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:360:42
\|
360 \| access(account) fun createForge() : @{FindForge.Forge} {
\| ^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.Dandy:360:41
\|
360 \| access(account) fun createForge() : @{FindForge.Forge} {
\| ^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:388:8
\|
388 \| FindForge.addForgeType(<- create Forge())
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:390:8
\|
390 \| FindForge.addPublicForgeType(forgeType: Type<@Forge>())
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:88:27
\|
88 \| if let fetch = FindForge.getMinterPlatform(name: self.platform.name, forgeType: Dandy.getForgeType()) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.Dandy:89:50
\|
89 \| let platform = &self.platform as &FindForge.MinterPlatform
\| ^^^^^^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindMarketCut | ✅ |
+| 0x35717efbbce11c74 | FINDNFTCatalogAdmin | ✅ |
+| 0x35717efbbce11c74 | FindLostAndFoundWrapper | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:46:25
\|
46 \| let senderName = FIND.reverseLookup(sender)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:76:83
\|
76 \| emit NFTDeposited(receiver: receiverCap.address, receiverName: FIND.reverseLookup(receiverAddress), sender: sender, senderName: senderName, type: type.identifier, id: id, uuid: uuid, memo: memo, name: display.name, description: display.description, thumbnail: display.thumbnail.uri(), collectionName: collectionDisplay?.name, collectionImage: collectionDisplay?.squareImage?.file?.uri())
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:95:79
\|
95 \| emit NFTDeposited(receiver: receiverAddress, receiverName: FIND.reverseLookup(receiverAddress), sender: sender, senderName: senderName, type: type.identifier, id: id, uuid: uuid, memo: memo, name: display.name, description: display.description, thumbnail: display.thumbnail.uri(), collectionName: collectionDisplay?.name, collectionImage: collectionDisplay?.squareImage?.file?.uri())
\| ^^^^ not found in this scope
error: mismatched types
--\> 35717efbbce11c74.FindLostAndFoundWrapper:124:32
\|
124 \| flowTokenRepayment: flowTokenRepayment
\| ^^^^^^^^^^^^^^^^^^ expected \`Capability<&FlowToken.Vault>?\`, got \`Capability<&{FungibleToken.Receiver}>\`
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:129:70
\|
129 \| emit TicketDeposited(receiver: receiverAddress, receiverName: FIND.reverseLookup(receiverAddress), sender: sender, senderName: senderName, ticketID: ticketID, type: type.identifier, id: id, uuid: uuid, memo: memo, name: display.name, description: display.description, thumbnail: display.thumbnail.uri(), collectionName: collectionDisplay?.name, collectionImage: collectionDisplay?.squareImage?.file?.uri(), flowStorageFee: flowStorageFee)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:140:77
\|
140 \| emit TicketRedeemFailed(receiver: receiverAddress, receiverName: FIND.reverseLookup(receiverAddress), ticketID: ticketID, type: type.identifier, remark: "invalid capability")
\| ^^^^ not found in this scope
error: cannot access \`redeem\`: function requires \`Withdraw\` authorization, but reference is unauthorized
--\> 35717efbbce11c74.FindLostAndFoundWrapper:154:8
\|
154 \| shelf.redeem(type: type, ticketID: ticketID, receiver: cap!)
\| ^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:162:25
\|
162 \| senderName = FIND.reverseLookup(sender!)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:164:67
\|
164 \| emit NFTDeposited(receiver: receiverAddress, receiverName: FIND.reverseLookup(receiverAddress), sender: sender, senderName: senderName, type: type.identifier, id: nftID, uuid: viewResolver.uuid, memo: memo, name: display?.name, description: display?.description, thumbnail: display?.thumbnail?.uri(), collectionName: collectionDisplay?.name, collectionImage: collectionDisplay?.squareImage?.file?.uri())
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:165:69
\|
165 \| emit TicketRedeemed(receiver: receiverAddress, receiverName: FIND.reverseLookup(receiverAddress), ticketID: ticketID, type: type.identifier)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:69
\|
271 \| emit UserStorageSubsidized(receiver: receiver, receiverName: FIND.reverseLookup(receiver), sender: sender, senderName: FIND.reverseLookup(sender), forUUID: uuid, storageFee: subsidizeAmount)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLostAndFoundWrapper:271:127
\|
271 \| emit UserStorageSubsidized(receiver: receiver, receiverName: FIND.reverseLookup(receiver), sender: sender, senderName: FIND.reverseLookup(sender), forUUID: uuid, storageFee: subsidizeAmount)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindThoughts | ❌
Error:
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindThoughts:14:141
\|
14 \| access(all) event Published(id: UInt64, creator: Address, creatorName: String?, header: String, message: String, medias: \$&String\$&, nfts:\$&FindMarket.NFTInfo\$&, tags: \$&String\$&, quoteOwner: Address?, quoteId: UInt64?)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindThoughts:154:73
\|
154 \| emit Edited(id: self.id, creator: self.creator, creatorName: FIND.reverseLookup(self.creator), header: self.header, message: self.body, medias: medias, hide: hide, tags: self.tags)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindThoughts:167:68
\|
167 \| emit Edited(id: self.id, creator: address, creatorName: FIND.reverseLookup(address), header: self.header, message: self.body, medias: medias, hide: self.getHide(), tags: self.tags)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindThoughts:189:56
\|
189 \| emit Reacted(id: self.id, by: user, byName: FIND.reverseLookup(user), creator: owner, creatorName: FIND.reverseLookup(owner), header: self.header, reaction: reaction, totalCount: self.reactions)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindThoughts:189:111
\|
189 \| emit Reacted(id: self.id, by: user, byName: FIND.reverseLookup(user), creator: owner, creatorName: FIND.reverseLookup(owner), header: self.header, reaction: reaction, totalCount: self.reactions)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindThoughts:268:24
\|
268 \| let nfts : \$&FindMarket.NFTInfo\$& = \$&\$&
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindThoughts:273:28
\|
273 \| nfts.append(FindMarket.NFTInfo(rv, id: nftPointer!.id, detail: true))
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindThoughts:282:30
\|
282 \| let creatorName = FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindThoughts:307:23
\|
307 \| name = FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindThoughts:309:80
\|
309 \| emit Deleted(id: thought.id, creator: thought.creator, creatorName: FIND.reverseLookup(thought.creator), header: thought.header, message: thought.body, medias: medias, tags: thought.tags)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | Sender | ✅ |
+| 0x35717efbbce11c74 | FindMarketAuctionEscrow | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:18:36
\|
18 \| access(all) resource SaleItem : FindMarket.SaleItem {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:264:71
\|
264 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:707:31
\|
707 \| access(all) resource Bid : FindMarket.Bid {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:756:73
\|
756 \| access(all) resource MarketBidCollection: MarketBidCollectionPublic, FindMarket.MarketBidCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:16:201
\|
16 \| access(all) event EnglishAuction(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName:String?, amount: UFix64, auctionReservePrice: UFix64, status: String, vaultType:String, nft:FindMarket.NFTInfo?, buyer:Address?, buyerName:String?, buyerAvatar:String?, startsAt: UFix64?, endsAt: UFix64?, previousBuyer:Address?, previousBuyerName:String?)
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:106:52
\|
106 \| access(all) fun toNFTInfo(\_ detail: Bool) : FindMarket.NFTInfo{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:197:38
\|
197 \| access(all) fun getAuction(): FindMarket.AuctionItem? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:270:47
\|
270 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:270:46
\|
270 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:268:60
\|
268 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:268:59
\|
268 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:275:41
\|
275 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:275:40
\|
275 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:699:57
\|
699 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:699:56
\|
699 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:763:93
\|
763 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:763:92
\|
763 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:760:60
\|
760 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:760:59
\|
760 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:769:41
\|
769 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:769:40
\|
769 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:878:55
\|
878 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:878:54
\|
878 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:892:83
\|
892 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:892:82
\|
892 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:896:131
\|
896 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionEscrow:896:130
\|
896 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:900:118
\|
900 \| access(all) fun getSaleItemCapability(marketplace:Address, user:Address) : Capability<&{SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic}>? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:910:115
\|
910 \| access(all) fun getBidCapability( marketplace:Address, user:Address) : Capability<&{MarketBidCollectionPublic, FindMarket.MarketBidCollectionPublic}>? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:921:8
\|
921 \| FindMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:922:8
\|
922 \| FindMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:923:8
\|
923 \| FindMarket.addMarketBidType(Type<@Bid>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:924:8
\|
924 \| FindMarket.addMarketBidCollectionType(Type<@MarketBidCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:901:11
\|
901 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:904:22
\|
904 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:905:81
\|
905 \| return getAccount(user).capabilities.get<&{SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:911:11
\|
911 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:914:22
\|
914 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:915:82
\|
915 \| return getAccount(user).capabilities.get<&{MarketBidCollectionPublic, FindMarket.MarketBidCollectionPublic}>(tenant.getPublicPath(Type<@MarketBidCollection>()))
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:89:19
\|
89 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:101:23
\|
101 \| return FIND.reverseLookup(cb.address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:107:19
\|
107 \| return FindMarket.NFTInfo(self.pointer.getViewResolver(), id: self.pointer.id, detail:detail)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:198:19
\|
198 \| return FindMarket.AuctionItem(startPrice: self.auctionStartPrice,
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:292:148
\|
292 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name:"add bid in auction"), seller: self.owner!.address, buyer: newOffer.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:337:36
\|
337 \| previousBuyerName = FIND.reverseLookup(pb)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:342:26
\|
342 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:344:110
\|
344 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: newOfferBalance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, nft: nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(),startsAt: saleItem.auctionStartedAt, endsAt: saleItem.auctionEndsAt, previousBuyer: previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:400:148
\|
400 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "bid in auction"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:429:26
\|
429 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:431:110
\|
431 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, nft: nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(),startsAt: saleItem.auctionStartedAt, endsAt: saleItem.auctionEndsAt, previousBuyer: nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:497:24
\|
497 \| var nftInfo:FindMarket.NFTInfo?=nil
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:504:30
\|
504 \| let buyerName=FIND.reverseLookup(buyer!)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:506:114
\|
506 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, nft: nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(),startsAt: saleItem.auctionStartedAt, endsAt: saleItem.auctionEndsAt, previousBuyer: nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:508:114
\|
508 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, nft: nftInfo, buyer: nil, buyerName: nil, buyerAvatar:nil,startsAt: saleItem.auctionStartedAt, endsAt: saleItem.auctionEndsAt, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:538:152
\|
538 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "fulfill auction"), seller: self.owner!.address, buyer: saleItem.offerCallback!.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:560:30
\|
560 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:561:33
\|
561 \| let sellerName = FIND.reverseLookup(seller)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:572:25
\|
572 \| resolved\$&FindMarket.tenantNameAddress\$&tenant.name\$&!\$& = tenant.name
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:574:16
\|
574 \| FindMarket.pay(tenant:tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo:nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:574:189
\|
574 \| FindMarket.pay(tenant:tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo:nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:635:148
\|
635 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:true, name: "list item for auction"), seller: self.owner!.address, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionEscrow:662:113
\|
662 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItemRef.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItemRef.auctionReservePrice, status: status, vaultType:ftType.identifier, nft: nftInfo, buyer: nil, buyerName: nil, buyerAvatar:nil, startsAt: saleItemRef.auctionStartedAt, endsAt: saleItemRef.auctionEndsAt, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | CharityNFT | ✅ |
+| 0x35717efbbce11c74 | FindRelatedAccounts | ✅ |
+| 0x35717efbbce11c74 | FindForge | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
\|
413 \| access(all) fun addCapability(\_ cap: Capability<&FIND.Network>)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
\|
421 \| access(self) var capability: Capability<&FIND.Network>?
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
\|
427 \| access(all) fun addCapability(\_ cap: Capability<&FIND.Network>) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
\|
110 \| access(all) fun setMinterPlatform(lease: &FIND.Lease, forgeType: Type, minterCut: UFix64?, description: String, externalURL: String, squareImage: String, bannerImage: String, socials: {String : String}) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
\|
178 \| access(all) fun removeMinterPlatform(lease: &FIND.Lease, forgeType: Type) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
\|
229 \| access(all) fun orderForge(lease: &FIND.Lease, mintType: String, minterCut: UFix64?, collectionDisplay: MetadataViews.NFTCollectionDisplay){
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
\|
263 \| access(all) fun mint (lease: &FIND.Lease, forgeType: Type , data: AnyStruct, receiver: &{NonFungibleToken.Receiver, ViewResolver.ResolverCollection}) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
\|
310 \| access(all) fun addContractData(lease: &FIND.Lease, forgeType: Type , data: AnyStruct) {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
\|
155 \| let user = FIND.lookupAddress(leaseName) ?? panic("Cannot find lease owner. Lease : ".concat(leaseName))
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
\|
156 \| let leaseCollection = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(leaseName))
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
\|
156 \| let leaseCollection = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(leaseName))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
\|
156 \| let leaseCollection = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(leaseName))
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
\|
156 \| let leaseCollection = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(leaseName))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
\|
156 \| let leaseCollection = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow reference to lease collection of user : ".concat(leaseName))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
\|
234 \| FindForgeOrder.orderForge(leaseName: lease.getName(), mintType: mintType, minterCut: minterCut, collectionDisplay: collectionDisplay)
\| ^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
\|
238 \| FindForgeOrder.orderForge(leaseName: leaseName, mintType: mintType, minterCut: minterCut, collectionDisplay: collectionDisplay)
\| ^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
\|
242 \| FindForgeOrder.cancelForgeOrder(leaseName: leaseName, mintType: mintType)
\| ^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
\|
246 \| let order = FindForgeOrder.fulfillForgeOrder(contractName, forgeType: forgeType)
\| ^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
\|
272 \| let address = FIND.lookupAddress(lease) ?? panic("This name is not owned by anyone. Name : ".concat(lease))
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
\|
273 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
\|
273 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
\|
273 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
\|
273 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
\|
273 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
\|
302 \| let toName = FIND.reverseLookup(to)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
\|
303 \| let new = FIND.reverseLookup(to)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
\|
319 \| let address = FIND.lookupAddress(lease) ?? panic("This name is not owned by anyone. Name : ".concat(lease))
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
\|
320 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
\|
320 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
\|
320 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
\|
320 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
\|
320 \| let leaseCol = getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!.borrow() ?? panic("Cannot borrow lease collection to lease owner. Owner : ".concat(address.toString()))
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
\|
36 \| self.minter=FIND.lookupAddress(self.name)!
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindMarketSale | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:22:36
\|
22 \| access(all) resource SaleItem : FindMarket.SaleItem{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:163:71
\|
163 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:158:57
\|
158 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem}?
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketSale:158:56
\|
158 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem}?
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:19:164
\|
19 \| access(all) event Sale(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName: String?, amount: UFix64, status: String, vaultType:String, nft: FindMarket.NFTInfo?, buyer:Address?, buyerName:String?, buyerAvatar: String?, endsAt:UFix64?)
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:106:38
\|
106 \| access(all) fun getAuction(): FindMarket.AuctionItem? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:122:52
\|
122 \| access(all) fun toNFTInfo(\_ detail: Bool) : FindMarket.NFTInfo{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:170:47
\|
170 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketSale:170:46
\|
170 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:168:60
\|
168 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketSale:168:59
\|
168 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:175:41
\|
175 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketSale:175:40
\|
175 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:360:57
\|
360 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem}? {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketSale:360:56
\|
360 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem}? {
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:369:83
\|
369 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketSale:369:82
\|
369 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:373:133
\|
373 \| access(all) fun getSaleItemCapability(marketplace:Address, user:Address) : Capability<&{FindMarketSale.SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic}>? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:383:8
\|
383 \| FindMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:384:8
\|
384 \| FindMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:374:26
\|
374 \| if let tenantCap=FindMarket.getTenantCapability(marketplace) {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:376:96
\|
376 \| return getAccount(user).capabilities.get<&{FindMarketSale.SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:73:23
\|
73 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:99:19
\|
99 \| return FIND.reverseLookup(self.pointer.owner())
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:123:19
\|
123 \| return FindMarket.NFTInfo(self.pointer.getViewResolver(), id: self.pointer.id, detail:detail)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:213:139
\|
213 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketSale.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "buy item for sale"), seller: self.owner!.address, buyer: nftCap.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:224:26
\|
224 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:225:27
\|
225 \| let sellerName=FIND.reverseLookup(self.owner!.address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:227:113
\|
227 \| emit Sale(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:self.owner!.address, sellerName: FIND.reverseLookup(self.owner!.address), amount: saleItem.getBalance(), status:"sold", vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: Profile.find(nftCap.address).getAvatar() ,endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:234:21
\|
234 \| resolved\$&FindMarket.tenantNameAddress\$&tenant.name\$&!\$& = tenant.name
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:236:12
\|
236 \| FindMarket.pay(tenant:tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:saleItem.getRoyalty(), nftInfo:nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:236:199
\|
236 \| FindMarket.pay(tenant:tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:saleItem.getRoyalty(), nftInfo:nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:286:139
\|
286 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketSale.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:true, name: "list item for sale"), seller: self.owner!.address, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:295:115
\|
295 \| emit Sale(tenant: tenant.name, id: pointer.getUUID(), saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: saleItem.salePrice, status: "active\_listed", vaultType: vaultType.identifier, nft:saleItem.toNFTInfo(true), buyer: nil, buyerName:nil, buyerAvatar:nil, endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketSale:311:24
\|
311 \| var nftInfo:FindMarket.NFTInfo?=nil
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketSale:317:98
\|
317 \| emit Sale(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName:FIND.reverseLookup(owner), amount: saleItem.salePrice, status: status, vaultType: saleItem.vaultType.identifier,nft: nftInfo, buyer:nil, buyerName:nil, buyerAvatar:nil, endsAt:saleItem.validUntil)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindForgeOrder | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
|
+| 0x35717efbbce11c74 | FindMarketDirectOfferEscrow | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:17:36
\|
17 \| access(all) resource SaleItem : FindMarket.SaleItem {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:175:71
\|
175 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:452:31
\|
452 \| access(all) resource Bid : FindMarket.Bid {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:501:73
\|
501 \| access(all) resource MarketBidCollection: MarketBidCollectionPublic, FindMarket.MarketBidCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:13:171
\|
13 \| access(all) event DirectOffer(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName: String?, amount: UFix64, status: String, vaultType:String, nft: FindMarket.NFTInfo?, buyer:Address?, buyerName:String?, buyerAvatar: String?, endsAt: UFix64?, previousBuyer:Address?, previousBuyerName:String?)
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:80:52
\|
80 \| access(all) fun toNFTInfo(\_ detail: Bool) : FindMarket.NFTInfo{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:108:38
\|
108 \| access(all) fun getAuction(): FindMarket.AuctionItem? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:181:47
\|
181 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:181:46
\|
181 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:179:60
\|
179 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:179:59
\|
179 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:186:41
\|
186 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:186:40
\|
186 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:444:57
\|
444 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:444:56
\|
444 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:508:93
\|
508 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:508:92
\|
508 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:505:60
\|
505 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:505:59
\|
505 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:514:41
\|
514 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:514:40
\|
514 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:639:55
\|
639 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:639:54
\|
639 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:652:85
\|
652 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>): @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:652:84
\|
652 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>): @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:656:131
\|
656 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:656:130
\|
656 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:695:8
\|
695 \| FindMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:696:8
\|
696 \| FindMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:697:8
\|
697 \| FindMarket.addMarketBidType(Type<@Bid>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:698:8
\|
698 \| FindMarket.addMarketBidCollectionType(Type<@MarketBidCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:661:11
\|
661 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:664:22
\|
664 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:671:11
\|
671 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:674:22
\|
674 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:675:76
\|
675 \| if let saleItemCollection = getAccount(user).capabilities.get<&{FindMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:675:75
\|
675 \| if let saleItemCollection = getAccount(user).capabilities.get<&{FindMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))!.borrow() {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:675:40
\|
675 \| if let saleItemCollection = getAccount(user).capabilities.get<&{FindMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))!.borrow() {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:675:40
\|
675 \| if let saleItemCollection = getAccount(user).capabilities.get<&{FindMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))!.borrow() {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:685:11
\|
685 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:688:22
\|
688 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:65:19
\|
65 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:74:26
\|
74 \| if let name = FIND.reverseLookup(self.offerCallback.address) {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:81:19
\|
81 \| return FindMarket.NFTInfo(self.pointer.getViewResolver(), id: self.pointer.id, detail:detail)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:211:26
\|
211 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:214:24
\|
214 \| var nftInfo:FindMarket.NFTInfo?=nil
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:219:106
\|
219 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:236:152
\|
236 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:true, name: "add bid in direct offer"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:246:26
\|
246 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:251:106
\|
251 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:269:156
\|
269 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:true, name: "bid in direct offer"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:282:30
\|
282 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:287:113
\|
287 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItemRef.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItemRef.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:302:152
\|
302 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:true, name: "bid in direct offer"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:325:26
\|
325 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:330:36
\|
330 \| let previousBuyerName = FIND.reverseLookup(previousBuyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:332:106
\|
332 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:354:26
\|
354 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:357:24
\|
357 \| var nftInfo:FindMarket.NFTInfo?=nil
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:362:106
\|
362 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:384:152
\|
384 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferEscrow.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "fulfill directOffer"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:402:26
\|
402 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:403:27
\|
403 \| let sellerName=FIND.reverseLookup(owner)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:415:21
\|
415 \| resolved\$&FindMarket.tenantNameAddress\$&tenant.name\$&!\$& = tenant.name
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:417:12
\|
417 \| FindMarket.pay(tenant: tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo:nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferEscrow:417:186
\|
417 \| FindMarket.pay(tenant: tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo:nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindMarketCutStruct | ✅ |
+| 0x35717efbbce11c74 | Profile | ❌
Error:
error: mismatching field \`balance\` in \`Wallet\`
--\> 35717efbbce11c74.Profile:39:33
\|
39 \| access(all) let balance: Capability<&{FungibleToken.Vault}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incompatible type annotations. expected \`{FungibleToken.Balance}\`, found \`{FungibleToken.Vault}\`
error: conformances does not match in \`User\`
--\> 35717efbbce11c74.Profile:258:25
\|
258 \| access(all) resource User: Public, FungibleToken.Receiver {
\| ^^^^
error: missing DeclarationKindResourceInterface declaration \`Owner\`
--\> 35717efbbce11c74.Profile:9:21
\|
9 \| access(all) contract Profile {
\| ^^^^^^^
|
+| 0x35717efbbce11c74 | FindVerifier | ❌
Error:
error: error getting program 0afe396ebc8eee65.FLOAT: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :37:0
\|
37 \| pub contract FLOAT: NonFungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub let FLOATCollectionStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub let FLOATCollectionPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub let FLOATEventsStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub let FLOATEventsPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub let FLOATEventsPrivatePath: PrivatePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event ContractInitialized()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event FLOATMinted(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :55:4
\|
55 \| pub event FLOATClaimed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, eventName: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :56:4
\|
56 \| pub event FLOATDestroyed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :57:4
\|
57 \| pub event FLOATTransferred(id: UInt64, eventHost: Address, eventId: UInt64, newOwner: Address?, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :58:4
\|
58 \| pub event FLOATPurchased(id: UInt64, eventHost: Address, eventId: UInt64, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub event FLOATEventCreated(eventId: UInt64, description: String, host: Address, image: String, name: String, url: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub event FLOATEventDestroyed(eventId: UInt64, host: Address, name: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub event Deposit(id: UInt64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:4
\|
63 \| pub event Withdraw(id: UInt64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub var totalSupply: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub var totalFLOATEvents: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub struct TokenIdentifier {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:8
\|
83 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :84:8
\|
84 \| pub let address: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:8
\|
85 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub struct TokenInfo {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:8
\|
95 \| pub let path: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:8
\|
96 \| pub let price: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :105:4
\|
105 \| pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :107:8
\|
107 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:8
\|
112 \| pub let dateReceived: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :113:8
\|
113 \| pub let eventDescription: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:8
\|
114 \| pub let eventHost: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :115:8
\|
115 \| pub let eventId: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :116:8
\|
116 \| pub let eventImage: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :117:8
\|
117 \| pub let eventName: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :118:8
\|
118 \| pub let originalRecipient: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :119:8
\|
119 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :126:51
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^^^^^^^^^^^^^^^
--\> 0afe396ebc8eee65.FLOAT
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:62
\|
38 \| let float = getAccount(user).capabilities.borrow<&FLOAT.Collection>(FLOAT.FLOATCollectionPublicPath)
\| ^^^^^ not found in this scope
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:80
\|
38 \| let float = getAccount(user).capabilities.borrow<&FLOAT.Collection>(FLOAT.FLOATCollectionPublicPath)
\| ^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:38:24
\|
38 \| let float = getAccount(user).capabilities.borrow<&FLOAT.Collection>(FLOAT.FLOATCollectionPublicPath)
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:59
\|
81 \| let float = getAccount(user).capabilities.get<&FLOAT.Collection>(FLOAT.FLOATCollectionPublicPath)!.borrow()
\| ^^^^^ not found in this scope
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:77
\|
81 \| let float = getAccount(user).capabilities.get<&FLOAT.Collection>(FLOAT.FLOATCollectionPublicPath)!.borrow()
\| ^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
\|
81 \| let float = getAccount(user).capabilities.get<&FLOAT.Collection>(FLOAT.FLOATCollectionPublicPath)!.borrow()
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
\|
81 \| let float = getAccount(user).capabilities.get<&FLOAT.Collection>(FLOAT.FLOATCollectionPublicPath)!.borrow()
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:58
\|
153 \| let cap = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindVerifier:153:57
\|
153 \| let cap = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:87
\|
153 \| let cap = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:153:22
\|
153 \| let cap = getAccount(user).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:154:16
\|
154 \| if !cap.check() {
\| ^^^^^^^^^^^
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:157:22
\|
157 \| let ref = cap.borrow()!
\| ^^^^^^^^^^^^
|
+| 0x35717efbbce11c74 | FindRulesCache | ✅ |
+| 0x35717efbbce11c74 | Debug | ✅ |
+| 0x35717efbbce11c74 | FindForgeStruct | ✅ |
+| 0x35717efbbce11c74 | FindMarketCutInterface | ✅ |
+| 0x35717efbbce11c74 | FindMarketDirectOfferSoft | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:18:36
\|
18 \| access(all) resource SaleItem : FindMarket.SaleItem{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:189:71
\|
189 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:533:31
\|
533 \| access(all) resource Bid : FindMarket.Bid {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:586:73
\|
586 \| access(all) resource MarketBidCollection: MarketBidCollectionPublic, FindMarket.MarketBidCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:14:171
\|
14 \| access(all) event DirectOffer(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName: String?, amount: UFix64, status: String, vaultType:String, nft: FindMarket.NFTInfo?, buyer:Address?, buyerName:String?, buyerAvatar:String?, endsAt: UFix64?, previousBuyer:Address?, previousBuyerName:String?)
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:74:38
\|
74 \| access(all) fun getAuction(): FindMarket.AuctionItem? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:120:52
\|
120 \| access(all) fun toNFTInfo(\_ detail: Bool) : FindMarket.NFTInfo{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:195:47
\|
195 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:195:46
\|
195 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:193:60
\|
193 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:193:59
\|
193 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:200:41
\|
200 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:200:40
\|
200 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:519:57
\|
519 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:519:56
\|
519 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:593:93
\|
593 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:593:92
\|
593 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:590:60
\|
590 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:590:59
\|
590 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:599:41
\|
599 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:599:40
\|
599 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:730:55
\|
730 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:730:54
\|
730 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:745:83
\|
745 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:745:82
\|
745 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:749:131
\|
749 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:749:130
\|
749 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:774:8
\|
774 \| FindMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:775:8
\|
775 \| FindMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:776:8
\|
776 \| FindMarket.addMarketBidType(Type<@Bid>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:777:8
\|
777 \| FindMarket.addMarketBidCollectionType(Type<@MarketBidCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:754:11
\|
754 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:757:22
\|
757 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:764:11
\|
764 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:767:22
\|
767 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:106:19
\|
106 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:114:26
\|
114 \| if let name = FIND.reverseLookup(self.offerCallback.address) {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:121:19
\|
121 \| return FindMarket.NFTInfo(self.pointer.getViewResolver(), id: self.pointer.id, detail:detail)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:234:26
\|
234 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:237:24
\|
237 \| var nftInfo:FindMarket.NFTInfo?=nil
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:242:134
\|
242 \| emit DirectOffer(tenant:tenant.name, id: saleItem.getId(), saleID: saleItem.uuid, seller:self.owner!.address, sellerName: FIND.reverseLookup(self.owner!.address), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:260:150
\|
260 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferSoft.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:true, name: "increase bid in direct offer soft"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:270:26
\|
270 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:275:106
\|
275 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:293:183
\|
293 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferSoft.SaleItem>(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:true, name: "bid in direct offer soft"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:304:30
\|
304 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:309:113
\|
309 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItemRef.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItemRef.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:325:150
\|
325 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferSoft.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:true, name: "bid in direct offer soft"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:348:26
\|
348 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:353:36
\|
353 \| let previousBuyerName = FIND.reverseLookup(previousBuyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:356:106
\|
356 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:378:26
\|
378 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:381:24
\|
381 \| var nftInfo:FindMarket.NFTInfo?=nil
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:386:106
\|
386 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:413:150
\|
413 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferSoft.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "accept offer in direct offer soft"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:427:26
\|
427 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:432:106
\|
432 \| emit DirectOffer(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, nft:nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:457:150
\|
457 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketDirectOfferSoft.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "fulfill directOffer"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:470:26
\|
470 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:471:27
\|
471 \| let sellerName=FIND.reverseLookup(owner)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:486:21
\|
486 \| resolved\$&FindMarket.tenantNameAddress\$&tenant.name\$&!\$& = tenant.name
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:488:12
\|
488 \| FindMarket.pay(tenant: tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo: nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketDirectOfferSoft:488:187
\|
488 \| FindMarket.pay(tenant: tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo: nftInfo, cuts:cuts, resolver: fun(address:Address): String? { return FIND.reverseLookup(address) }, resolvedAddress: resolved)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FTRegistry | ✅ |
+| 0x35717efbbce11c74 | FindFurnace | ❌
Error:
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindFurnace:7:86
\|
7 \| access(all) event Burned(from: Address, fromName: String?, uuid: UInt64, nftInfo: FindMarket.NFTInfo, context: {String : String})
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindFurnace:14:22
\|
14 \| let nftInfo = FindMarket.NFTInfo(vr, id: pointer.id, detail: true)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindFurnace:16:43
\|
16 \| emit Burned(from: owner, fromName: FIND.reverseLookup(owner) , uuid: pointer.uuid, nftInfo: nftInfo, context: context)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindFurnace:22:22
\|
22 \| let nftInfo = FindMarket.NFTInfo(vr, id: pointer.id, detail: true)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindFurnace:24:43
\|
24 \| emit Burned(from: owner, fromName: FIND.reverseLookup(owner) , uuid: pointer.uuid, nftInfo: nftInfo, context: context)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FINDNFTCatalog | ✅ |
+| 0x35717efbbce11c74 | FindPack | ❌
Error:
error: error getting program 35717efbbce11c74.FindForge: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindForgeOrder: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
--\> 35717efbbce11c74.FindForgeOrder
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:413:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:421:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:427:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:110:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:178:49
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:229:39
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:263:34
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:310:44
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:155:19
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:156:65
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:156:95
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:156:30
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:234:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:238:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:242:8
error: cannot find variable in this scope: \`FindForgeOrder\`
--\> 35717efbbce11c74.FindForge:246:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:272:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:273:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:273:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:273:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:302:21
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:303:18
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:319:22
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:62
error: ambiguous intersection type
--\> 35717efbbce11c74.FindForge:320:61
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:320:91
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindForge:320:23
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindForge:36:24
--\> 35717efbbce11c74.FindForge
error: error getting program 35717efbbce11c74.FindVerifier: failed to derive value: load program failed: Checking failed:
error: error getting program 0afe396ebc8eee65.FLOAT: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :37:0
\|
37 \| pub contract FLOAT: NonFungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub let FLOATCollectionStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub let FLOATCollectionPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub let FLOATEventsStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub let FLOATEventsPublicPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub let FLOATEventsPrivatePath: PrivatePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event ContractInitialized()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event FLOATMinted(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :55:4
\|
55 \| pub event FLOATClaimed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, eventName: String, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :56:4
\|
56 \| pub event FLOATDestroyed(id: UInt64, eventHost: Address, eventId: UInt64, eventImage: String, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :57:4
\|
57 \| pub event FLOATTransferred(id: UInt64, eventHost: Address, eventId: UInt64, newOwner: Address?, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :58:4
\|
58 \| pub event FLOATPurchased(id: UInt64, eventHost: Address, eventId: UInt64, recipient: Address, serial: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub event FLOATEventCreated(eventId: UInt64, description: String, host: Address, image: String, name: String, url: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub event FLOATEventDestroyed(eventId: UInt64, host: Address, name: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub event Deposit(id: UInt64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:4
\|
63 \| pub event Withdraw(id: UInt64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub var totalSupply: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub var totalFLOATEvents: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub struct TokenIdentifier {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:8
\|
83 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :84:8
\|
84 \| pub let address: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:8
\|
85 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub struct TokenInfo {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:8
\|
95 \| pub let path: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:8
\|
96 \| pub let price: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :105:4
\|
105 \| pub resource NFT: NonFungibleToken.INFT, MetadataViews.Resolver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :107:8
\|
107 \| pub let id: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:8
\|
112 \| pub let dateReceived: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :113:8
\|
113 \| pub let eventDescription: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:8
\|
114 \| pub let eventHost: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :115:8
\|
115 \| pub let eventId: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :116:8
\|
116 \| pub let eventImage: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :117:8
\|
117 \| pub let eventName: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :118:8
\|
118 \| pub let originalRecipient: Address
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :119:8
\|
119 \| pub let serial: UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :126:51
\|
126 \| pub let eventsCap: Capability<&FLOATEvents{FLOATEventsPublic, MetadataViews.ResolverCollection}>
\| ^^^^^^^^^^^^^^^^^
--\> 0afe396ebc8eee65.FLOAT
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:62
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:38:80
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:38:24
error: cannot find type in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:59
error: cannot find variable in this scope: \`FLOAT\`
--\> 35717efbbce11c74.FindVerifier:81:77
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:81:24
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindVerifier:153:57
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindVerifier:153:87
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:153:22
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:154:16
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindVerifier:157:22
--\> 35717efbbce11c74.FindVerifier
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1156:32
\|
1156 \| access(all) resource Forge: FindForge.Forge {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:164:26
\|
164 \| verifiers : \$&{FindVerifier.Verifier}\$&,
\| ^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:164:25
\|
164 \| verifiers : \$&{FindVerifier.Verifier}\$&,
\| ^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:156:38
\|
156 \| access(all) let verifiers : \$&{FindVerifier.Verifier}\$&
\| ^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:156:37
\|
156 \| access(all) let verifiers : \$&{FindVerifier.Verifier}\$&
\| ^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:211:123
\|
211 \| init(name : String, startTime : UFix64 , endTime : UFix64? , price : UFix64, purchaseLimit : UInt64?, verifiers: \$&{FindVerifier.Verifier}\$&, verifyAll : Bool ) {
\| ^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:211:122
\|
211 \| init(name : String, startTime : UFix64 , endTime : UFix64? , price : UFix64, purchaseLimit : UInt64?, verifiers: \$&{FindVerifier.Verifier}\$&, verifyAll : Bool ) {
\| ^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindVerifier\`
--\> 35717efbbce11c74.FindPack:208:38
\|
208 \| access(all) let verifiers : \$&{FindVerifier.Verifier}\$&
\| ^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:208:37
\|
208 \| access(all) let verifiers : \$&{FindVerifier.Verifier}\$&
\| ^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:307:79
\|
307 \| init(packTypeName: String, typeId: UInt64, hash: String, verifierRef: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:305:38
\|
305 \| access(all) let verifierRef: &FindForge.Verifier
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:15
\|
1157 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:56
\|
1157 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1157:110
\|
1157 \| access(FindForge.ForgeOwner) fun mint(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) : @{NonFungibleToken.NFT} {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:15
\|
1168 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:67
\|
1168 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1168:121
\|
1168 \| access(FindForge.ForgeOwner) fun addContractData(platform: FindForge.MinterPlatform, data: AnyStruct, verifier: &FindForge.Verifier) {
\| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1185:42
\|
1185 \| access(account) fun createForge() : @{FindForge.Forge} {
\| ^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindPack:1185:41
\|
1185 \| access(account) fun createForge() : @{FindForge.Forge} {
\| ^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1220:8
\|
1220 \| FindForge.addForgeType(<- create Forge())
\| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindForge\`
--\> 35717efbbce11c74.FindPack:1223:8
\|
1223 \| FindForge.addPublicForgeType(forgeType: Type<@Forge>())
\| ^^^^^^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindMarketAuctionSoft | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:18:36
\|
18 \| access(all) resource SaleItem : FindMarket.SaleItem {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:260:71
\|
260 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:657:31
\|
657 \| access(all) resource Bid : FindMarket.Bid {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:708:73
\|
708 \| access(all) resource MarketBidCollection: MarketBidCollectionPublic, FindMarket.MarketBidCollectionPublic {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:16:201
\|
16 \| access(all) event EnglishAuction(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName:String?, amount: UFix64, auctionReservePrice: UFix64, status: String, vaultType:String, nft:FindMarket.NFTInfo?, buyer:Address?, buyerName:String?, buyerAvatar:String?, endsAt: UFix64?, previousBuyer:Address?, previousBuyerName:String?)
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:102:52
\|
102 \| access(all) fun toNFTInfo(\_ detail: Bool) : FindMarket.NFTInfo{
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:193:38
\|
193 \| access(all) fun getAuction(): FindMarket.AuctionItem? {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:266:47
\|
266 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:266:46
\|
266 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:264:60
\|
264 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:264:59
\|
264 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:271:41
\|
271 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:271:40
\|
271 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:649:57
\|
649 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:649:56
\|
649 \| access(all) fun borrowSaleItem(\_ id: UInt64) : &{FindMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:715:93
\|
715 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:715:92
\|
715 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:712:60
\|
712 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:712:59
\|
712 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:721:41
\|
721 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:721:40
\|
721 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:818:55
\|
818 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:818:54
\|
818 \| access(all) fun borrowBidItem(\_ id: UInt64): &{FindMarket.Bid} {
\| ^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:835:83
\|
835 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:835:82
\|
835 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:839:131
\|
839 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindMarketAuctionSoft:839:130
\|
839 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:864:8
\|
864 \| FindMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:865:8
\|
865 \| FindMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:866:8
\|
866 \| FindMarket.addMarketBidType(Type<@Bid>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:867:8
\|
867 \| FindMarket.addMarketBidCollectionType(Type<@MarketBidCollection>())
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:844:11
\|
844 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:847:22
\|
847 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:854:11
\|
854 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:857:22
\|
857 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:85:19
\|
85 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:97:23
\|
97 \| return FIND.reverseLookup(cb.address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:103:19
\|
103 \| return FindMarket.NFTInfo(self.pointer.getViewResolver(), id: self.pointer.id, detail:detail)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:194:19
\|
194 \| return FindMarket.AuctionItem(startPrice: self.auctionStartPrice,
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:290:147
\|
290 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionSoft.SaleItem>(), nftType: nftType , ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "add bit in soft-auction"), seller: self.owner!.address ,buyer: buyer)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:333:36
\|
333 \| previousBuyerName = FIND.reverseLookup(pb)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:336:26
\|
336 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:338:110
\|
338 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: newOfferBalance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, nft: nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.auctionEndsAt, previousBuyer:previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:388:146
\|
388 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionSoft.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name: "bid item in soft-auction"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:416:26
\|
416 \| let buyerName=FIND.reverseLookup(callback.address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:418:123
\|
418 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:self.owner!.address, sellerName: FIND.reverseLookup(self.owner!.address), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, nft: nftInfo, buyer: callback.address, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.auctionEndsAt, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:452:24
\|
452 \| var nftInfo:FindMarket.NFTInfo?=nil
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:458:30
\|
458 \| let buyerName=FIND.reverseLookup(buyer!)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:460:114
\|
460 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:ftType.identifier, nft: nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.auctionEndsAt, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:462:114
\|
462 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:ftType.identifier, nft: nftInfo, buyer: nil, buyerName: nil, buyerAvatar: nil, endsAt: saleItem.auctionEndsAt, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:518:146
\|
518 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionSoft.SaleItem>(), nftType: nftType, ftType: ftType, action: FindMarket.MarketAction(listing:false, name:"buy item for soft-auction"), seller: self.owner!.address,buyer: saleItem.offerCallback!.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:537:26
\|
537 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:538:27
\|
538 \| let sellerName=FIND.reverseLookup(seller)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:540:110
\|
540 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, nft: nftInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile.getAvatar(), endsAt: saleItem.auctionEndsAt, previousBuyer:previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:549:21
\|
549 \| resolved\$&FindMarket.tenantNameAddress\$&tenant.name\$&!\$& = tenant.name
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:552:12
\|
552 \| FindMarket.pay(tenant:tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo:nftInfo, cuts:cuts, resolver: FIND.reverseLookupFN(), resolvedAddress: resolved)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:552:146
\|
552 \| FindMarket.pay(tenant:tenant.name, id:id, saleItem: saleItem, vault: <- vault, royalty:royalty, nftInfo:nftInfo, cuts:cuts, resolver: FIND.reverseLookupFN(), resolvedAddress: resolved)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:592:163
\|
592 \| let actionResult=tenant.allowedAction(listingType: Type<@FindMarketAuctionSoft.SaleItem>(), nftType: pointer.getItemType(), ftType: vaultType, action: FindMarket.MarketAction(listing:true, name:"list item for soft-auction"), seller: self.owner!.address, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindMarketAuctionSoft:612:126
\|
612 \| emit EnglishAuction(tenant:tenant.name, id: id, saleID: saleItemRef.uuid, seller:self.owner!.address, sellerName: FIND.reverseLookup(self.owner!.address), amount: auctionStartPrice, auctionReservePrice: saleItemRef.auctionReservePrice, status: "active\_listed", vaultType:vaultType.identifier, nft: nftInfo, buyer: nil, buyerName: nil, buyerAvatar: nil, endsAt: saleItemRef.auctionEndsAt, previousBuyer:nil, previousBuyerName:nil)
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | FindUtils | ✅ |
+| 0x35717efbbce11c74 | FindLeaseMarketAuctionSoft | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: error getting program 35717efbbce11c74.FindLeaseMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:325:37
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:327:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:327:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:331:43
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:331:42
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:348:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:348:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:352:37
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:33
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:47
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:60
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:397:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:397:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:401:37
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:29:53
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:29:52
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:42:67
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:42:66
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:56:65
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:56:64
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:137:59
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:137:58
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:211:68
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:211:67
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:222:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:222:65
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:254:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:254:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:666:41
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:30:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:58:15
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:70:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:87:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:100:31
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:110:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:114:31
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:124:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:128:31
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:168:137
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:183:140
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:224:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:245:31
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:443:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:449:35
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:55
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:76
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:667:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:673:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:674:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:679:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:680:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:685:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:686:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:691:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:692:8
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:337:26
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:60
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:338:59
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:89
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:338:21
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:52
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:74
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:426:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:477:32
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:479:39
--\> 35717efbbce11c74.FindLeaseMarket
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:18:36
\|
18 \| access(all) resource SaleItem : FindLeaseMarket.SaleItem {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:228:71
\|
228 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:529:31
\|
529 \| access(all) resource Bid : FindLeaseMarket.Bid {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:579:73
\|
579 \| access(all) resource MarketBidCollection: MarketBidCollectionPublic, FindLeaseMarket.MarketBidCollectionPublic {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:16:207
\|
16 \| access(all) event EnglishAuction(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName:String?, amount: UFix64, auctionReservePrice: UFix64, status: String, vaultType:String, leaseInfo:FindLeaseMarket.LeaseInfo?, buyer:Address?, buyerName:String?, buyerAvatar:String?, endsAt: UFix64?, previousBuyer:Address?, previousBuyerName:String?)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:32:22
\|
32 \| init(pointer: FindLeaseMarket.AuthLeasePointer, vaultType: Type, auctionStartPrice:UFix64, auctionReservePrice:UFix64, auctionValidUntil: UFix64?, saleItemExtraField: {String : AnyStruct}) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:19:38
\|
19 \| access(contract) var pointer: FindLeaseMarket.AuthLeasePointer
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:91:40
\|
91 \| access(all) fun toLeaseInfo() : FindLeaseMarket.LeaseInfo {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:181:38
\|
181 \| access(all) fun getAuction(): FindLeaseMarket.AuctionItem? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:234:47
\|
234 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:234:46
\|
234 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:232:60
\|
232 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:232:59
\|
232 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:239:41
\|
239 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:239:40
\|
239 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:463:51
\|
463 \| access(Seller) fun listForAuction(pointer: FindLeaseMarket.AuthLeasePointer, vaultType: Type, auctionStartPrice: UFix64, auctionReservePrice: UFix64, auctionDuration: UFix64, auctionExtensionOnLateBid: UFix64, minimumBidIncrement: UFix64, auctionValidUntil: UFix64?, saleItemExtraField: {String : AnyStruct}) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:520:59
\|
520 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:520:58
\|
520 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:585:93
\|
585 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:585:92
\|
585 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:582:60
\|
582 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:582:59
\|
582 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:591:41
\|
591 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:591:40
\|
591 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:681:57
\|
681 \| access(all) fun borrowBidItem(\_ name: String): &{FindLeaseMarket.Bid} {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:681:56
\|
681 \| access(all) fun borrowBidItem(\_ name: String): &{FindLeaseMarket.Bid} {
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:698:83
\|
698 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:698:82
\|
698 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:702:131
\|
702 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:702:130
\|
702 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:706:118
\|
706 \| access(all) fun getSaleItemCapability(marketplace:Address, user:Address) : Capability<&{SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic}>? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:716:115
\|
716 \| access(all) fun getBidCapability( marketplace:Address, user:Address) : Capability<&{MarketBidCollectionPublic, FindLeaseMarket.MarketBidCollectionPublic}>? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:727:8
\|
727 \| FindLeaseMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:728:8
\|
728 \| FindLeaseMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:729:8
\|
729 \| FindLeaseMarket.addMarketBidType(Type<@Bid>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:730:8
\|
730 \| FindLeaseMarket.addMarketBidCollectionType(Type<@MarketBidCollection>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:707:11
\|
707 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:710:22
\|
710 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:711:81
\|
711 \| return getAccount(user).capabilities.get<&{SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:717:11
\|
717 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:720:22
\|
720 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:721:82
\|
721 \| return getAccount(user).capabilities.get<&{MarketBidCollectionPublic, FindLeaseMarket.MarketBidCollectionPublic}>(tenant.getPublicPath(Type<@MarketBidCollection>()))!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:70:19
\|
70 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:86:23
\|
86 \| return FIND.reverseLookup(cb.address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:92:19
\|
92 \| return FindLeaseMarket.LeaseInfo(self.pointer)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:178:25
\|
178 \| return Type<@FIND.Lease>()
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:178:19
\|
178 \| return Type<@FIND.Lease>()
\| ^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:182:19
\|
182 \| return FindLeaseMarket.AuctionItem(startPrice: self.auctionStartPrice,
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:254:26
\|
254 \| var leaseInfo:FindLeaseMarket.LeaseInfo?=nil
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:261:36
\|
261 \| previousBuyerName = FIND.reverseLookup(pb)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:265:30
\|
265 \| let buyerName=FIND.reverseLookup(buyer!)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:266:30
\|
266 \| let profile = FIND.lookup(buyer!.toString())
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:267:138
\|
267 \| emit EnglishAuction(tenant:self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, leaseInfo: leaseInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile?.getAvatar(), endsAt: saleItem.auctionEndsAt, previousBuyer:previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:269:138
\|
269 \| emit EnglishAuction(tenant:self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:seller, sellerName: FIND.reverseLookup(seller), amount: balance, auctionReservePrice: saleItem.auctionReservePrice, status: status, vaultType:saleItem.vaultType.identifier, leaseInfo: leaseInfo, buyer: nil, buyerName: nil, buyerAvatar: nil, endsAt: saleItem.auctionEndsAt, previousBuyer:previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:280:167
\|
280 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"add bit in soft-auction"), seller: self.owner!.address ,buyer: newOffer.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:361:167
\|
361 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"bid item in soft-auction"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:405:167
\|
405 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"delist item from soft-auction"), seller: nil, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:443:167
\|
443 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"buy item for soft-auction"), seller: self.owner!.address,buyer: saleItem.offerCallback!.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:457:12
\|
457 \| FindLeaseMarket.pay(tenant:self.getTenant().name, leaseName:name, saleItem: saleItem, vault: <- vault, leaseInfo:leaseInfo, cuts:cuts)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:482:167
\|
482 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:true, name:"list item for soft-auction"), seller: self.owner!.address, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:621:38
\|
621 \| if self.owner!.address == FIND.status(name).owner! {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketAuctionSoft:629:32
\|
629 \| let from=getAccount(FIND.status(name).owner!).capabilities.get<&{SaleItemCollectionPublic}>(self.getTenant().getPublicPath(Type<@SaleItemCollection>()))!
\| ^^^^ not found in this scope
|
+| 0x35717efbbce11c74 | Clock | ✅ |
+| 0x35717efbbce11c74 | FindMarketInfrastructureCut | ✅ |
+| 0x324c34e1c517e4db | NFTCatalogAdmin | ✅ |
+| 0x324c34e1c517e4db | NFTCatalog | ❌
Error:
error: conformances does not match in \`NFTCatalogProposalManager\`
--\> 324c34e1c517e4db.NFTCatalog:76:25
\|
76 \| access(all) resource NFTCatalogProposalManager {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: missing DeclarationKindResourceInterface declaration \`NFTCatalogProposalManagerPublic\`
--\> 324c34e1c517e4db.NFTCatalog:13:21
\|
13 \| access(all) contract NFTCatalog {
\| ^^^^^^^^^^
|
+| 0x35717efbbce11c74 | FindLeaseMarket | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:325:37
\|
325 \| access(all) fun getLease() : FIND.LeaseInformation
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:327:42
\|
327 \| access(contract) fun borrow() : &{FIND.LeaseCollectionPublic}
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:327:41
\|
327 \| access(contract) fun borrow() : &{FIND.LeaseCollectionPublic}
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:331:43
\|
331 \| access(self) let cap: Capability<&{FIND.LeaseCollectionPublic}>
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:331:42
\|
331 \| access(self) let cap: Capability<&{FIND.LeaseCollectionPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:348:42
\|
348 \| access(contract) fun borrow() : &{FIND.LeaseCollectionPublic} {
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:348:41
\|
348 \| access(contract) fun borrow() : &{FIND.LeaseCollectionPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:352:37
\|
352 \| access(all) fun getLease() : FIND.LeaseInformation {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:33
\|
382 \| init(cap:Capability, name: String) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:47
\|
382 \| init(cap:Capability, name: String) {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:46
\|
377 \| access(self) let cap: Capability
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:60
\|
377 \| access(self) let cap: Capability
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:397:42
\|
397 \| access(contract) fun borrow() : &{FIND.LeaseCollectionPublic} {
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:397:41
\|
397 \| access(contract) fun borrow() : &{FIND.LeaseCollectionPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:401:37
\|
401 \| access(all) fun getLease() : FIND.LeaseInformation {
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:29:53
\|
29 \| access(all) fun getTenant(\_ tenant: Address) : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:29:52
\|
29 \| access(all) fun getTenant(\_ tenant: Address) : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:42:67
\|
42 \| access(all) fun getSaleItemCollectionCapabilities(tenantRef: &{FindMarket.TenantPublic}, address: Address) : \$&Capability<&{FindLeaseMarket.SaleItemCollectionPublic}>\$& {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:42:66
\|
42 \| access(all) fun getSaleItemCollectionCapabilities(tenantRef: &{FindMarket.TenantPublic}, address: Address) : \$&Capability<&{FindLeaseMarket.SaleItemCollectionPublic}>\$& {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:56:65
\|
56 \| access(all) fun getSaleItemCollectionCapability(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address) : Capability<&{FindLeaseMarket.SaleItemCollectionPublic}>? {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:56:64
\|
56 \| access(all) fun getSaleItemCollectionCapability(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address) : Capability<&{FindLeaseMarket.SaleItemCollectionPublic}>? {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:137:59
\|
137 \| access(contract) fun checkSaleInformation(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address, name: String?, getGhost: Bool, getLeaseInfo: Bool) : FindLeaseMarket.SaleItemCollectionReport {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:137:58
\|
137 \| access(contract) fun checkSaleInformation(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address, name: String?, getGhost: Bool, getLeaseInfo: Bool) : FindLeaseMarket.SaleItemCollectionReport {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:211:68
\|
211 \| access(all) fun getMarketBidCollectionCapabilities(tenantRef: &{FindMarket.TenantPublic}, address: Address) : \$&Capability<&{FindLeaseMarket.MarketBidCollectionPublic}>\$& {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:211:67
\|
211 \| access(all) fun getMarketBidCollectionCapabilities(tenantRef: &{FindMarket.TenantPublic}, address: Address) : \$&Capability<&{FindLeaseMarket.MarketBidCollectionPublic}>\$& {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:222:66
\|
222 \| access(all) fun getMarketBidCollectionCapability(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address) : Capability<&{FindLeaseMarket.MarketBidCollectionPublic}>? {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:222:65
\|
222 \| access(all) fun getMarketBidCollectionCapability(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address) : Capability<&{FindLeaseMarket.MarketBidCollectionPublic}>? {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:254:58
\|
254 \| access(contract) fun checkBidInformation(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address, name: String?, getGhost:Bool, getLeaseInfo: Bool) : FindLeaseMarket.BidItemCollectionReport {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:254:57
\|
254 \| access(contract) fun checkBidInformation(tenantRef: &{FindMarket.TenantPublic}, marketOption: String, address: Address, name: String?, getGhost:Bool, getLeaseInfo: Bool) : FindLeaseMarket.BidItemCollectionReport {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:666:41
\|
666 \| access(contract) fun getNetwork() : &FIND.Network {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:30:15
\|
30 \| return FindMarket.getTenantCapability(tenant)!.borrow()!
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:58:15
\|
58 \| if FindMarket.getMarketOptionFromType(type) == marketOption{
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:70:20
\|
70 \| let address=FIND.lookupAddress(name) ?? panic("Name is not owned by anyone. Name : ".concat(name))
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:87:22
\|
87 \| let address = FIND.lookupAddress(name) ?? panic("Name is not owned by anyone. Name : ".concat(name))
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:100:31
\|
100 \| let marketOption = FindMarket.getMarketOptionFromType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:110:22
\|
110 \| let address = FIND.lookupAddress(name) ?? panic("Name is not owned by anyone. Name : ".concat(name))
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:114:31
\|
114 \| let marketOption = FindMarket.getMarketOptionFromType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:124:22
\|
124 \| let address = FIND.lookupAddress(name) ?? panic("Name is not owned by anyone. Name : ".concat(name))
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:128:31
\|
128 \| let marketOption = FindMarket.getMarketOptionFromType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:168:137
\|
168 \| let stopped=tenantRef.allowedAction(listingType: listingType, nftType: item.getItemType(), ftType: item.getFtType(), action: FindMarket.MarketAction(listing:false, name:"delist item for sale"), seller: address, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:183:140
\|
183 \| let deprecated=tenantRef.allowedAction(listingType: listingType, nftType: item.getItemType(), ftType: item.getFtType(), action: FindMarket.MarketAction(listing:true, name:"delist item for sale"), seller: address, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:224:15
\|
224 \| if FindMarket.getMarketOptionFromType(type) == marketOption{
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:245:31
\|
245 \| let marketOption = FindMarket.getMarketOptionFromType(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:443:25
\|
443 \| let oldProfile = FindMarket.getPaymentWallet(oldProfileCap, ftInfo, panicOnFailCheck: true)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:449:35
\|
449 \| let findName = FIND.reverseLookup(cut.getAddress())
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:55
\|
667 \| return FindLeaseMarket.account.storage.borrow<&FIND.Network>(from : FIND.NetworkStoragePath) ?? panic("Network is not up")
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:76
\|
667 \| return FindLeaseMarket.account.storage.borrow<&FIND.Network>(from : FIND.NetworkStoragePath) ?? panic("Network is not up")
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:667:15
\|
667 \| return FindLeaseMarket.account.storage.borrow<&FIND.Network>(from : FIND.NetworkStoragePath) ?? panic("Network is not up")
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:673:8
\|
673 \| FindMarket.addPathMap(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:674:8
\|
674 \| FindMarket.addListingName(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:679:8
\|
679 \| FindMarket.addPathMap(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:680:8
\|
680 \| FindMarket.addListingName(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:685:8
\|
685 \| FindMarket.addPathMap(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:686:8
\|
686 \| FindMarket.addListingName(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:691:8
\|
691 \| FindMarket.addPathMap(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:692:8
\|
692 \| FindMarket.addListingName(type)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:337:26
\|
337 \| let address = FIND.lookupAddress(name) ?? panic("This lease name is not owned")
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:60
\|
338 \| self.cap=getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:338:59
\|
338 \| self.cap=getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:89
\|
338 \| self.cap=getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:338:21
\|
338 \| self.cap=getAccount(address).capabilities.get<&{FIND.LeaseCollectionPublic}>(FIND.LeasePublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:52
\|
426 \| let leases = receiver.capabilities.get<&FIND.LeaseCollection>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:74
\|
426 \| let leases = receiver.capabilities.get<&FIND.LeaseCollection>(FIND.LeasePublicPath)!
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:426:25
\|
426 \| let leases = receiver.capabilities.get<&FIND.LeaseCollection>(FIND.LeasePublicPath)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:477:32
\|
477 \| if status.status == FIND.LeaseStatus.FREE {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:479:39
\|
479 \| } else if status.status == FIND.LeaseStatus.LOCKED {
\| ^^^^ not found in this scope
|
+| 0x324c34e1c517e4db | NFTRetrieval | ✅ |
+| 0x35717efbbce11c74 | FindLeaseMarketDirectOfferSoft | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: error getting program 35717efbbce11c74.FindLeaseMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: error getting program 35717efbbce11c74.FindMarket: failed to derive value: load program failed: Checking failed:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: value of type \`&{FungibleTokenSwitchboard.SwitchboardPublic}\` has no member \`getVaultTypes\`
--\> 35717efbbce11c74.FindMarket:1411:29
error: cannot find type in this scope: \`TokenForwarding\`
--\> 35717efbbce11c74.FindMarket:1417:23
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindMarket:1417:17
--\> 35717efbbce11c74.FindMarket
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:325:37
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:327:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:327:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:331:43
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:331:42
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:348:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:348:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:352:37
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:33
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:382:47
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:46
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:377:60
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:397:42
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:397:41
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:401:37
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:29:53
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:29:52
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:42:67
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:42:66
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:56:65
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:56:64
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:137:59
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:137:58
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:211:68
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:211:67
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:222:66
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:222:65
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:254:58
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:254:57
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:666:41
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:30:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:58:15
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:70:20
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:87:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:100:31
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:110:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:114:31
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:124:22
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:128:31
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:168:137
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:183:140
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:224:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:245:31
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:443:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:449:35
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:55
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:667:76
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:667:15
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:673:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:674:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:679:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:680:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:685:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:686:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:691:8
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarket:692:8
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:337:26
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:60
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarket:338:59
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:338:89
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:338:21
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:52
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:426:74
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarket:426:25
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:477:32
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarket:479:39
--\> 35717efbbce11c74.FindLeaseMarket
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:18:36
\|
18 \| access(all) resource SaleItem : FindLeaseMarket.SaleItem {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:169:71
\|
169 \| access(all) resource SaleItemCollection: SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:418:31
\|
418 \| access(all) resource Bid : FindLeaseMarket.Bid {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:470:73
\|
470 \| access(all) resource MarketBidCollection: MarketBidCollectionPublic, FindLeaseMarket.MarketBidCollectionPublic {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:16:177
\|
16 \| access(all) event DirectOffer(tenant: String, id: UInt64, saleID: UInt64, seller: Address, sellerName: String?, amount: UFix64, status: String, vaultType:String, leaseInfo: FindLeaseMarket.LeaseInfo?, buyer:Address?, buyerName:String?, buyerAvatar:String?, endsAt: UFix64?, previousBuyer:Address?, previousBuyerName:String?)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:27:22
\|
27 \| init(pointer: FindLeaseMarket.ReadLeasePointer, callback: Capability<&{MarketBidCollectionPublic}>, validUntil: UFix64?, saleItemExtraField: {String : AnyStruct}) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:20:39
\|
20 \| access(contract) var pointer: {FindLeaseMarket.LeasePointer}
\| ^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:20:38
\|
20 \| access(contract) var pointer: {FindLeaseMarket.LeasePointer}
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:69:38
\|
69 \| access(all) fun getAuction(): FindLeaseMarket.AuctionItem? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:119:40
\|
119 \| access(all) fun toLeaseInfo() : FindLeaseMarket.LeaseInfo{
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:131:51
\|
131 \| access(contract) fun setPointer(\_ pointer: FindLeaseMarket.AuthLeasePointer) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:175:47
\|
175 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:175:46
\|
175 \| init (\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:173:60
\|
173 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:173:59
\|
173 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:180:41
\|
180 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:180:40
\|
180 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:328:50
\|
328 \| access(Seller) fun acceptOffer(\_ pointer: FindLeaseMarket.AuthLeasePointer) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:404:59
\|
404 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:404:58
\|
404 \| access(all) fun borrowSaleItem(\_ name: String) : &{FindLeaseMarket.SaleItem} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:477:93
\|
477 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:477:92
\|
477 \| init(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:474:60
\|
474 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:474:59
\|
474 \| access(contract) let tenantCapability: Capability<&{FindMarket.TenantPublic}>
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:483:41
\|
483 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:483:40
\|
483 \| access(self) fun getTenant() : &{FindMarket.TenantPublic} {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:592:57
\|
592 \| access(all) fun borrowBidItem(\_ name: String): &{FindLeaseMarket.Bid} {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:592:56
\|
592 \| access(all) fun borrowBidItem(\_ name: String): &{FindLeaseMarket.Bid} {
\| ^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:606:83
\|
606 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:606:82
\|
606 \| access(all) fun createEmptySaleItemCollection(\_ tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @SaleItemCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:610:131
\|
610 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:610:130
\|
610 \| access(all) fun createEmptyMarketBidCollection(receiver: Capability<&{FungibleToken.Receiver}>, tenantCapability: Capability<&{FindMarket.TenantPublic}>) : @MarketBidCollection {
\| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:614:118
\|
614 \| access(all) fun getSaleItemCapability(marketplace:Address, user:Address) : Capability<&{SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic}>? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:625:115
\|
625 \| access(all) fun getBidCapability( marketplace:Address, user:Address) : Capability<&{MarketBidCollectionPublic, FindLeaseMarket.MarketBidCollectionPublic}>? {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:636:8
\|
636 \| FindLeaseMarket.addSaleItemType(Type<@SaleItem>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:637:8
\|
637 \| FindLeaseMarket.addSaleItemCollectionType(Type<@SaleItemCollection>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:638:8
\|
638 \| FindLeaseMarket.addMarketBidType(Type<@Bid>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:639:8
\|
639 \| FindLeaseMarket.addMarketBidCollectionType(Type<@MarketBidCollection>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:615:12
\|
615 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:618:22
\|
618 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:620:81
\|
620 \| return getAccount(user).capabilities.get<&{SaleItemCollectionPublic, FindLeaseMarket.SaleItemCollectionPublic}>(tenant.getPublicPath(Type<@SaleItemCollection>()))!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:626:12
\|
626 \| if FindMarket.getTenantCapability(marketplace) == nil {
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:629:22
\|
629 \| if let tenant=FindMarket.getTenantCapability(marketplace)!.borrow() {
\| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:630:82
\|
630 \| return getAccount(user).capabilities.get<&{MarketBidCollectionPublic, FindLeaseMarket.MarketBidCollectionPublic}>(tenant.getPublicPath(Type<@MarketBidCollection>()))!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:50:43
\|
50 \| let pointer = self.pointer as! FindLeaseMarket.AuthLeasePointer
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:66:25
\|
66 \| return Type<@FIND.Lease>()
\| ^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:66:19
\|
66 \| return Type<@FIND.Lease>()
\| ^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:105:19
\|
105 \| return FIND.reverseLookup(address)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:113:26
\|
113 \| if let name = FIND.reverseLookup(self.offerCallback.address) {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:120:19
\|
120 \| return FindLeaseMarket.LeaseInfo(self.pointer)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:207:167
\|
207 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"cancel bid in direct offer soft"), seller: nil, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:223:26
\|
223 \| let buyerName=FIND.reverseLookup(buyer)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:224:26
\|
224 \| let profile = FIND.lookup(buyer.toString())
\| ^^^^ not found in this scope
error: cannot find type in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:226:26
\|
226 \| var leaseInfo:FindLeaseMarket.LeaseInfo?=nil
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:233:36
\|
233 \| previousBuyerName = FIND.reverseLookup(pb)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:236:130
\|
236 \| emit DirectOffer(tenant:self.getTenant().name, id: saleItem.getId(), saleID: saleItem.uuid, seller:owner, sellerName: FIND.reverseLookup(owner), amount: balance, status:status, vaultType: ftType.identifier, leaseInfo:leaseInfo, buyer: buyer, buyerName: buyerName, buyerAvatar: profile?.getAvatar(), endsAt: saleItem.validUntil, previousBuyer:previousBuyer, previousBuyerName:previousBuyerName)
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:247:167
\|
247 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:true, name:"increase bid in direct offer soft"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:262:27
\|
262 \| let item = FindLeaseMarket.ReadLeasePointer(name: name)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:264:171
\|
264 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:true, name:"bid in direct offer soft"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:281:167
\|
281 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:true, name:"bid in direct offer soft"), seller: self.owner!.address, buyer: callback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:314:167
\|
314 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"reject offer in direct offer soft"), seller: nil, buyer: nil)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:339:167
\|
339 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"accept offer in direct offer soft"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:366:167
\|
366 \| let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:false, name:"fulfill directOffer"), seller: self.owner!.address, buyer: saleItem.offerCallback.address)
\| ^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FindLeaseMarket\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:377:12
\|
377 \| FindLeaseMarket.pay(tenant: self.getTenant().name, leaseName:name, saleItem: saleItem, vault: <- vault, leaseInfo: leaseInfo, cuts:cuts)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:514:38
\|
514 \| if self.owner!.address == FIND.status(name).owner! {
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 35717efbbce11c74.FindLeaseMarketDirectOfferSoft:532:32
\|
532 \| let from=getAccount(FIND.status(name).owner!).capabilities.get<&{SaleItemCollectionPublic}>(self.getTenant().getPublicPath(Type<@SaleItemCollection>()))!
\| ^^^^ not found in this scope
|
+| 0x31ad40c07a2a9788 | ScopedNFTProviders | ✅ |
+| 0x31ad40c07a2a9788 | ArrayUtils | ✅ |
+| 0x31ad40c07a2a9788 | AddressUtils | ✅ |
+| 0x31ad40c07a2a9788 | ScopedFTProviders | ✅ |
+| 0x31ad40c07a2a9788 | StringUtils | ✅ |
+| 0x1f38da7a93c61f28 | ExampleNFT | ✅ |
+| 0x1c5033ad60821c97 | Clock | ✅ |
+| 0x1c5033ad60821c97 | DoodlePacks | ❌
Error:
error: error getting program 1c5033ad60821c97.DoodlePackTypes: failed to derive value: load program failed: Checking failed:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
--\> 1c5033ad60821c97.DoodlePackTypes
error: error getting program 1c5033ad60821c97.OpenDoodlePacks: failed to derive value: load program failed: Checking failed:
error: error getting program 1c5033ad60821c97.DoodlePackTypes: failed to derive value: load program failed: Checking failed:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
--\> 1c5033ad60821c97.DoodlePackTypes
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:51:39
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:23
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:71
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:221:34
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:222:46
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:321:18
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:372:18
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:419:20
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:423:18
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:279:19
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:328:59
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:344:24
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:351:71
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:399:20
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:407:68
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:426:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:437:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:39:16
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:52:10
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:44
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:251:20
--\> 1c5033ad60821c97.OpenDoodlePacks
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:43:33
\|
43 \| access(all) fun getPackType(): DoodlePackTypes.PackType {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`OpenDoodlePacks\`
--\> 1c5033ad60821c97.DoodlePacks:233:169
\|
233 \| access(all) fun open(collection: auth(NonFungibleToken.Withdraw \| NonFungibleToken.Owner) &{DoodlePacks.CollectionPublic, NonFungibleToken.Provider}, packId: UInt64): @OpenDoodlePacks.NFT {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:217:17
\|
217 \| let packType = DoodlePackTypes.getPackType(id: typeId) ?? panic("Invalid pack type")
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:218:38
\|
218 \| assert(packType.maxSupply == nil \|\| DoodlePackTypes.getPackTypesMintedCount(typeId: packType.id) < packType.maxSupply!, message: "Max supply reached")
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:222:2
\|
222 \| DoodlePackTypes.addMintedCountToPackType(typeId: typeId, amount: 1)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`OpenDoodlePacks\`
--\> 1c5033ad60821c97.DoodlePacks:236:18
\|
236 \| let openPack <- OpenDoodlePacks.mintNFT(id: pack.id, serialNumber: pack.serialNumber, typeId: pack.typeId)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:31:7
\|
31 \| if (DoodlePackTypes.getPackType(id: typeId) == nil) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:44:10
\|
44 \| return DoodlePackTypes.getPackType(id: self.typeId)!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:64:17
\|
64 \| let packType: DoodlePackTypes.PackType = DoodlePackTypes.getPackType(id: self.typeId)!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:64:44
\|
64 \| let packType: DoodlePackTypes.PackType = DoodlePackTypes.getPackType(id: self.typeId)!
\| ^^^^^^^^^^^^^^^ not found in this scope
|
+| 0x1c5033ad60821c97 | Teleport | ❌
Error:
error: error getting program 51ea0e37c27a1f1a.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, 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
--\> :51:8
\|
51 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :63:8
\|
63 \| pub fun check(): Bool {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun safeBorrow(): &{FungibleToken.Receiver}? {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :79:8
\|
79 \| pub fun changeRecipient(\_ newRecipient: Capability) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:8
\|
90 \| pub fun getSupportedVaultTypes(): {Type: Bool} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub fun createNewForwarder(recipient: Capability): @Forwarder {
\| ^^^
--\> 51ea0e37c27a1f1a.TokenForwarding
error: error getting program 43ee8c22fcf94ea3.DapperStorageRent: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :7:0
\|
7 \| pub contract DapperStorageRent {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:2
\|
9 \| pub let DapperStorageRentAdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:2
\|
23 \| pub event BlockedAddress(\_ address: \$&Address\$&)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:2
\|
25 \| pub event Refuelled(\_ address: Address)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:2
\|
27 \| pub event RefilledFailed(address: Address, reason: String)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :33:2
\|
33 \| pub fun getStorageRentRefillThreshold(): UInt64 {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:2
\|
41 \| pub fun getRefilledAccounts(): \$&Address\$& {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :49:2
\|
49 \| pub fun getBlockedAccounts() : \$&Address\$& {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :57:2
\|
57 \| pub fun getRefilledAccountInfos(): {Address: RefilledAccountInfo} {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :65:2
\|
65 \| pub fun getRefillRequiredBlocks(): UInt64 {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :70:2
\|
70 \| pub fun fundedRefill(address: Address, tokens: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:2
\|
75 \| pub fun fundedRefillV2(address: Address, tokens: @FungibleToken.Vault): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:2
\|
85 \| pub fun tryRefill(\_ address: Address) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :124:106
\|
124 \| if let vaultBalanceRef = self.account.getCapability(/public/flowTokenBalance).borrow<&FlowToken.Vault{FungibleToken.Balance}>() {
\| ^^^^^^^^^^^^^
--\> 43ee8c22fcf94ea3.DapperStorageRent
error: cannot find type in this scope: \`TokenForwarding\`
--\> 1c5033ad60821c97.Teleport:128:43
\|
128 \| let isDapper=receiver.isInstance(Type<@TokenForwarding.Forwarder>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.Teleport:128:37
\|
128 \| let isDapper=receiver.isInstance(Type<@TokenForwarding.Forwarder>())
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`DapperStorageRent\`
--\> 1c5033ad60821c97.Teleport:136:3
\|
136 \| DapperStorageRent.tryRefill(data.receiver)
\| ^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DapperStorageRent\`
--\> 1c5033ad60821c97.Teleport:159:20
\|
159 \| let newVault <- DapperStorageRent.fundedRefillV2(address: data.receiver, tokens: <- vaultRef.withdraw(amount: amount))
\| ^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot access \`withdraw\`: function requires \`Withdraw\` authorization, but reference is unauthorized
--\> 1c5033ad60821c97.Teleport:159:88
\|
159 \| let newVault <- DapperStorageRent.fundedRefillV2(address: data.receiver, tokens: <- vaultRef.withdraw(amount: amount))
\| ^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: \`TokenForwarding\`
--\> 1c5033ad60821c97.Teleport:193:43
\|
193 \| let isDapper=receiver.isInstance(Type<@TokenForwarding.Forwarder>())
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.Teleport:193:37
\|
193 \| let isDapper=receiver.isInstance(Type<@TokenForwarding.Forwarder>())
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: \`DapperStorageRent\`
--\> 1c5033ad60821c97.Teleport:201:3
\|
201 \| DapperStorageRent.tryRefill(data.receiver)
\| ^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DapperStorageRent\`
--\> 1c5033ad60821c97.Teleport:224:20
\|
224 \| let newVault <- DapperStorageRent.fundedRefillV2(address: data.receiver, tokens: <- vaultRef.withdraw(amount: amount))
\| ^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot access \`withdraw\`: function requires \`Withdraw\` authorization, but reference is unauthorized
--\> 1c5033ad60821c97.Teleport:224:88
\|
224 \| let newVault <- DapperStorageRent.fundedRefillV2(address: data.receiver, tokens: <- vaultRef.withdraw(amount: amount))
\| ^^^^^^^^^^^^^^^^^
|
+| 0x1c5033ad60821c97 | Debug | ✅ |
+| 0x1c5033ad60821c97 | Admin | ❌
Error:
error: error getting program 1c5033ad60821c97.Doodles: failed to derive value: load program failed: Checking failed:
error: error getting program 1c5033ad60821c97.DoodleNames: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find variable in this scope: \`FIND\`
--\> 1c5033ad60821c97.DoodleNames:205:7
error: cannot find variable in this scope: \`FIND\`
--\> 1c5033ad60821c97.DoodleNames:233:7
--\> 1c5033ad60821c97.DoodleNames
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:234:35
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:581:38
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:590:36
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:606:40
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:673:46
error: cannot find variable in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:940:14
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:280:31
error: mismatched types
--\> 1c5033ad60821c97.Doodles:280:12
--\> 1c5033ad60821c97.Doodles
error: error getting program 1c5033ad60821c97.DoodlePacks: failed to derive value: load program failed: Checking failed:
error: error getting program 1c5033ad60821c97.DoodlePackTypes: failed to derive value: load program failed: Checking failed:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
--\> 1c5033ad60821c97.DoodlePackTypes
error: error getting program 1c5033ad60821c97.OpenDoodlePacks: failed to derive value: load program failed: Checking failed:
error: error getting program 1c5033ad60821c97.DoodlePackTypes: failed to derive value: load program failed: Checking failed:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
--\> 1c5033ad60821c97.DoodlePackTypes
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:51:39
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:23
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:71
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:221:34
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:222:46
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:321:18
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:372:18
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:419:20
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:423:18
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:279:19
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:328:59
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:344:24
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:351:71
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:399:20
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:407:68
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:426:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:437:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:39:16
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:52:10
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:44
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:251:20
--\> 1c5033ad60821c97.OpenDoodlePacks
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:43:33
error: cannot find type in this scope: \`OpenDoodlePacks\`
--\> 1c5033ad60821c97.DoodlePacks:233:169
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:217:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:218:38
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:222:2
error: cannot find variable in this scope: \`OpenDoodlePacks\`
--\> 1c5033ad60821c97.DoodlePacks:236:18
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:31:7
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:44:10
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:64:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.DoodlePacks:64:44
--\> 1c5033ad60821c97.DoodlePacks
error: error getting program 1c5033ad60821c97.DoodlePackTypes: failed to derive value: load program failed: Checking failed:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
--\> 1c5033ad60821c97.DoodlePackTypes
error: error getting program 1c5033ad60821c97.OpenDoodlePacks: failed to derive value: load program failed: Checking failed:
error: error getting program 1c5033ad60821c97.DoodlePackTypes: failed to derive value: load program failed: Checking failed:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
--\> 1c5033ad60821c97.DoodlePackTypes
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:51:39
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:23
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:71
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:221:34
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:222:46
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:321:18
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:372:18
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:419:20
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:423:18
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:279:19
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:328:59
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:344:24
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:351:71
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:399:20
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:407:68
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:426:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:437:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:39:16
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:52:10
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:17
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:44
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:251:20
--\> 1c5033ad60821c97.OpenDoodlePacks
error: cannot find type in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:195:52
\|
195 \| access(all) fun registerDoodlesBaseCharacter(\_ d: Doodles.BaseCharacter) {
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:209:46
\|
209 \| access(all) fun registerDoodlesSpecies(\_ d: Doodles.Species) {
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:223:42
\|
223 \| access(all) fun registerDoodlesSet(\_ d: Doodles.Set) {
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:242:6
\|
242 \| ): @Doodles.NFT {
\| ^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.Admin:373:27
\|
373 \| templateDistributions: \$&DoodlePackTypes.TemplateDistribution\$&,
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.Admin:375:5
\|
375 \| ): DoodlePackTypes.PackType {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:199:3
\|
199 \| Doodles.setBaseCharacter(d)
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:206:3
\|
206 \| Doodles.retireBaseCharacter(id)
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:213:3
\|
213 \| Doodles.addSpecies(d)
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:220:3
\|
220 \| Doodles.retireSpecies(id)
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:227:3
\|
227 \| Doodles.addSet(d)
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:234:3
\|
234 \| Doodles.retireSet(id)
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`Doodles\`
--\> 1c5033ad60821c97.Admin:247:17
\|
247 \| let doodle <- Doodles.adminMintDoodle(
\| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePacks\`
--\> 1c5033ad60821c97.Admin:363:3
\|
363 \| DoodlePacks.mintNFT(recipient: recipient, typeId: typeId)
\| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.Admin:380:10
\|
380 \| return DoodlePackTypes.addPackType(
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`OpenDoodlePacks\`
--\> 1c5033ad60821c97.Admin:435:3
\|
435 \| OpenDoodlePacks.updateRevealBlocks(revealBlocks: revealBlocks)
\| ^^^^^^^^^^^^^^^ not found in this scope
|
+| 0x1c5033ad60821c97 | DoodleNames | ❌
Error:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find variable in this scope: \`FIND\`
--\> 1c5033ad60821c97.DoodleNames:205:7
\|
205 \| if (!FIND.validateFindName(name)){
\| ^^^^ not found in this scope
error: cannot find variable in this scope: \`FIND\`
--\> 1c5033ad60821c97.DoodleNames:233:7
\|
233 \| if (!FIND.validateFindName(name)){
\| ^^^^ not found in this scope
|
+| 0x1c5033ad60821c97 | DoodlePackTypes | ❌
Error:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
\|
242 \| return Type<@FlowUtilityToken.Vault>()
\| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
\|
242 \| return Type<@FlowUtilityToken.Vault>()
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
+| 0x1c5033ad60821c97 | OpenDoodlePacks | ❌
Error:
error: error getting program 1c5033ad60821c97.DoodlePackTypes: failed to derive value: load program failed: Checking failed:
error: error getting program 82ec283f88a62e65.FlowUtilityToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :3:0
\|
3 \| pub contract FlowUtilityToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :6:4
\|
6 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :9:4
\|
9 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :12:4
\|
12 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event TokensMinted(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :21:4
\|
21 \| pub event TokensBurned(amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event MinterCreated(allowedAmount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :27:4
\|
27 \| pub event BurnerCreated()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub resource Vault: FungibleToken.Provider, FungibleToken.Receiver, FungibleToken.Balance {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:8
\|
44 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:8
\|
60 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:8
\|
73 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :81:8
\|
81 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :93:4
\|
93 \| pub fun createEmptyVault(): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub resource Administrator {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :102:8
\|
102 \| pub fun createNewMinter(allowedAmount: UFix64): @Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :111:8
\|
111 \| pub fun createNewBurner(): @Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :121:4
\|
121 \| pub resource Minter {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :124:8
\|
124 \| pub var allowedAmount: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :131:8
\|
131 \| pub fun mintTokens(amount: UFix64): @FlowUtilityToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :151:4
\|
151 \| pub resource Burner {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :160:8
\|
160 \| pub fun burnTokens(from: @FungibleToken.Vault) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :184:50
\|
184 \| self.account.link<&FlowUtilityToken.Vault{FungibleToken.Balance}>(
\| ^^^^^^^^^^^^^
--\> 82ec283f88a62e65.FlowUtilityToken
error: cannot find type in this scope: \`FlowUtilityToken\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:16
error: cannot infer type parameter: \`T\`
--\> 1c5033ad60821c97.DoodlePackTypes:242:10
--\> 1c5033ad60821c97.DoodlePackTypes
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:51:39
\|
51 \| access(all) fun getPackType(): DoodlePackTypes.PackType {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:23
\|
227 \| init(packType: DoodlePackTypes.PackType, templateDistribution: DoodlePackTypes.TemplateDistribution) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:227:71
\|
227 \| init(packType: DoodlePackTypes.PackType, templateDistribution: DoodlePackTypes.TemplateDistribution) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:221:34
\|
221 \| access(all) let packType: DoodlePackTypes.PackType
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:222:46
\|
222 \| access(all) var templateDistribution: DoodlePackTypes.TemplateDistribution
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:321:18
\|
321 \| packType: DoodlePackTypes.PackType,
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:372:18
\|
372 \| packType: DoodlePackTypes.PackType,
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:419:20
\|
419 \| collection: DoodlePackTypes.Collection,
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:423:18
\|
423 \| packType: DoodlePackTypes.PackType
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:279:19
\|
279 \| && DoodlePackTypes.getTemplateDistributionMintedCount(typeId: packType.id, templateDistributionId: templateDistribution.id) >= templateDistribution.maxMint!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:328:59
\|
328 \| && (templateDistribution.maxMint == nil \|\| DoodlePackTypes.getTemplateDistributionMintedCount(typeId: packType.id, templateDistributionId: templateDistribution.id) < templateDistribution.maxMint!)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:344:24
\|
344 \| DoodlePackTypes.addMintedCountToTemplateDistribution(
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:351:71
\|
351 \| \|\| (templateDistribution.maxMint != nil && DoodlePackTypes.getTemplateDistributionMintedCount(typeId: packType.id, templateDistributionId: templateDistribution.id) == templateDistribution.maxMint!)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:399:20
\|
399 \| DoodlePackTypes.addMintedCountToTemplateDistribution(
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:407:68
\|
407 \| \|\| (templateDistribution.maxMint != nil && DoodlePackTypes.getTemplateDistributionMintedCount(typeId: packType.id, templateDistributionId: templateDistribution.id) == templateDistribution.maxMint!)
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:426:17
\|
426 \| case DoodlePackTypes.Collection.Wearables:
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:437:17
\|
437 \| case DoodlePackTypes.Collection.Redeemables:
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:39:16
\|
39 \| if (DoodlePackTypes.getPackType(id: typeId) == nil) {
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:52:10
\|
52 \| return DoodlePackTypes.getPackType(id: self.typeId)!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:17
\|
72 \| let packType: DoodlePackTypes.PackType = DoodlePackTypes.getPackType(id: self.typeId)!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:72:44
\|
72 \| let packType: DoodlePackTypes.PackType = DoodlePackTypes.getPackType(id: self.typeId)!
\| ^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodlePackTypes\`
--\> 1c5033ad60821c97.OpenDoodlePacks:251:20
\|
251 \| DoodlePackTypes.getTemplateDistributionMintedCount(
\| ^^^^^^^^^^^^^^^ not found in this scope
|
+| 0x1c5033ad60821c97 | Templates | ✅ |
+| 0x1c5033ad60821c97 | TransactionsRegistry | ✅ |
+| 0x1c5033ad60821c97 | Doodles | ❌
Error:
error: error getting program 1c5033ad60821c97.DoodleNames: failed to derive value: load program failed: Checking failed:
error: error getting program 35717efbbce11c74.FIND: failed to derive value: load program failed: Checking failed:
error: error getting program a983fecbed621163.FiatToken: failed to derive value: load program failed: Parsing failed:
error: \`pub\` is no longer a valid access keyword
--\> :5:0
\|
5 \| pub contract FiatToken: FungibleToken {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :10:4
\|
10 \| pub event AdminCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :11:4
\|
11 \| pub event AdminChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :14:4
\|
14 \| pub event OwnerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :15:4
\|
15 \| pub event OwnerChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :18:4
\|
18 \| pub event MasterMinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :19:4
\|
19 \| pub event MasterMinterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :22:4
\|
22 \| pub event Paused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :23:4
\|
23 \| pub event Unpaused()
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :24:4
\|
24 \| pub event PauserCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :25:4
\|
25 \| pub event PauserChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :28:4
\|
28 \| pub event Blocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :29:4
\|
29 \| pub event Unblocklisted(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :30:4
\|
30 \| pub event BlocklisterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :31:4
\|
31 \| pub event BlocklisterChanged(address: Address, resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :34:4
\|
34 \| pub event NewVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :35:4
\|
35 \| pub event DestroyVault(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :36:4
\|
36 \| pub event FiatTokenWithdrawn(amount: UFix64, from: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :37:4
\|
37 \| pub event FiatTokenDeposited(amount: UFix64, to: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :40:4
\|
40 \| pub event MinterCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :41:4
\|
41 \| pub event MinterControllerCreated(resourceId: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :42:4
\|
42 \| pub event Mint(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :43:4
\|
43 \| pub event Burn(minter: UInt64, amount: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :44:4
\|
44 \| pub event MinterConfigured(controller: UInt64, minter: UInt64, allowance: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :45:4
\|
45 \| pub event MinterRemoved(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :46:4
\|
46 \| pub event ControllerConfigured(controller: UInt64, minter: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :47:4
\|
47 \| pub event ControllerRemoved(controller: UInt64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :52:4
\|
52 \| pub event TokensInitialized(initialSupply: UFix64)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :53:4
\|
53 \| pub event TokensWithdrawn(amount: UFix64, from: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :54:4
\|
54 \| pub event TokensDeposited(amount: UFix64, to: Address?)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :59:4
\|
59 \| pub let VaultStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :60:4
\|
60 \| pub let VaultBalancePubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :61:4
\|
61 \| pub let VaultUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :62:4
\|
62 \| pub let VaultReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :64:4
\|
64 \| pub let BlocklistExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :66:4
\|
66 \| pub let BlocklisterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :67:4
\|
67 \| pub let BlocklisterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :68:4
\|
68 \| pub let BlocklisterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :69:4
\|
69 \| pub let BlocklisterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :71:4
\|
71 \| pub let PauseExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :73:4
\|
73 \| pub let PauserStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :74:4
\|
74 \| pub let PauserCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :75:4
\|
75 \| pub let PauserUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :76:4
\|
76 \| pub let PauserPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :78:4
\|
78 \| pub let AdminExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :80:4
\|
80 \| pub let AdminStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :81:4
\|
81 \| pub let AdminCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :82:4
\|
82 \| pub let AdminUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :83:4
\|
83 \| pub let AdminPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :85:4
\|
85 \| pub let OwnerExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :87:4
\|
87 \| pub let OwnerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :88:4
\|
88 \| pub let OwnerCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :89:4
\|
89 \| pub let OwnerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :90:4
\|
90 \| pub let OwnerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :92:4
\|
92 \| pub let MasterMinterExecutorStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :94:4
\|
94 \| pub let MasterMinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :95:4
\|
95 \| pub let MasterMinterCapReceiverPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :96:4
\|
96 \| pub let MasterMinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :97:4
\|
97 \| pub let MasterMinterPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :99:4
\|
99 \| pub let MinterControllerStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :100:4
\|
100 \| pub let MinterControllerUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :101:4
\|
101 \| pub let MinterControllerPubSigner: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :103:4
\|
103 \| pub let MinterStoragePath: StoragePath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :104:4
\|
104 \| pub let MinterUUIDPubPath: PublicPath
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :109:4
\|
109 \| pub let name: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :110:4
\|
110 \| pub var version: String
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :112:4
\|
112 \| pub var paused: Bool
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :114:4
\|
114 \| pub var totalSupply: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :125:4
\|
125 \| pub resource interface ResourceId {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :126:8
\|
126 \| pub fun UUID(): UInt64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :129:4
\|
129 \| pub resource interface AdminCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :130:8
\|
130 \| pub fun setAdminCap(cap: Capability<&AdminExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :133:4
\|
133 \| pub resource interface OwnerCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :134:8
\|
134 \| pub fun setOwnerCap(cap: Capability<&OwnerExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :137:4
\|
137 \| pub resource interface MasterMinterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :138:8
\|
138 \| pub fun setMasterMinterCap(cap: Capability<&MasterMinterExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :141:4
\|
141 \| pub resource interface BlocklisterCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :142:8
\|
142 \| pub fun setBlocklistCap(cap: Capability<&BlocklistExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :145:4
\|
145 \| pub resource interface PauseCapReceiver {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :146:8
\|
146 \| pub fun setPauseCap(cap: Capability<&PauseExecutor>)
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :186:4
\|
186 \| pub resource Vault:
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :192:8
\|
192 \| pub var balance: UFix64
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :194:8
\|
194 \| pub fun withdraw(amount: UFix64): @FungibleToken.Vault {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :205:8
\|
205 \| pub fun deposit(from: @FungibleToken.Vault) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :219:8
\|
219 \| pub fun UUID(): UInt64 {
\| ^^^
error: custom destructor definitions are no longer permitted
--\> :231:8
\|
231 \| destroy() {
\| ^ remove the destructor definition
error: \`pub\` is no longer a valid access keyword
--\> :244:4
\|
244 \| pub resource AdminExecutor {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :248:8
\|
248 \| pub fun upgradeContract(name: String, code: \$&UInt8\$&, version: String) {
\| ^^^
error: \`pub\` is no longer a valid access keyword
--\> :252:8
\|
252 \| pub fun changeAdmin(to: Address, newPath: PrivatePath) {
\| ^^^
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--\> :255:38
\|
255 \| .getCapability<&Admin{AdminCapReceiver}>(FiatToken.AdminCapReceiverPubPath)
\| ^^^^^^^^^^^^^^^^
--\> a983fecbed621163.FiatToken
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1358:66
error: cannot find type in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1610:59
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2110:63
error: too few arguments
--\> 35717efbbce11c74.FIND:2112:25
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2115:56
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2119:21
error: value of type \`FUSD\` has no member \`VaultPublicPath\`
--\> 35717efbbce11c74.FIND:2121:65
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2123:92
error: value of type \`FUSD\` has no member \`VaultStoragePath\`
--\> 35717efbbce11c74.FIND:2129:21
error: value of type \`FUSD\` has no member \`ReceiverPublicPath\`
--\> 35717efbbce11c74.FIND:2131:68
error: cannot find variable in this scope: \`FiatToken\`
--\> 35717efbbce11c74.FIND:1633:78
--\> 35717efbbce11c74.FIND
error: cannot find variable in this scope: \`FIND\`
--\> 1c5033ad60821c97.DoodleNames:205:7
error: cannot find variable in this scope: \`FIND\`
--\> 1c5033ad60821c97.DoodleNames:233:7
--\> 1c5033ad60821c97.DoodleNames
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:234:35
\|
234 \| access(all) var name: @{UInt64 : DoodleNames.NFT}
\| ^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:581:38
\|
581 \| access(account) fun addName(\_ nft: @DoodleNames.NFT, owner:Address) {
\| ^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:590:36
\|
590 \| access(all) fun equipName(\_ nft: @DoodleNames.NFT) {
\| ^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:606:40
\|
606 \| access(contract) fun unequipName() : @DoodleNames.NFT {
\| ^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:673:46
\|
673 \| access(all) fun borrowName(\_ id: UInt64) : &DoodleNames.NFT {
\| ^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:940:14
\|
940 \| let name <- DoodleNames.mintName(name:doodleName, context:context, address: recipientAddress)
\| ^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: \`DoodleNames\`
--\> 1c5033ad60821c97.Doodles:280:31
\|
280 \| return (&self.name\$&id\$& as &DoodleNames.NFT?)!
\| ^^^^^^^^^^^ not found in this scope
error: mismatched types
--\> 1c5033ad60821c97.Doodles:280:12
\|
280 \| return (&self.name\$&id\$& as &DoodleNames.NFT?)!
\| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected \`&{ViewResolver.Resolver}?\`, got \`&<>?\`
|
+| 0x1c5033ad60821c97 | Redeemables | ✅ |
+| 0x1c5033ad60821c97 | Random | ✅ |
+| 0x1c5033ad60821c97 | Wearables | ✅ |
+| 0x1c5033ad60821c97 | GenesisBoxRegistry | ✅ |
+| 0x0d3dc5ad70be03d1 | Offers | ✅ |
+| 0x0d3dc5ad70be03d1 | Filter | ✅ |
+| 0x0d3dc5ad70be03d1 | ScopedFTProviders | ✅ |
diff --git a/npm-packages/cadence-parser/package.json b/npm-packages/cadence-parser/package.json
index 0f40146391..665d3ec8b1 100644
--- a/npm-packages/cadence-parser/package.json
+++ b/npm-packages/cadence-parser/package.json
@@ -1,6 +1,6 @@
{
"name": "@onflow/cadence-parser",
- "version": "1.0.0-preview.21",
+ "version": "1.0.0-preview.22",
"description": "The Cadence parser",
"homepage": "https://github.com/onflow/cadence",
"repository": {
diff --git a/runtime/ast/access.go b/runtime/ast/access.go
index 1f90a982d7..eefdb920eb 100644
--- a/runtime/ast/access.go
+++ b/runtime/ast/access.go
@@ -129,18 +129,18 @@ func (e EntitlementAccess) entitlementsString(prefix *strings.Builder) {
}
func (e EntitlementAccess) String() string {
- str := &strings.Builder{}
- str.WriteString("EntitlementAccess ")
- e.entitlementsString(str)
- return str.String()
+ var sb strings.Builder
+ sb.WriteString("EntitlementAccess ")
+ e.entitlementsString(&sb)
+ return sb.String()
}
func (e EntitlementAccess) Keyword() string {
- str := &strings.Builder{}
- str.WriteString("access(")
- e.entitlementsString(str)
- str.WriteString(")")
- return str.String()
+ var sb strings.Builder
+ sb.WriteString("access(")
+ e.entitlementsString(&sb)
+ sb.WriteString(")")
+ return sb.String()
}
func (e EntitlementAccess) MarshalJSON() ([]byte, error) {
diff --git a/runtime/capabilities_test.go b/runtime/capabilities_test.go
index ac73a29e55..1a54e8a6b4 100644
--- a/runtime/capabilities_test.go
+++ b/runtime/capabilities_test.go
@@ -133,7 +133,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testR() {
let path = /public/r
- let cap = self.account.capabilities.get<&R>(path)!
+ let cap = self.account.capabilities.get<&R>(path)
assert(self.account.capabilities.exists(path))
@@ -162,7 +162,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testRAsR2() {
let path = /public/rAsR2
- let cap = self.account.capabilities.get<&R2>(path)!
+ let cap = self.account.capabilities.get<&R2>(path)
assert(self.account.capabilities.exists(path))
@@ -185,7 +185,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testRAsS() {
let path = /public/rAsS
- let cap = self.account.capabilities.get<&S>(path)!
+ let cap = self.account.capabilities.get<&S>(path)
assert(self.account.capabilities.exists(path))
@@ -208,7 +208,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testNonExistentTarget() {
let path = /public/nonExistentTarget
- let cap = self.account.capabilities.get<&R>(path)!
+ let cap = self.account.capabilities.get<&R>(path)
assert(self.account.capabilities.exists(path))
@@ -231,13 +231,28 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testNonExistent() {
let path = /public/nonExistent
- assert(self.account.capabilities.get<&AnyResource>(path) == nil)
+
+ let cap = self.account.capabilities.get<&R>(path)
+ assert(cap.id == 0)
+ assert(cap as? Capability<&R> != nil)
+ assert(cap as? Capability<&AnyResource> != nil)
+ assert(cap.borrow() == nil)
+ assert(cap.address == 0x1)
+ assert(cap.check() == false)
+
+ let cap2 = self.account.capabilities.get<&AnyResource>(path)
+ assert(cap2.id == 0)
+ assert(cap2 as? Capability<&AnyResource> != nil)
+ assert(cap2.borrow() == nil)
+ assert(cap2.address == 0x1)
+ assert(cap2.check() == false)
+
assert(!self.account.capabilities.exists(path))
}
access(all)
fun testSwap(): Int {
- let ref = self.account.capabilities.get<&R>(/public/r)!.borrow()!
+ let ref = self.account.capabilities.get<&R>(/public/r).borrow()!
let r <- self.account.storage.load<@R>(from: /storage/r)
destroy r
@@ -385,7 +400,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testS() {
let path = /public/s
- let cap = self.account.capabilities.get<&S>(path)!
+ let cap = self.account.capabilities.get<&S>(path)
assert(self.account.capabilities.exists(path))
@@ -414,7 +429,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testSAsS2() {
let path = /public/sAsS2
- let cap = self.account.capabilities.get<&S2>(path)!
+ let cap = self.account.capabilities.get<&S2>(path)
assert(self.account.capabilities.exists(path))
@@ -437,7 +452,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testSAsR() {
let path = /public/sAsR
- let cap = self.account.capabilities.get<&R>(path)!
+ let cap = self.account.capabilities.get<&R>(path)
assert(self.account.capabilities.exists(path))
@@ -460,7 +475,7 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testNonExistentTarget() {
let path = /public/nonExistentTarget
- let cap = self.account.capabilities.get<&S>(path)!
+ let cap = self.account.capabilities.get<&S>(path)
assert(self.account.capabilities.exists(path))
@@ -483,13 +498,28 @@ func TestRuntimeCapability_borrowAndCheck(t *testing.T) {
access(all)
fun testNonExistent() {
let path = /public/nonExistent
- assert(self.account.capabilities.get<&AnyStruct>(path) == nil)
+
+ let cap = self.account.capabilities.get<&S>(path)
+ assert(cap.id == 0)
+ assert(cap as? Capability<&S> != nil)
+ assert(cap as? Capability<&AnyStruct> != nil)
+ assert(cap.borrow() == nil)
+ assert(cap.address == 0x1)
+ assert(cap.check() == false)
+
+ let cap2 = self.account.capabilities.get<&AnyStruct>(path)
+ assert(cap2.id == 0)
+ assert(cap2 as? Capability<&AnyStruct> != nil)
+ assert(cap2.borrow() == nil)
+ assert(cap2.address == 0x1)
+ assert(cap2.check() == false)
+
assert(!self.account.capabilities.exists(path))
}
access(all)
fun testSwap(): Int {
- let ref = self.account.capabilities.get<&S>(/public/s)!.borrow()!
+ let ref = self.account.capabilities.get<&S>(/public/s).borrow()!
self.account.storage.load(from: /storage/s)
diff --git a/runtime/capabilitycontrollers_test.go b/runtime/capabilitycontrollers_test.go
index 1d27eea7ec..b8bd18f82b 100644
--- a/runtime/capabilitycontrollers_test.go
+++ b/runtime/capabilitycontrollers_test.go
@@ -232,12 +232,15 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
let path = /public/x
// Act
- let gotCap: Capability<&AnyStruct>? =
+ let gotCap: Capability<&AnyStruct> =
%[1]s.capabilities.get<&AnyStruct>(path)
// Assert
assert(!%[1]s.capabilities.exists(path))
- assert(gotCap == nil)
+ assert(gotCap.id == 0)
+ assert(gotCap.borrow() == nil)
+ assert(gotCap.check() == false)
+ assert(gotCap.address == 0x1)
}
}
`,
@@ -274,7 +277,7 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
// Act
let gotCap: Capability<&Test.R> =
- %[1]s.capabilities.get<&Test.R>(publicPath)!
+ %[1]s.capabilities.get<&Test.R>(publicPath)
// Assert
assert(%[1]s.capabilities.exists(publicPath))
@@ -308,7 +311,7 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
// Act
let gotCap: Capability<&Account> =
- %[1]s.capabilities.get<&Account>(publicPath)!
+ %[1]s.capabilities.get<&Account>(publicPath)
// Assert
assert(%[1]s.capabilities.exists(publicPath))
@@ -353,7 +356,7 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
// Act
let gotCap: Capability<&Test.R> =
- %[1]s.capabilities.get<&Test.R>(publicPath)!
+ %[1]s.capabilities.get<&Test.R>(publicPath)
let ref: &Test.R = gotCap.borrow()!
// Assert
@@ -390,7 +393,7 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
// Act
let gotCap: Capability<&Account> =
- %[1]s.capabilities.get<&Account>(publicPath)!
+ %[1]s.capabilities.get<&Account>(publicPath)
let ref: &Account = gotCap.borrow()!
// Assert
@@ -436,13 +439,16 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
signer.capabilities.publish(issuedCap, at: publicPath)
// Act
- let gotCap: Capability? =
+ let gotCap: Capability =
%[1]s.capabilities.get(publicPath)
// Assert
assert(%[1]s.capabilities.exists(publicPath))
assert(issuedCap.id == expectedCapID)
- assert(gotCap == nil)
+ assert(gotCap.id == 0)
+ assert(gotCap.borrow() == nil)
+ assert(gotCap.check() == false)
+ assert(gotCap.address == 0x1)
}
}
`,
@@ -472,13 +478,16 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
signer.capabilities.publish(issuedCap, at: publicPath)
// Act
- let gotCap: Capability<&Test.R>? =
+ let gotCap: Capability<&Test.R> =
%[1]s.capabilities.get<&Test.R>(publicPath)
// Assert
assert(%[1]s.capabilities.exists(publicPath))
assert(issuedCap.id == expectedCapID)
- assert(gotCap == nil)
+ assert(gotCap.id == 0)
+ assert(gotCap.borrow() == nil)
+ assert(gotCap.check() == false)
+ assert(gotCap.address == 0x1)
}
}
`,
@@ -516,13 +525,16 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
signer.capabilities.publish(issuedCap, at: publicPath)
// Act
- let gotCap: Capability<&Test.S>? =
+ let gotCap: Capability<&Test.S> =
%[1]s.capabilities.get<&Test.S>(publicPath)
// Assert
assert(%[1]s.capabilities.exists(publicPath))
assert(issuedCap.id == expectedCapID)
- assert(gotCap == nil)
+ assert(gotCap.id == 0)
+ assert(gotCap.borrow() == nil)
+ assert(gotCap.check() == false)
+ assert(gotCap.address == 0x1)
}
}
`,
@@ -550,13 +562,16 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
signer.capabilities.publish(issuedCap, at: publicPath)
// Act
- let gotCap: Capability<&AnyResource>? =
+ let gotCap: Capability<&AnyResource> =
%[1]s.capabilities.get<&AnyResource>(publicPath)
// Assert
assert(%[1]s.capabilities.exists(publicPath))
assert(issuedCap.id == expectedCapID)
- assert(gotCap == nil)
+ assert(gotCap.id == 0)
+ assert(gotCap.borrow() == nil)
+ assert(gotCap.check() == false)
+ assert(gotCap.address == 0x1)
}
}
`,
@@ -594,14 +609,17 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
let unpublishedcap = signer.capabilities.unpublish(publicPath)
// Act
- let gotCap: Capability<&Test.R>? =
+ let gotCap: Capability<&Test.R> =
%[1]s.capabilities.get<&Test.R>(publicPath)
// Assert
assert(!%[1]s.capabilities.exists(publicPath))
assert(issuedCap.id == expectedCapID)
assert(unpublishedcap!.id == expectedCapID)
- assert(gotCap == nil)
+ assert(gotCap.id == 0)
+ assert(gotCap.borrow() == nil)
+ assert(gotCap.check() == false)
+ assert(gotCap.address == 0x1)
}
}
`,
@@ -629,14 +647,17 @@ func TestRuntimeCapabilityControllers(t *testing.T) {
let unpublishedcap = signer.capabilities.unpublish(publicPath)
// Act
- let gotCap: Capability<&Account>? =
+ let gotCap: Capability<&Account> =
%[1]s.capabilities.get<&Account>(publicPath)
// Assert
assert(!%[1]s.capabilities.exists(publicPath))
assert(issuedCap.id == expectedCapID)
assert(unpublishedcap!.id == expectedCapID)
- assert(gotCap == nil)
+ assert(gotCap.id == 0)
+ assert(gotCap.borrow() == nil)
+ assert(gotCap.check() == false)
+ assert(gotCap.address == 0x1)
}
}
`,
diff --git a/runtime/contract_update_validation_test.go b/runtime/contract_update_validation_test.go
index 7d2522706f..b8274f6523 100644
--- a/runtime/contract_update_validation_test.go
+++ b/runtime/contract_update_validation_test.go
@@ -1326,7 +1326,7 @@ func TestRuntimeContractUpdateValidation(t *testing.T) {
RequireError(t, err)
cause := getSingleContractUpdateErrorCause(t, err, "Test")
- assertConformanceMismatchError(t, cause, "Foo")
+ assertConformanceMismatchError(t, cause, "Foo", "UInt8")
})
testWithValidators(t, "change nested interface", func(t *testing.T, withC1Upgrade bool) {
@@ -2452,11 +2452,13 @@ func assertConformanceMismatchError(
t *testing.T,
err error,
erroneousDeclName string,
+ missingConformance string,
) {
var conformanceMismatchError *stdlib.ConformanceMismatchError
require.ErrorAs(t, err, &conformanceMismatchError)
assert.Equal(t, erroneousDeclName, conformanceMismatchError.DeclName)
+ assert.Equal(t, missingConformance, conformanceMismatchError.MissingConformance)
}
func assertEnumCaseMismatchError(t *testing.T, err error, expectedEnumCase string, foundEnumCase string) {
@@ -2593,7 +2595,7 @@ func TestRuntimeContractUpdateConformanceChanges(t *testing.T) {
assertExtraneousFieldError(t, cause, "Foo", "name")
})
- testWithValidators(t, "Removing conformance", func(t *testing.T, withC1Upgrade bool) {
+ testWithValidators(t, "Removing conformance, one", func(t *testing.T, withC1Upgrade bool) {
const oldCode = `
access(all) contract Test {
@@ -2631,7 +2633,66 @@ func TestRuntimeContractUpdateConformanceChanges(t *testing.T) {
RequireError(t, err)
cause := getSingleContractUpdateErrorCause(t, err, "Test")
- assertConformanceMismatchError(t, cause, "Foo")
+
+ assertConformanceMismatchError(t, cause, "Foo", "Bar")
+ })
+
+ testWithValidators(t, "Removing conformance, multiple", func(t *testing.T, withC1Upgrade bool) {
+
+ const oldCode = `
+ access(all)
+ contract Test {
+
+ access(all) var a: Foo
+
+ init() {
+ self.a = Foo()
+ }
+
+ access(all)
+ struct Foo: Bar, Baz, Blub {
+ init() {}
+ }
+
+ access(all)
+ struct interface Bar {}
+ access(all)
+ struct interface Baz {}
+ access(all)
+ struct interface Blub {}
+ }
+ `
+
+ const newCode = `
+ access(all)
+ contract Test {
+ access(all)
+ var a: Foo
+
+ init() {
+ self.a = Foo()
+ }
+
+ access(all)
+ struct Foo: Bar {
+ init() {}
+ }
+
+ access(all)
+ struct interface Bar {}
+ access(all)
+ struct interface Baz {}
+ access(all)
+ struct interface Blub {}
+ }
+ `
+
+ err := testDeployAndUpdate(t, "Test", oldCode, newCode, withC1Upgrade)
+ RequireError(t, err)
+
+ cause := getSingleContractUpdateErrorCause(t, err, "Test")
+
+ assertConformanceMismatchError(t, cause, "Foo", "Baz")
})
testWithValidators(t, "Change conformance order", func(t *testing.T, withC1Upgrade bool) {
diff --git a/runtime/entitlements_test.go b/runtime/entitlements_test.go
index bafe338e25..ab33609987 100644
--- a/runtime/entitlements_test.go
+++ b/runtime/entitlements_test.go
@@ -539,7 +539,7 @@ func TestRuntimeAccountEntitlementCapabilityCasting(t *testing.T) {
import Test from 0x1
transaction {
prepare(signer: &Account) {
- let capX = signer.capabilities.get(/public/foo)!
+ let capX = signer.capabilities.get(/public/foo)
let upCap = capX as Capability<&Test.R>
let downCap = upCap as! Capability
}
@@ -647,8 +647,8 @@ func TestRuntimeAccountEntitlementCapabilityDictionary(t *testing.T) {
import Test from 0x1
transaction {
prepare(signer: &Account) {
- let capX = signer.capabilities.get(/public/foo)!
- let capY = signer.capabilities.get(/public/bar)!
+ let capX = signer.capabilities.get(/public/foo)
+ let capY = signer.capabilities.get(/public/bar)
let dict: {Type: Capability<&Test.R>} = {}
dict[capX.getType()] = capX
@@ -762,8 +762,8 @@ func TestRuntimeAccountEntitlementGenericCapabilityDictionary(t *testing.T) {
import Test from 0x1
transaction {
prepare(signer: &Account) {
- let capX = signer.capabilities.get(/public/foo)!
- let capY = signer.capabilities.get(/public/bar)!
+ let capX = signer.capabilities.get(/public/foo)
+ let capY = signer.capabilities.get(/public/bar)
let dict: {Type: Capability} = {}
dict[capX.getType()] = capX
@@ -988,7 +988,7 @@ func TestRuntimeCapabilityEntitlements(t *testing.T) {
let issuedCap = account.capabilities.storage.issue(/storage/foo)
account.capabilities.publish(issuedCap, at: /public/foo)
- let cap: Capability = account.capabilities.get(/public/foo)!
+ let cap: Capability = account.capabilities.get(/public/foo)
let runtimeType = cap.getType()
@@ -1017,7 +1017,7 @@ func TestRuntimeCapabilityEntitlements(t *testing.T) {
let issuedCap = account.capabilities.storage.issue<&S>(/storage/foo)
account.capabilities.publish(issuedCap, at: /public/foo)
- let cap: Capability<&S> = account.capabilities.get<&S>(/public/foo)!
+ let cap: Capability<&S> = account.capabilities.get<&S>(/public/foo)
let runtimeType = cap.getType()
let upcastCap = cap as Capability<&AnyStruct>
@@ -1050,7 +1050,7 @@ func TestRuntimeCapabilityEntitlements(t *testing.T) {
let issuedCap = account.capabilities.storage.issue(/storage/foo)
account.capabilities.publish(issuedCap, at: /public/foo)
- let cap = account.capabilities.get(/public/foo)!
+ let cap = account.capabilities.get(/public/foo)
assert(cap.check())
}
`)
@@ -1109,7 +1109,7 @@ func TestRuntimeCapabilityEntitlements(t *testing.T) {
account.capabilities.publish(issuedCap, at: /public/foo)
let cap = account.capabilities.get(/public/foo)
- assert(cap == nil)
+ assert(!cap.check())
}
`)
})
diff --git a/runtime/interpreter/errors.go b/runtime/interpreter/errors.go
index d1ada8879c..6ff6d71395 100644
--- a/runtime/interpreter/errors.go
+++ b/runtime/interpreter/errors.go
@@ -1107,3 +1107,15 @@ func (ResourceLossError) IsUserError() {}
func (e ResourceLossError) Error() string {
return "resource loss: attempting to assign to non-nil resource-typed value"
}
+
+// InvalidCapabilityIDError
+
+type InvalidCapabilityIDError struct{}
+
+var _ errors.InternalError = InvalidCapabilityIDError{}
+
+func (InvalidCapabilityIDError) IsInternalError() {}
+
+func (e InvalidCapabilityIDError) Error() string {
+ return "capability created with invalid ID"
+}
diff --git a/runtime/interpreter/interpreter.go b/runtime/interpreter/interpreter.go
index bebf5f392b..f92eee55d7 100644
--- a/runtime/interpreter/interpreter.go
+++ b/runtime/interpreter/interpreter.go
@@ -817,14 +817,8 @@ func (interpreter *Interpreter) resultValue(returnValue Value, returnType sema.T
auth := UnauthorizedAccess
// reference is authorized to the entire resource, since it is only accessible in a function where a resource value is owned
if entitlementSupportingType, ok := ty.(sema.EntitlementSupportingType); ok {
- supportedEntitlements := entitlementSupportingType.SupportedEntitlements()
- if supportedEntitlements != nil && supportedEntitlements.Len() > 0 {
- access := sema.EntitlementSetAccess{
- SetKind: sema.Conjunction,
- Entitlements: supportedEntitlements,
- }
- auth = ConvertSemaAccessToStaticAuthorization(interpreter, access)
- }
+ access := entitlementSupportingType.SupportedEntitlements().Access()
+ auth = ConvertSemaAccessToStaticAuthorization(interpreter, access)
}
return auth
}
@@ -1038,7 +1032,7 @@ func (interpreter *Interpreter) evaluateDefaultDestroyEvent(
panic(errors.NewUnreachableError())
}
supportedEntitlements := entitlementSupportingType.SupportedEntitlements()
- access := sema.NewAccessFromEntitlementSet(supportedEntitlements, sema.Conjunction)
+ access := supportedEntitlements.Access()
base, self = attachmentBaseAndSelfValues(
declarationInterpreter,
access,
@@ -1393,10 +1387,8 @@ func (declarationInterpreter *Interpreter) declareNonEnumCompositeValue(
// Self's type in the constructor is fully entitled, since
// the constructor can only be called when in possession of the base resource
- auth := ConvertSemaAccessToStaticAuthorization(
- interpreter,
- sema.NewAccessFromEntitlementSet(attachmentType.SupportedEntitlements(), sema.Conjunction),
- )
+ access := attachmentType.SupportedEntitlements().Access()
+ auth := ConvertSemaAccessToStaticAuthorization(interpreter, access)
self = NewEphemeralReferenceValue(interpreter, auth, value, attachmentType, locationRange)
@@ -2189,6 +2181,9 @@ func (interpreter *Interpreter) convert(value Value, valueType, targetType sema.
case *IDCapabilityValue:
valueBorrowType := capability.BorrowType.(*ReferenceStaticType)
borrowType := interpreter.convertStaticType(valueBorrowType, targetBorrowType)
+ if capability.isInvalid() {
+ return NewInvalidCapabilityValue(interpreter, capability.Address, borrowType)
+ }
return NewCapabilityValue(
interpreter,
capability.ID,
@@ -5493,6 +5488,10 @@ func (interpreter *Interpreter) capabilityBorrowFunction(
inter := invocation.Interpreter
locationRange := invocation.LocationRange
+ if capabilityID == invalidCapabilityID {
+ return Nil
+ }
+
var wantedBorrowType *sema.ReferenceType
typeParameterPair := invocation.TypeParameterTypes.Oldest()
if typeParameterPair != nil {
@@ -5531,6 +5530,10 @@ func (interpreter *Interpreter) capabilityCheckFunction(
sema.CapabilityTypeCheckFunctionType(capabilityBorrowType),
func(invocation Invocation) Value {
+ if capabilityID == invalidCapabilityID {
+ return FalseValue
+ }
+
inter := invocation.Interpreter
locationRange := invocation.LocationRange
diff --git a/runtime/interpreter/interpreter_expression.go b/runtime/interpreter/interpreter_expression.go
index e0a37b6004..e8267f1968 100644
--- a/runtime/interpreter/interpreter_expression.go
+++ b/runtime/interpreter/interpreter_expression.go
@@ -1562,7 +1562,7 @@ func (interpreter *Interpreter) VisitAttachExpression(attachExpression *ast.Atta
// within the constructor, the attachment's base and self references should be fully entitled,
// as the constructor of the attachment is only callable by the owner of the base
baseType := interpreter.MustSemaTypeOfValue(base).(sema.EntitlementSupportingType)
- baseAccess := sema.NewAccessFromEntitlementSet(baseType.SupportedEntitlements(), sema.Conjunction)
+ baseAccess := baseType.SupportedEntitlements().Access()
auth := ConvertSemaAccessToStaticAuthorization(interpreter, baseAccess)
attachmentType := interpreter.Program.Elaboration.AttachTypes(attachExpression)
diff --git a/runtime/interpreter/value.go b/runtime/interpreter/value.go
index ce22b22c4d..4a8044607a 100644
--- a/runtime/interpreter/value.go
+++ b/runtime/interpreter/value.go
@@ -18521,10 +18521,10 @@ func (v *CompositeValue) GetTypeKey(
locationRange LocationRange,
ty sema.Type,
) Value {
- var access sema.Access = sema.UnauthorizedAccess
+ access := sema.UnauthorizedAccess
attachmentTyp, isAttachmentType := ty.(*sema.CompositeType)
if isAttachmentType {
- access = sema.NewAccessFromEntitlementSet(attachmentTyp.SupportedEntitlements(), sema.Conjunction)
+ access = attachmentTyp.SupportedEntitlements().Access()
}
return v.getTypeKey(interpreter, locationRange, ty, access)
}
diff --git a/runtime/interpreter/value_capability.go b/runtime/interpreter/value_capability.go
index c81bdc607f..60cf4b4a8b 100644
--- a/runtime/interpreter/value_capability.go
+++ b/runtime/interpreter/value_capability.go
@@ -27,6 +27,8 @@ import (
"github.com/onflow/cadence/runtime/sema"
)
+const invalidCapabilityID UInt64Value = 0
+
// CapabilityValue
// TODO: remove once migration to Cadence 1.0 / ID capabilities is complete
@@ -49,6 +51,9 @@ func NewUnmeteredCapabilityValue(
address AddressValue,
borrowType StaticType,
) *IDCapabilityValue {
+ if id == invalidCapabilityID {
+ panic(InvalidCapabilityIDError{})
+ }
return &IDCapabilityValue{
ID: id,
Address: address,
@@ -67,6 +72,20 @@ func NewCapabilityValue(
return NewUnmeteredCapabilityValue(id, address, borrowType)
}
+func NewInvalidCapabilityValue(
+ memoryGauge common.MemoryGauge,
+ address AddressValue,
+ borrowType StaticType,
+) *IDCapabilityValue {
+ // Constant because its constituents are already metered.
+ common.UseMemory(memoryGauge, common.CapabilityValueMemoryUsage)
+ return &IDCapabilityValue{
+ ID: invalidCapabilityID,
+ Address: address,
+ BorrowType: borrowType,
+ }
+}
+
var _ Value = &IDCapabilityValue{}
var _ atree.Storable = &IDCapabilityValue{}
var _ EquatableValue = &IDCapabilityValue{}
@@ -77,6 +96,10 @@ func (*IDCapabilityValue) isValue() {}
func (*IDCapabilityValue) isCapabilityValue() {}
+func (v *IDCapabilityValue) isInvalid() bool {
+ return v.ID == invalidCapabilityID
+}
+
func (v *IDCapabilityValue) Accept(interpreter *Interpreter, visitor Visitor, _ LocationRange) {
visitor.VisitCapabilityValue(interpreter, v)
}
diff --git a/runtime/runtime_test.go b/runtime/runtime_test.go
index 58fa416a59..1882a1c51b 100644
--- a/runtime/runtime_test.go
+++ b/runtime/runtime_test.go
@@ -495,7 +495,8 @@ func TestRuntimeTransactionWithArguments(t *testing.T) {
check: func(t *testing.T, err error) {
RequireError(t, err)
- assert.IsType(t, &InvalidEntryPointArgumentError{}, errors.Unwrap(err))
+ var invalidEntryPointArgumentErr *InvalidEntryPointArgumentError
+ assert.ErrorAs(t, err, &invalidEntryPointArgumentErr)
},
},
{
@@ -513,8 +514,11 @@ func TestRuntimeTransactionWithArguments(t *testing.T) {
check: func(t *testing.T, err error) {
RequireError(t, err)
- assert.IsType(t, &InvalidEntryPointArgumentError{}, errors.Unwrap(err))
- assert.IsType(t, &InvalidValueTypeError{}, errors.Unwrap(errors.Unwrap(err)))
+ var invalidEntryPointArgumentErr *InvalidEntryPointArgumentError
+ assert.ErrorAs(t, err, &invalidEntryPointArgumentErr)
+
+ var invalidValueTypeErr *InvalidValueTypeError
+ assert.ErrorAs(t, err, &invalidValueTypeErr)
},
},
{
@@ -8744,7 +8748,7 @@ func TestRuntimeWrappedErrorHandling(t *testing.T) {
tx2 := []byte(`
transaction {
prepare(signer: &Account) {
- let cap = signer.capabilities.get<&AnyStruct>(/public/r)!
+ let cap = signer.capabilities.get<&AnyStruct>(/public/r)
cap.check()
}
}
@@ -10567,19 +10571,6 @@ func TestRuntimeNonPublicAccessModifierInInterface(t *testing.T) {
}
`)
- tx := []byte(`
- import C1 from 0x1
- import C2 from 0x2
-
- transaction {
- prepare(acct: &Account) {
- C1.test(C2.S1())
- C1.test(C2.S2())
- C2.test()
- }
- }
- `)
-
deploy1 := DeploymentTransaction("C1", contract1)
deploy2 := DeploymentTransaction("C2", contract2)
@@ -10640,17 +10631,10 @@ func TestRuntimeNonPublicAccessModifierInInterface(t *testing.T) {
Location: nextTransactionLocation(),
},
)
- require.NoError(t, err)
+ RequireError(t, err)
- // Run test transaction
+ var conformanceErr *sema.ConformanceError
+ require.ErrorAs(t, err, &conformanceErr)
- err = runtime.ExecuteTransaction(
- Script{
- Source: tx,
- },
- Context{
- Interface: runtimeInterface,
- Location: nextTransactionLocation(),
- })
- require.NoError(t, err)
+ require.Len(t, conformanceErr.MemberMismatches, 2)
}
diff --git a/runtime/sema/access.go b/runtime/sema/access.go
index 0d17df61c1..89530e7934 100644
--- a/runtime/sema/access.go
+++ b/runtime/sema/access.go
@@ -37,8 +37,6 @@ type Access interface {
String() string
QualifiedString() string
Equal(other Access) bool
- // IsLessPermissiveThan returns whether receiver access is less permissive than argument access
- IsLessPermissiveThan(Access) bool
// PermitsAccess returns whether receiver access permits argument access
PermitsAccess(Access) bool
}
@@ -74,7 +72,7 @@ func NewEntitlementSetAccess(
}
}
-func NewAccessFromEntitlementSet(
+func NewAccessFromEntitlementOrderedSet(
set *EntitlementOrderedSet,
setKind EntitlementSetKind,
) Access {
@@ -252,18 +250,6 @@ func (e EntitlementSetAccess) PermitsAccess(other Access) bool {
}
}
-func (e EntitlementSetAccess) IsLessPermissiveThan(other Access) bool {
- switch otherAccess := other.(type) {
- case PrimitiveAccess:
- return ast.PrimitiveAccess(otherAccess) != ast.AccessSelf
- case EntitlementSetAccess:
- // subset check returns true on equality, and we want this function to be false on equality, so invert the >= check
- return !e.PermitsAccess(otherAccess)
- default:
- return true
- }
-}
-
// EntitlementMapAccess
type EntitlementMapAccess struct {
@@ -347,18 +333,6 @@ func (e *EntitlementMapAccess) PermitsAccess(other Access) bool {
}
}
-func (e *EntitlementMapAccess) IsLessPermissiveThan(other Access) bool {
- switch otherAccess := other.(type) {
- case PrimitiveAccess:
- return ast.PrimitiveAccess(otherAccess) != ast.AccessSelf
- case *EntitlementMapAccess:
- // this should be false on equality
- return !e.Type.Equal(otherAccess.Type)
- default:
- return true
- }
-}
-
func (e *EntitlementMapAccess) Domain() EntitlementSetAccess {
e.domainOnce.Do(func() {
domain := common.MappedSliceWithNoDuplicates(
@@ -483,14 +457,6 @@ func (a PrimitiveAccess) Equal(other Access) bool {
return false
}
-func (a PrimitiveAccess) IsLessPermissiveThan(otherAccess Access) bool {
- if otherPrimitive, ok := otherAccess.(PrimitiveAccess); ok {
- return ast.PrimitiveAccess(a) < ast.PrimitiveAccess(otherPrimitive)
- }
- // primitive and entitlement access should never mix in interface conformance checks
- return true
-}
-
func (a PrimitiveAccess) PermitsAccess(otherAccess Access) bool {
if otherPrimitive, ok := otherAccess.(PrimitiveAccess); ok {
return ast.PrimitiveAccess(a) >= ast.PrimitiveAccess(otherPrimitive)
diff --git a/runtime/sema/account.cdc b/runtime/sema/account.cdc
index ec6e9f0193..ce8d65a696 100644
--- a/runtime/sema/account.cdc
+++ b/runtime/sema/account.cdc
@@ -324,14 +324,15 @@ struct Account {
let account: Account.AccountCapabilities
/// Returns the capability at the given public path.
- /// Returns nil if the capability does not exist,
- /// or if the given type is not a supertype of the capability's borrow type.
+ /// If the capability does not exist,
+ /// or if the given type is not a supertype of the capability's borrow type,
+ /// returns an "invalid" capability with ID 0 that will always fail to `check` or `borrow`
access(all)
- view fun get(_ path: PublicPath): Capability?
+ view fun get(_ path: PublicPath): Capability
/// Borrows the capability at the given public path.
/// Returns nil if the capability does not exist, or cannot be borrowed using the given type.
- /// The function is equivalent to `get(path)?.borrow()`.
+ /// The function is equivalent to `get(path).borrow()`.
access(all)
view fun borrow(_ path: PublicPath): T?
diff --git a/runtime/sema/account.gen.go b/runtime/sema/account.gen.go
index 1e1fbbc8d3..f7935b2086 100644
--- a/runtime/sema/account.gen.go
+++ b/runtime/sema/account.gen.go
@@ -1233,21 +1233,20 @@ var Account_CapabilitiesTypeGetFunctionType = &FunctionType{
},
},
ReturnTypeAnnotation: NewTypeAnnotation(
- &OptionalType{
- Type: MustInstantiate(
- &CapabilityType{},
- &GenericType{
- TypeParameter: Account_CapabilitiesTypeGetFunctionTypeParameterT,
- },
- ),
- },
+ MustInstantiate(
+ &CapabilityType{},
+ &GenericType{
+ TypeParameter: Account_CapabilitiesTypeGetFunctionTypeParameterT,
+ },
+ ),
),
}
const Account_CapabilitiesTypeGetFunctionDocString = `
Returns the capability at the given public path.
-Returns nil if the capability does not exist,
-or if the given type is not a supertype of the capability's borrow type.
+If the capability does not exist,
+or if the given type is not a supertype of the capability's borrow type,
+returns an "invalid" capability with ID 0 that will always fail to ` + "`check`" + ` or ` + "`borrow`" + `
`
const Account_CapabilitiesTypeBorrowFunctionName = "borrow"
@@ -1284,7 +1283,7 @@ var Account_CapabilitiesTypeBorrowFunctionType = &FunctionType{
const Account_CapabilitiesTypeBorrowFunctionDocString = `
Borrows the capability at the given public path.
Returns nil if the capability does not exist, or cannot be borrowed using the given type.
-The function is equivalent to ` + "`get(path)?.borrow()`" + `.
+The function is equivalent to ` + "`get(path).borrow()`" + `.
`
const Account_CapabilitiesTypeExistsFunctionName = "exists"
diff --git a/runtime/sema/check_composite_declaration.go b/runtime/sema/check_composite_declaration.go
index d18536496d..e70eb1ec2a 100644
--- a/runtime/sema/check_composite_declaration.go
+++ b/runtime/sema/check_composite_declaration.go
@@ -107,20 +107,35 @@ func (checker *Checker) checkAttachmentMembersAccess(attachmentType *CompositeTy
var supportedBaseEntitlements *EntitlementOrderedSet
baseType := attachmentType.GetBaseType()
if base, ok := attachmentType.GetBaseType().(EntitlementSupportingType); ok {
- supportedBaseEntitlements = base.SupportedEntitlements()
+ // TODO:
+ access := base.SupportedEntitlements().Access()
+ if access, ok := access.(EntitlementSetAccess); ok {
+ supportedBaseEntitlements = access.Entitlements
+ }
}
if supportedBaseEntitlements == nil {
supportedBaseEntitlements = &orderedmap.OrderedMap[*EntitlementType, struct{}]{}
}
- attachmentType.EffectiveInterfaceConformanceSet().ForEach(func(intf *InterfaceType) {
- intf.Members.Foreach(func(_ string, member *Member) {
- checker.checkAttachmentMemberAccess(attachmentType, member, baseType, supportedBaseEntitlements)
+ attachmentType.EffectiveInterfaceConformanceSet().
+ ForEach(func(interfaceType *InterfaceType) {
+ interfaceType.Members.Foreach(func(_ string, member *Member) {
+ checker.checkAttachmentMemberAccess(
+ attachmentType,
+ member,
+ baseType,
+ supportedBaseEntitlements,
+ )
+ })
})
- })
attachmentType.Members.Foreach(func(_ string, member *Member) {
- checker.checkAttachmentMemberAccess(attachmentType, member, baseType, supportedBaseEntitlements)
+ checker.checkAttachmentMemberAccess(
+ attachmentType,
+ member,
+ baseType,
+ supportedBaseEntitlements,
+ )
})
}
@@ -1592,7 +1607,7 @@ func (checker *Checker) memberSatisfied(
effectiveInterfaceMemberAccess := checker.effectiveInterfaceMemberAccess(interfaceMember.Access)
effectiveCompositeMemberAccess := checker.EffectiveCompositeMemberAccess(compositeMember.Access)
- return !effectiveCompositeMemberAccess.IsLessPermissiveThan(effectiveInterfaceMemberAccess)
+ return effectiveCompositeMemberAccess.Equal(effectiveInterfaceMemberAccess)
}
func CompositeLikeConstructorType(
@@ -2081,7 +2096,7 @@ func (checker *Checker) checkDefaultDestroyEventParam(
// make `self` and `base` available when checking default arguments so the fields of the composite are available
// as this event is emitted when the resource is destroyed, these values should be fully entitled
- fullyEntitledAccess := NewAccessFromEntitlementSet(containerType.SupportedEntitlements(), Conjunction)
+ fullyEntitledAccess := containerType.SupportedEntitlements().Access()
checker.declareSelfValue(
fullyEntitledAccess,
@@ -2224,7 +2239,7 @@ func (checker *Checker) checkSpecialFunction(
defer checker.leaveValueScope(specialFunction.EndPosition, checkResourceLoss)
// initializers and destructors are considered fully entitled to their container type
- fnAccess := NewAccessFromEntitlementSet(containerType.SupportedEntitlements(), Conjunction)
+ fnAccess := containerType.SupportedEntitlements().Access()
checker.declareSelfValue(fnAccess, containerType, containerDocString)
diff --git a/runtime/sema/check_function.go b/runtime/sema/check_function.go
index f94e1ef929..2de49767b6 100644
--- a/runtime/sema/check_function.go
+++ b/runtime/sema/check_function.go
@@ -423,7 +423,7 @@ func (checker *Checker) visitWithPostConditions(postConditions *ast.Conditions,
// here the `result` value in the `post` block will have type `auth(E, X, Y) &R`
if entitlementSupportingType, ok := innerType.(EntitlementSupportingType); ok {
supportedEntitlements := entitlementSupportingType.SupportedEntitlements()
- auth = NewAccessFromEntitlementSet(supportedEntitlements, Conjunction)
+ auth = supportedEntitlements.Access()
}
resultType = &ReferenceType{
diff --git a/runtime/sema/check_member_expression.go b/runtime/sema/check_member_expression.go
index 8dbbe11580..3f04c0b29f 100644
--- a/runtime/sema/check_member_expression.go
+++ b/runtime/sema/check_member_expression.go
@@ -521,12 +521,9 @@ func allSupportedEntitlements(typ Type, isInnerType bool) Access {
return allSupportedEntitlements(typ.ReturnTypeAnnotation.Type, true)
}
case EntitlementSupportingType:
- supportedEntitlements := typ.SupportedEntitlements()
- if supportedEntitlements != nil && supportedEntitlements.Len() > 0 {
- return EntitlementSetAccess{
- SetKind: Conjunction,
- Entitlements: supportedEntitlements,
- }
+ access := typ.SupportedEntitlements().Access()
+ if access != UnauthorizedAccess {
+ return access
}
}
diff --git a/runtime/sema/entitlementset.go b/runtime/sema/entitlementset.go
new file mode 100644
index 0000000000..986098f786
--- /dev/null
+++ b/runtime/sema/entitlementset.go
@@ -0,0 +1,191 @@
+/*
+ * Cadence - The resource-oriented smart contract programming language
+ *
+ * Copyright Dapper Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package sema
+
+import (
+ "sort"
+ "strings"
+
+ "github.com/onflow/cadence/runtime/common/orderedmap"
+)
+
+func disjunctionKey(disjunction *EntitlementOrderedSet) string {
+ // Gather type IDs, sorted
+ var typeIDs []string
+ disjunction.Foreach(func(entitlementType *EntitlementType, _ struct{}) {
+ typeIDs = append(typeIDs, string(entitlementType.ID()))
+ })
+ sort.Strings(typeIDs)
+
+ // Join type IDs
+ var sb strings.Builder
+ for index, typeID := range typeIDs {
+ if index > 0 {
+ sb.WriteByte('|')
+ }
+ sb.WriteString(typeID)
+ }
+ return sb.String()
+}
+
+// DisjunctionOrderedSet is a set of entitlement disjunctions, keyed by disjunctionKey
+type DisjunctionOrderedSet = orderedmap.OrderedMap[string, *EntitlementOrderedSet]
+
+// EntitlementSet is a set (conjunction) of entitlements and entitlement disjunctions.
+// e.g. {entitlements: A, B; disjunctions: (C | D), (E | F)}
+type EntitlementSet struct {
+ // Entitlements is a set of entitlements
+ Entitlements *EntitlementOrderedSet
+ // Disjunctions is a set of entitlement disjunctions, keyed by disjunctionKey
+ Disjunctions *DisjunctionOrderedSet
+}
+
+// Add adds an entitlement to the set.
+//
+// NOTE: The resulting set is potentially not minimal:
+// If the set contains a disjunction that contains the entitlement,
+// then the disjunction is NOT discarded.
+// Call Minimize to obtain a minimal set.
+func (s *EntitlementSet) Add(entitlementType *EntitlementType) {
+ if s.Entitlements == nil {
+ s.Entitlements = orderedmap.New[EntitlementOrderedSet](1)
+ }
+ s.Entitlements.Set(entitlementType, struct{}{})
+}
+
+// AddDisjunction adds an entitlement disjunction to the set.
+// If the set already contains an entitlement of the given disjunction,
+// then the disjunction is discarded.
+func (s *EntitlementSet) AddDisjunction(disjunction *EntitlementOrderedSet) {
+ // If this set already contains an entitlement of the given disjunction,
+ // there is no need to add the disjunction.
+ if s.Entitlements != nil &&
+ disjunction.ForAnyKey(s.Entitlements.Contains) {
+
+ return
+ }
+
+ // If the disjunction already exists in the set,
+ // there is no need to add the disjunction.
+ key := disjunctionKey(disjunction)
+ if s.Disjunctions != nil && s.Disjunctions.Contains(key) {
+ return
+ }
+
+ if s.Disjunctions == nil {
+ s.Disjunctions = orderedmap.New[DisjunctionOrderedSet](1)
+ }
+ s.Disjunctions.Set(key, disjunction)
+}
+
+// Merge merges the other entitlement set into this set.
+// The result is the union of the entitlements and disjunctions of both sets.
+//
+// The result is not necessarily minimal:
+// For example, if s contains a disjunction d,
+// and other contains an entitlement e that is part of d,
+// then the result will still contain d.
+// See Add.
+// Call Minimize to obtain a minimal set.
+func (s *EntitlementSet) Merge(other *EntitlementSet) {
+ if other.Entitlements != nil {
+ other.Entitlements.Foreach(func(key *EntitlementType, _ struct{}) {
+ s.Add(key)
+ })
+ }
+
+ if other.Disjunctions != nil {
+ other.Disjunctions.
+ Foreach(func(_ string, disjunction *EntitlementOrderedSet) {
+ s.AddDisjunction(disjunction)
+ })
+ }
+}
+
+// Minimize minimizes the entitlement set.
+// It removes disjunctions that contain entitlements
+// which are also in the entitlement set
+func (s *EntitlementSet) Minimize() {
+ // If there are no entitlements or no disjunctions,
+ // there is nothing to minimize
+ if s.Entitlements == nil || s.Disjunctions == nil {
+ return
+ }
+
+ // Remove disjunctions that contain entitlements that are also in the entitlement set
+ var keysToRemove []string
+ s.Disjunctions.Foreach(func(key string, disjunction *EntitlementOrderedSet) {
+ if disjunction.ForAnyKey(s.Entitlements.Contains) {
+ keysToRemove = append(keysToRemove, key)
+ }
+ })
+
+ for _, key := range keysToRemove {
+ s.Disjunctions.Delete(key)
+ }
+}
+
+// Access returns the access represented by the entitlement set.
+// The set is minimized before the access is computed.
+func (s *EntitlementSet) Access() Access {
+ if s == nil {
+ return UnauthorizedAccess
+ }
+
+ s.Minimize()
+
+ var entitlements *EntitlementOrderedSet
+ if s.Entitlements != nil && s.Entitlements.Len() > 0 {
+ entitlements = orderedmap.New[EntitlementOrderedSet](s.Entitlements.Len())
+ entitlements.SetAll(s.Entitlements)
+ }
+
+ if s.Disjunctions != nil && s.Disjunctions.Len() > 0 {
+ if entitlements == nil {
+ // If there are no entitlements, and there is only one disjunction,
+ // then the access is the disjunction.
+ if s.Disjunctions.Len() == 1 {
+ onlyDisjunction := s.Disjunctions.Oldest().Value
+ return EntitlementSetAccess{
+ Entitlements: onlyDisjunction,
+ SetKind: Disjunction,
+ }
+ }
+
+ // There are no entitlements, but disjunctions.
+ // Allocate a new ordered map for all entitlements in the disjunctions
+ // (at minimum there are two entitlements in each disjunction).
+ entitlements = orderedmap.New[EntitlementOrderedSet](s.Disjunctions.Len() * 2)
+ }
+
+ // Add all entitlements in the disjunctions to the entitlements
+ s.Disjunctions.Foreach(func(_ string, disjunction *EntitlementOrderedSet) {
+ entitlements.SetAll(disjunction)
+ })
+ }
+
+ if entitlements == nil {
+ return UnauthorizedAccess
+ }
+
+ return EntitlementSetAccess{
+ Entitlements: entitlements,
+ SetKind: Conjunction,
+ }
+}
diff --git a/runtime/sema/entitlementset_test.go b/runtime/sema/entitlementset_test.go
new file mode 100644
index 0000000000..ec5d0d80ad
--- /dev/null
+++ b/runtime/sema/entitlementset_test.go
@@ -0,0 +1,465 @@
+/*
+ * Cadence - The resource-oriented smart contract programming language
+ *
+ * Copyright Dapper Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package sema
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "github.com/onflow/cadence/runtime/common/orderedmap"
+)
+
+func TestEntitlementSet_Add(t *testing.T) {
+ t.Parallel()
+
+ t.Run("no existing disjunctions", func(t *testing.T) {
+
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ set.Add(e1)
+
+ assert.Equal(t, 1, set.Entitlements.Len())
+ assert.Nil(t, set.Disjunctions)
+
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+ set.Add(e2)
+
+ assert.Equal(t, 2, set.Entitlements.Len())
+ assert.Nil(t, set.Disjunctions)
+ })
+
+ t.Run("with existing disjunctions", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+
+ e1e2 := orderedmap.New[EntitlementOrderedSet](2)
+ e1e2.Set(e1, struct{}{})
+ e1e2.Set(e2, struct{}{})
+
+ set.AddDisjunction(e1e2)
+
+ assert.Nil(t, set.Entitlements)
+ assert.Equal(t, 1, set.Disjunctions.Len())
+
+ // Add
+
+ set.Add(e2)
+
+ assert.Equal(t, 1, set.Entitlements.Len())
+ // NOTE: the set is not minimal,
+ // the disjunction is not discarded
+ assert.Equal(t, 1, set.Disjunctions.Len())
+
+ })
+}
+
+func TestEntitlementSet_AddDisjunction(t *testing.T) {
+ t.Parallel()
+
+ t.Run("no existing entitlements", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+
+ e1e2 := orderedmap.New[EntitlementOrderedSet](2)
+ e1e2.Set(e1, struct{}{})
+ e1e2.Set(e2, struct{}{})
+
+ // Add
+
+ set.AddDisjunction(e1e2)
+
+ assert.Nil(t, set.Entitlements)
+ assert.Equal(t, 1, set.Disjunctions.Len())
+
+ // Re-add same
+
+ set.AddDisjunction(e1e2)
+
+ assert.Nil(t, set.Entitlements)
+ assert.Equal(t, 1, set.Disjunctions.Len())
+
+ // Re-add equal with different order
+
+ e2e1 := orderedmap.New[EntitlementOrderedSet](2)
+ e2e1.Set(e2, struct{}{})
+ e2e1.Set(e1, struct{}{})
+
+ set.AddDisjunction(e2e1)
+
+ assert.Nil(t, set.Entitlements)
+ assert.Equal(t, 1, set.Disjunctions.Len())
+
+ // Re-add different, with partial overlap
+
+ e3 := &EntitlementType{
+ Identifier: "E3",
+ }
+
+ e2e3 := orderedmap.New[EntitlementOrderedSet](2)
+ e2e3.Set(e2, struct{}{})
+ e2e3.Set(e3, struct{}{})
+
+ set.AddDisjunction(e2e3)
+
+ assert.Nil(t, set.Entitlements)
+ assert.Equal(t, 2, set.Disjunctions.Len())
+ })
+
+ t.Run("with existing entitlements", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+
+ set.Add(e1)
+
+ assert.Equal(t, 1, set.Entitlements.Len())
+ assert.Nil(t, set.Disjunctions)
+
+ // Add disjunction with overlap
+
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+
+ e1e2 := orderedmap.New[EntitlementOrderedSet](2)
+ e1e2.Set(e1, struct{}{})
+ e1e2.Set(e2, struct{}{})
+
+ set.AddDisjunction(e1e2)
+
+ assert.Equal(t, 1, set.Entitlements.Len())
+ assert.Nil(t, set.Disjunctions)
+ })
+}
+
+func TestEntitlementSet_Merge(t *testing.T) {
+ t.Parallel()
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+ e3 := &EntitlementType{
+ Identifier: "E3",
+ }
+ e4 := &EntitlementType{
+ Identifier: "E4",
+ }
+
+ e2e3 := orderedmap.New[EntitlementOrderedSet](2)
+ e2e3.Set(e2, struct{}{})
+ e2e3.Set(e3, struct{}{})
+
+ e3e4 := orderedmap.New[EntitlementOrderedSet](2)
+ e3e4.Set(e3, struct{}{})
+ e3e4.Set(e4, struct{}{})
+
+ // Prepare set 1
+
+ set1 := &EntitlementSet{}
+ set1.Add(e1)
+ set1.AddDisjunction(e2e3)
+
+ assert.Equal(t, 1, set1.Entitlements.Len())
+ assert.Equal(t, 1, set1.Disjunctions.Len())
+
+ // Prepare set 2
+
+ set2 := &EntitlementSet{}
+ set2.Add(e2)
+ set2.AddDisjunction(e3e4)
+
+ assert.Equal(t, 1, set2.Entitlements.Len())
+ assert.Equal(t, 1, set2.Disjunctions.Len())
+
+ // Merge
+
+ set1.Merge(set2)
+
+ assert.Equal(t, 2, set1.Entitlements.Len())
+ assert.True(t, set1.Entitlements.Contains(e1))
+ assert.True(t, set1.Entitlements.Contains(e2))
+
+ // NOTE: the result is not minimal
+ assert.Equal(t, 2, set1.Disjunctions.Len())
+ assert.True(t, set1.Disjunctions.Contains(disjunctionKey(e2e3)))
+ assert.True(t, set1.Disjunctions.Contains(disjunctionKey(e3e4)))
+}
+
+func TestEntitlementSet_Minimize(t *testing.T) {
+ t.Parallel()
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+
+ e1e2 := orderedmap.New[EntitlementOrderedSet](2)
+ e1e2.Set(e1, struct{}{})
+ e1e2.Set(e2, struct{}{})
+
+ set := &EntitlementSet{}
+ set.AddDisjunction(e1e2)
+
+ assert.Nil(t, set.Entitlements)
+ assert.Equal(t, 1, set.Disjunctions.Len())
+
+ // Add entitlement
+
+ set.Add(e1)
+
+ // NOTE: the set is not minimal
+ assert.Equal(t, 1, set.Entitlements.Len())
+ assert.Equal(t, 1, set.Disjunctions.Len())
+
+ // Minimize
+
+ set.Minimize()
+
+ assert.Equal(t, 1, set.Entitlements.Len())
+ assert.Equal(t, 0, set.Disjunctions.Len())
+}
+
+func TestEntitlementSet_Access(t *testing.T) {
+ t.Parallel()
+
+ t.Run("no entitlements, no disjunctions", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ access := set.Access()
+
+ assert.Equal(t, UnauthorizedAccess, access)
+ })
+
+ t.Run("entitlements, no disjunctions", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ set.Add(e1)
+
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+ set.Add(e2)
+
+ access := set.Access()
+
+ expectedEntitlements := orderedmap.New[EntitlementOrderedSet](2)
+ expectedEntitlements.Set(e1, struct{}{})
+ expectedEntitlements.Set(e2, struct{}{})
+
+ assert.Equal(t,
+ EntitlementSetAccess{
+ Entitlements: expectedEntitlements,
+ SetKind: Conjunction,
+ },
+ access,
+ )
+ })
+
+ t.Run("no entitlements, one disjunction", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+
+ e1e2 := orderedmap.New[EntitlementOrderedSet](2)
+ e1e2.Set(e1, struct{}{})
+ e1e2.Set(e2, struct{}{})
+
+ set.AddDisjunction(e1e2)
+
+ access := set.Access()
+
+ assert.Equal(t,
+ EntitlementSetAccess{
+ Entitlements: e1e2,
+ SetKind: Disjunction,
+ },
+ access,
+ )
+ })
+
+ t.Run("no entitlements, two disjunctions", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+ e3 := &EntitlementType{
+ Identifier: "E3",
+ }
+
+ e1e2 := orderedmap.New[EntitlementOrderedSet](2)
+ e1e2.Set(e1, struct{}{})
+ e1e2.Set(e2, struct{}{})
+
+ e2e3 := orderedmap.New[EntitlementOrderedSet](2)
+ e2e3.Set(e2, struct{}{})
+ e2e3.Set(e3, struct{}{})
+
+ set.AddDisjunction(e1e2)
+ set.AddDisjunction(e2e3)
+
+ access := set.Access()
+
+ // Cannot express (E1 | E2), (E2 | E3) in an access/auth,
+ // so the result is the conjunction of all entitlements
+
+ expectedEntitlements := orderedmap.New[EntitlementOrderedSet](3)
+ expectedEntitlements.Set(e1, struct{}{})
+ expectedEntitlements.Set(e2, struct{}{})
+ expectedEntitlements.Set(e3, struct{}{})
+
+ assert.Equal(t,
+ EntitlementSetAccess{
+ Entitlements: expectedEntitlements,
+ SetKind: Conjunction,
+ },
+ access,
+ )
+ })
+
+ t.Run("entitlement, one disjunction, minimal", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+ e3 := &EntitlementType{
+ Identifier: "E3",
+ }
+
+ set.Add(e1)
+
+ e2e3 := orderedmap.New[EntitlementOrderedSet](2)
+ e2e3.Set(e2, struct{}{})
+ e2e3.Set(e3, struct{}{})
+
+ set.AddDisjunction(e2e3)
+
+ access := set.Access()
+
+ // Cannot express E1, (E2 | E3) in an access/auth,
+ // so the result is the conjunction of all entitlements
+
+ expectedEntitlements := orderedmap.New[EntitlementOrderedSet](3)
+ expectedEntitlements.Set(e1, struct{}{})
+ expectedEntitlements.Set(e2, struct{}{})
+ expectedEntitlements.Set(e3, struct{}{})
+
+ assert.Equal(t,
+ EntitlementSetAccess{
+ Entitlements: expectedEntitlements,
+ SetKind: Conjunction,
+ },
+ access,
+ )
+ })
+
+ t.Run("entitlement, one disjunction, not minimal", func(t *testing.T) {
+ t.Parallel()
+
+ set := &EntitlementSet{}
+
+ e1 := &EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &EntitlementType{
+ Identifier: "E2",
+ }
+
+ e1e2 := orderedmap.New[EntitlementOrderedSet](2)
+ e1e2.Set(e1, struct{}{})
+ e1e2.Set(e2, struct{}{})
+
+ set.AddDisjunction(e1e2)
+
+ set.Add(e1)
+
+ access := set.Access()
+
+ // NOTE: disjunction got removed during minimization
+
+ expectedEntitlements := orderedmap.New[EntitlementOrderedSet](1)
+ expectedEntitlements.Set(e1, struct{}{})
+
+ assert.Equal(t,
+ EntitlementSetAccess{
+ Entitlements: expectedEntitlements,
+ SetKind: Conjunction,
+ },
+ access,
+ )
+ })
+}
diff --git a/runtime/sema/errors.go b/runtime/sema/errors.go
index 6a4153be1b..68a95eb2d7 100644
--- a/runtime/sema/errors.go
+++ b/runtime/sema/errors.go
@@ -3071,6 +3071,7 @@ func (e *InvalidAccessError) SecondaryError() string {
fmt.Fprint(&sb, "reference needs all of entitlements ")
missingEntitlements.ForeachWithIndex(enumerateEntitlements(missingLen, "and"))
}
+
case Disjunction:
// when both `required` is a disjunction, we know `possessed` has none of the entitlements in it:
// suggest adding one of those entitlements
@@ -3079,6 +3080,9 @@ func (e *InvalidAccessError) SecondaryError() string {
requiredLen := requiredEntitlementsSet.Len()
// singleton-1 sets are always conjunctions
requiredEntitlementsSet.ForeachWithIndex(enumerateEntitlements(requiredLen, "or"))
+
+ default:
+ panic(errors.NewUnreachableError())
}
return sb.String()
diff --git a/runtime/sema/type.go b/runtime/sema/type.go
index 08fd27de9a..dbc0ff4558 100644
--- a/runtime/sema/type.go
+++ b/runtime/sema/type.go
@@ -30,7 +30,6 @@ import (
"github.com/onflow/cadence/fixedpoint"
"github.com/onflow/cadence/runtime/ast"
"github.com/onflow/cadence/runtime/common"
- "github.com/onflow/cadence/runtime/common/orderedmap"
"github.com/onflow/cadence/runtime/errors"
)
@@ -253,7 +252,7 @@ type NominalType interface {
// entitlement supporting types
type EntitlementSupportingType interface {
Type
- SupportedEntitlements() *EntitlementOrderedSet
+ SupportedEntitlements() *EntitlementSet
}
// ContainedType is a type which might have a container type
@@ -693,7 +692,7 @@ func (t *OptionalType) QualifiedString() string {
}
func FormatOptionalTypeID[T ~string](elementTypeID T) T {
- return T(fmt.Sprintf("%s?", elementTypeID))
+ return T(fmt.Sprintf("(%s)?", elementTypeID))
}
func (t *OptionalType) ID() TypeID {
@@ -797,7 +796,7 @@ func (t *OptionalType) Resolve(typeArguments *TypeParameterTypeOrderedMap) Type
}
}
-func (t *OptionalType) SupportedEntitlements() *EntitlementOrderedSet {
+func (t *OptionalType) SupportedEntitlements() *EntitlementSet {
if entitlementSupportingType, ok := t.Type.(EntitlementSupportingType); ok {
return entitlementSupportingType.SupportedEntitlements()
}
@@ -3125,15 +3124,15 @@ func (t *VariableSizedType) Resolve(typeArguments *TypeParameterTypeOrderedMap)
}
}
-func (t *VariableSizedType) SupportedEntitlements() *EntitlementOrderedSet {
+func (t *VariableSizedType) SupportedEntitlements() *EntitlementSet {
return arrayDictionaryEntitlements
}
-var arrayDictionaryEntitlements = func() *EntitlementOrderedSet {
- set := orderedmap.New[EntitlementOrderedSet](3)
- set.Set(MutateType, struct{}{})
- set.Set(InsertType, struct{}{})
- set.Set(RemoveType, struct{}{})
+var arrayDictionaryEntitlements = func() *EntitlementSet {
+ set := &EntitlementSet{}
+ set.Add(MutateType)
+ set.Add(InsertType)
+ set.Add(RemoveType)
return set
}()
@@ -3321,7 +3320,7 @@ func (t *ConstantSizedType) Resolve(typeArguments *TypeParameterTypeOrderedMap)
}
}
-func (t *ConstantSizedType) SupportedEntitlements() *EntitlementOrderedSet {
+func (t *ConstantSizedType) SupportedEntitlements() *EntitlementSet {
return arrayDictionaryEntitlements
}
@@ -4770,7 +4769,7 @@ type CompositeType struct {
// Only applicable for native composite types
ImportableBuiltin bool
supportedEntitlementsOnce sync.Once
- supportedEntitlements *EntitlementOrderedSet
+ supportedEntitlements *EntitlementSet
}
var _ Type = &CompositeType{}
@@ -4957,27 +4956,72 @@ func (t *CompositeType) MemberMap() *StringMemberOrderedMap {
return t.Members
}
-func (t *CompositeType) SupportedEntitlements() *EntitlementOrderedSet {
- t.supportedEntitlementsOnce.Do(func() {
- set := orderedmap.New[EntitlementOrderedSet](t.Members.Len())
- t.Members.Foreach(func(_ string, member *Member) {
- switch access := member.Access.(type) {
- case *EntitlementMapAccess:
- set.SetAll(access.Domain().Entitlements)
- case EntitlementSetAccess:
- set.SetAll(access.Entitlements)
+func newCompositeOrInterfaceSupportedEntitlementSet(
+ members *StringMemberOrderedMap,
+ effectiveInterfaceConformanceSet *InterfaceSet,
+) *EntitlementSet {
+ set := &EntitlementSet{}
+
+ // We need to handle conjunctions and disjunctions separately, in two passes,
+ // as adding entitlements after disjunctions does not remove disjunctions from the set,
+ // whereas adding disjunctions after entitlements does.
+
+ // First pass: Handle maps and conjunctions
+ members.Foreach(func(_ string, member *Member) {
+ switch access := member.Access.(type) {
+ case *EntitlementMapAccess:
+ // Domain is a conjunction, add all entitlements
+ domain := access.Domain()
+ if domain.SetKind != Conjunction {
+ panic(errors.NewUnreachableError())
}
- })
- t.EffectiveInterfaceConformanceSet().ForEach(func(it *InterfaceType) {
- set.SetAll(it.SupportedEntitlements())
- })
+ domain.Entitlements.
+ Foreach(func(entitlementType *EntitlementType, _ struct{}) {
+ set.Add(entitlementType)
+ })
+
+ case EntitlementSetAccess:
+ // Disjunctions are handled in a second pass
+ if access.SetKind == Conjunction {
+ access.Entitlements.Foreach(func(entitlementType *EntitlementType, _ struct{}) {
+ set.Add(entitlementType)
+ })
+ }
+ }
+ })
+
+ // Second pass: Handle disjunctions
+ for pair := members.Oldest(); pair != nil; pair = pair.Next() {
+ member := pair.Value
+
+ if access, ok := member.Access.(EntitlementSetAccess); ok &&
+ access.SetKind == Disjunction {
+
+ set.AddDisjunction(access.Entitlements)
+ }
+ }
+
+ effectiveInterfaceConformanceSet.ForEach(func(it *InterfaceType) {
+ set.Merge(it.SupportedEntitlements())
+ })
+
+ return set
+}
+
+func (t *CompositeType) SupportedEntitlements() *EntitlementSet {
+ t.supportedEntitlementsOnce.Do(func() {
+
+ set := newCompositeOrInterfaceSupportedEntitlementSet(
+ t.Members,
+ t.EffectiveInterfaceConformanceSet(),
+ )
// attachments support at least the entitlements supported by their base,
// and we must ensure there is no recursive case
if entitlementSupportingBase, isEntitlementSupportingBase :=
t.GetBaseType().(EntitlementSupportingType); isEntitlementSupportingBase && entitlementSupportingBase != t {
- set.SetAll(entitlementSupportingBase.SupportedEntitlements())
+ set.Merge(entitlementSupportingBase.SupportedEntitlements())
}
t.supportedEntitlements = set
@@ -5155,7 +5199,7 @@ func (t *CompositeType) TypeIndexingElementType(indexingType Type, _ func() ast.
case *CompositeType:
// when accessed on an owned value, the produced attachment reference is entitled to all the
// entitlements it supports
- access = NewAccessFromEntitlementSet(attachment.SupportedEntitlements(), Conjunction)
+ access = attachment.SupportedEntitlements().Access()
}
return &OptionalType{
@@ -5658,7 +5702,7 @@ type InterfaceType struct {
effectiveInterfaceConformances []Conformance
effectiveInterfaceConformanceSet *InterfaceSet
supportedEntitlementsOnce sync.Once
- supportedEntitlements *EntitlementOrderedSet
+ supportedEntitlements *EntitlementSet
DefaultDestroyEvent *CompositeType
}
@@ -5767,27 +5811,12 @@ func (t *InterfaceType) MemberMap() *StringMemberOrderedMap {
return t.Members
}
-func (t *InterfaceType) SupportedEntitlements() *EntitlementOrderedSet {
+func (t *InterfaceType) SupportedEntitlements() *EntitlementSet {
t.supportedEntitlementsOnce.Do(func() {
- set := orderedmap.New[EntitlementOrderedSet](t.Members.Len())
- t.Members.Foreach(func(_ string, member *Member) {
- switch access := member.Access.(type) {
- case *EntitlementMapAccess:
- access.Domain().Entitlements.Foreach(func(entitlement *EntitlementType, _ struct{}) {
- set.Set(entitlement, struct{}{})
- })
- case EntitlementSetAccess:
- access.Entitlements.Foreach(func(entitlement *EntitlementType, _ struct{}) {
- set.Set(entitlement, struct{}{})
- })
- }
- })
-
- t.EffectiveInterfaceConformanceSet().ForEach(func(it *InterfaceType) {
- set.SetAll(it.SupportedEntitlements())
- })
-
- t.supportedEntitlements = set
+ t.supportedEntitlements = newCompositeOrInterfaceSupportedEntitlementSet(
+ t.Members,
+ t.EffectiveInterfaceConformanceSet(),
+ )
})
return t.supportedEntitlements
}
@@ -6535,7 +6564,7 @@ func (t *DictionaryType) Resolve(typeArguments *TypeParameterTypeOrderedMap) Typ
}
}
-func (t *DictionaryType) SupportedEntitlements() *EntitlementOrderedSet {
+func (t *DictionaryType) SupportedEntitlements() *EntitlementSet {
return arrayDictionaryEntitlements
}
@@ -8146,7 +8175,7 @@ type IntersectionType struct {
memberResolvers map[string]MemberResolver
memberResolversOnce sync.Once
supportedEntitlementsOnce sync.Once
- supportedEntitlements *EntitlementOrderedSet
+ supportedEntitlements *EntitlementSet
// Deprecated
LegacyType Type
}
@@ -8401,13 +8430,14 @@ func (t *IntersectionType) initializeMemberResolvers() {
})
}
-func (t *IntersectionType) SupportedEntitlements() *EntitlementOrderedSet {
+func (t *IntersectionType) SupportedEntitlements() *EntitlementSet {
t.supportedEntitlementsOnce.Do(func() {
// an intersection type supports all the entitlements of its interfaces
- set := orderedmap.New[EntitlementOrderedSet](t.EffectiveIntersectionSet().Len())
- t.EffectiveIntersectionSet().ForEach(func(it *InterfaceType) {
- set.SetAll(it.SupportedEntitlements())
- })
+ set := &EntitlementSet{}
+ t.EffectiveIntersectionSet().
+ ForEach(func(interfaceType *InterfaceType) {
+ set.Merge(interfaceType.SupportedEntitlements())
+ })
t.supportedEntitlements = set
})
@@ -8450,7 +8480,7 @@ func (t *IntersectionType) TypeIndexingElementType(indexingType Type, _ func() a
case *CompositeType:
// when accessed on an owned value, the produced attachment reference is entitled to all the
// entitlements it supports
- access = NewAccessFromEntitlementSet(attachment.SupportedEntitlements(), Conjunction)
+ access = attachment.SupportedEntitlements().Access()
}
return &OptionalType{
diff --git a/runtime/sema/type_tags.go b/runtime/sema/type_tags.go
index d54de169c5..1cd45718fa 100644
--- a/runtime/sema/type_tags.go
+++ b/runtime/sema/type_tags.go
@@ -736,7 +736,7 @@ func leastCommonAccess(accessA, accessB Access) Access {
// e.g. the least common supertype of (E, F) and (E, G) is just E
intersection := orderedmap.KeySetIntersection(setAccessA.Entitlements, setAccessB.Entitlements)
if intersection.Len() != 0 {
- return NewAccessFromEntitlementSet(intersection, Conjunction)
+ return NewAccessFromEntitlementOrderedSet(intersection, Conjunction)
}
// if the intersection is completely empty (i.e. the two sets are totally disjoint)
// the least common supertype is the union of one element arbitrarily chosen from each conjunction.
@@ -749,7 +749,7 @@ func leastCommonAccess(accessA, accessB Access) Access {
// e.g. the least common supertype of E and F is `(E | F)`
// and the least common supertype of `(A, B)` and `(C, D)` is `(A | B | C | D)`
union := orderedmap.KeySetUnion(setAccessA.Entitlements, setAccessB.Entitlements)
- return NewAccessFromEntitlementSet(union, Disjunction)
+ return NewAccessFromEntitlementOrderedSet(union, Disjunction)
case Disjunction:
// least common supertype of a non-disjoint conjunction and a disjunction is
@@ -769,7 +769,7 @@ func leastCommonAccess(accessA, accessB Access) Access {
// which luckily here is just the union of the elements of the disjunction and the conjunction.
// E.g. our computed supertype of `(E, F)` and `(G | H)` is `(E | F | G | H)`
union := orderedmap.KeySetUnion(setAccessA.Entitlements, setAccessB.Entitlements)
- return NewAccessFromEntitlementSet(union, Disjunction)
+ return NewAccessFromEntitlementOrderedSet(union, Disjunction)
}
case Disjunction:
@@ -781,7 +781,7 @@ func leastCommonAccess(accessA, accessB Access) Access {
// least common access of two disjunctions is their union
// e.g. the least common supertype of (E | F) and (E | G) is (E | F | G)
union := orderedmap.KeySetUnion(setAccessA.Entitlements, setAccessB.Entitlements)
- return NewAccessFromEntitlementSet(union, Disjunction)
+ return NewAccessFromEntitlementOrderedSet(union, Disjunction)
}
}
diff --git a/runtime/stdlib/account.go b/runtime/stdlib/account.go
index bb5f0060a2..382cc5d5b7 100644
--- a/runtime/stdlib/account.go
+++ b/runtime/stdlib/account.go
@@ -3603,7 +3603,15 @@ func newAccountCapabilitiesGetFunction(
typeParameterPairValue := invocation.TypeParameterTypes.Oldest().Value
// `Never` is never a supertype of any stored value
if typeParameterPairValue.Equal(sema.NeverType) {
- return interpreter.Nil
+ if borrow {
+ return interpreter.Nil
+ } else {
+ return interpreter.NewInvalidCapabilityValue(
+ inter,
+ addressValue,
+ interpreter.PrimitiveStaticTypeNever,
+ )
+ }
}
wantedBorrowType, ok := typeParameterPairValue.(*sema.ReferenceType)
@@ -3611,13 +3619,25 @@ func newAccountCapabilitiesGetFunction(
panic(errors.NewUnreachableError())
}
+ var failValue interpreter.Value
+ if borrow {
+ failValue = interpreter.Nil
+ } else {
+ failValue =
+ interpreter.NewInvalidCapabilityValue(
+ inter,
+ addressValue,
+ interpreter.ConvertSemaToStaticType(inter, wantedBorrowType),
+ )
+ }
+
// Read stored capability, if any
storageMapKey := interpreter.StringStorageMapKey(identifier)
readValue := inter.ReadStored(address, domain, storageMapKey)
if readValue == nil {
- return interpreter.Nil
+ return failValue
}
var readCapabilityValue *interpreter.IDCapabilityValue
@@ -3682,13 +3702,17 @@ func newAccountCapabilitiesGetFunction(
}
if resultValue == nil {
- return interpreter.Nil
+ return failValue
}
- return interpreter.NewSomeValueNonCopying(
- inter,
- resultValue,
- )
+ if borrow {
+ resultValue = interpreter.NewSomeValueNonCopying(
+ inter,
+ resultValue,
+ )
+ }
+
+ return resultValue
},
)
}
diff --git a/runtime/stdlib/cadence_v0.42_to_v1_contract_upgrade_validator.go b/runtime/stdlib/cadence_v0.42_to_v1_contract_upgrade_validator.go
index 2b35d7a2cd..a19e9ef770 100644
--- a/runtime/stdlib/cadence_v0.42_to_v1_contract_upgrade_validator.go
+++ b/runtime/stdlib/cadence_v0.42_to_v1_contract_upgrade_validator.go
@@ -23,14 +23,13 @@ import (
"github.com/onflow/cadence/runtime/ast"
"github.com/onflow/cadence/runtime/common"
- "github.com/onflow/cadence/runtime/common/orderedmap"
"github.com/onflow/cadence/runtime/errors"
"github.com/onflow/cadence/runtime/interpreter"
"github.com/onflow/cadence/runtime/sema"
)
type CadenceV042ToV1ContractUpdateValidator struct {
- TypeComparator
+ *TypeComparator
newElaborations map[common.Location]*sema.Elaboration
currentRestrictedTypeUpgradeRestrictions []*ast.NominalType
@@ -65,6 +64,7 @@ func NewCadenceV042ToV1ContractUpdateValidator(
return &CadenceV042ToV1ContractUpdateValidator{
underlyingUpdateValidator: underlyingValidator,
newElaborations: newElaborations,
+ TypeComparator: underlyingValidator.TypeComparator,
}
}
@@ -267,7 +267,7 @@ func (validator *CadenceV042ToV1ContractUpdateValidator) expectedAuthorizationOf
}
supportedEntitlements := compositeType.SupportedEntitlements()
- return sema.NewAccessFromEntitlementSet(supportedEntitlements, sema.Conjunction)
+ return supportedEntitlements.Access()
}
func (validator *CadenceV042ToV1ContractUpdateValidator) expectedAuthorizationOfIntersection(
@@ -279,19 +279,12 @@ func (validator *CadenceV042ToV1ContractUpdateValidator) expectedAuthorizationOf
// been a restricted type with no legacy type
interfaces := validator.getIntersectedInterfaces(intersectionTypes)
- supportedEntitlements := orderedmap.New[sema.EntitlementOrderedSet](0)
+ intersectionType := sema.NewIntersectionType(nil, nil, interfaces)
- for _, interfaceType := range interfaces {
- supportedEntitlements.SetAll(interfaceType.SupportedEntitlements())
- }
-
- return sema.NewAccessFromEntitlementSet(supportedEntitlements, sema.Conjunction)
+ return intersectionType.SupportedEntitlements().Access()
}
-func (validator *CadenceV042ToV1ContractUpdateValidator) checkEntitlementsUpgrade(
- oldType *ast.ReferenceType,
- newType *ast.ReferenceType,
-) error {
+func (validator *CadenceV042ToV1ContractUpdateValidator) checkEntitlementsUpgrade(newType *ast.ReferenceType) error {
newAuthorization := newType.Authorization
newEntitlementSet, isEntitlementsSet := newAuthorization.(ast.EntitlementSet)
foundEntitlementSet := validator.getEntitlementSetAccess(newEntitlementSet)
@@ -331,7 +324,7 @@ typeSwitch:
}
if newReference.Authorization != nil {
- return validator.checkEntitlementsUpgrade(oldType, newReference)
+ return validator.checkEntitlementsUpgrade(newReference)
}
return nil
@@ -569,11 +562,15 @@ func (validator *CadenceV042ToV1ContractUpdateValidator) checkConformanceV1(
// NOTE 2: If one declaration is an enum, then other is also an enum at this stage.
// This is enforced by the validator (in `checkDeclarationUpdatability`), before calling this function.
if newDecl.Kind() == common.CompositeKindEnum {
- err := oldConformances[0].CheckEqual(newDecl.Conformances[0], validator)
+ oldConformance := oldConformances[0]
+ newConformance := newDecl.Conformances[0]
+
+ err := oldConformance.CheckEqual(newConformance, validator)
if err != nil {
validator.report(&ConformanceMismatchError{
- DeclName: newDecl.Identifier.Identifier,
- Range: ast.NewUnmeteredRangeFromPositioned(newDecl.Identifier),
+ DeclName: newDecl.Identifier.Identifier,
+ MissingConformance: oldConformance.String(),
+ Range: ast.NewUnmeteredRangeFromPositioned(newDecl.Identifier),
})
}
@@ -629,9 +626,12 @@ func (validator *CadenceV042ToV1ContractUpdateValidator) checkConformanceV1(
}
if !found {
+ oldConformanceID := validator.underlyingUpdateValidator.oldTypeID(oldConformance)
+
validator.report(&ConformanceMismatchError{
- DeclName: newDecl.Identifier.Identifier,
- Range: ast.NewUnmeteredRangeFromPositioned(newDecl.Identifier),
+ DeclName: newDecl.Identifier.Identifier,
+ MissingConformance: string(oldConformanceID),
+ Range: ast.NewUnmeteredRangeFromPositioned(newDecl.Identifier),
})
return
diff --git a/runtime/stdlib/contract_update_validation.go b/runtime/stdlib/contract_update_validation.go
index e24eb997fe..9831e7a6f2 100644
--- a/runtime/stdlib/contract_update_validation.go
+++ b/runtime/stdlib/contract_update_validation.go
@@ -56,7 +56,7 @@ type checkConformanceFunc func(
)
type ContractUpdateValidator struct {
- TypeComparator
+ *TypeComparator
location common.Location
contractName string
@@ -89,6 +89,7 @@ func NewContractUpdateValidator(
contractName: contractName,
accountContractNamesProvider: accountContractNamesProvider,
importLocations: map[ast.Identifier]common.Location{},
+ TypeComparator: &TypeComparator{},
}
}
@@ -324,6 +325,15 @@ func (validator *ContractUpdateValidator) checkNestedDeclarationRemoval(
})
}
+func (validator *ContractUpdateValidator) oldTypeID(oldType *ast.NominalType) common.TypeID {
+ oldImportLocation := validator.expectedIdentifierImportLocations[oldType.Identifier.Identifier]
+ qualifiedIdentifier := oldType.String()
+ if oldImportLocation == nil {
+ return common.TypeID(qualifiedIdentifier)
+ }
+ return oldImportLocation.TypeID(nil, qualifiedIdentifier)
+}
+
func checkNestedDeclarations(
validator UpdateValidator,
oldDeclaration ast.Declaration,
@@ -506,9 +516,12 @@ func (validator *ContractUpdateValidator) checkConformance(
}
if !found {
+ oldConformanceID := validator.oldTypeID(oldConformance)
+
validator.report(&ConformanceMismatchError{
- DeclName: newDecl.Identifier.Identifier,
- Range: ast.NewUnmeteredRangeFromPositioned(newDecl.Identifier),
+ DeclName: newDecl.Identifier.Identifier,
+ MissingConformance: string(oldConformanceID),
+ Range: ast.NewUnmeteredRangeFromPositioned(newDecl.Identifier),
})
return
@@ -684,7 +697,8 @@ func (e *InvalidDeclarationKindChangeError) Error() string {
// ConformanceMismatchError is reported during a contract update, when the enum conformance of the new program
// does not match the existing one.
type ConformanceMismatchError struct {
- DeclName string
+ DeclName string
+ MissingConformance string
ast.Range
}
@@ -693,7 +707,11 @@ var _ errors.UserError = &ConformanceMismatchError{}
func (*ConformanceMismatchError) IsUserError() {}
func (e *ConformanceMismatchError) Error() string {
- return fmt.Sprintf("conformances does not match in `%s`", e.DeclName)
+ return fmt.Sprintf(
+ "conformances do not match in `%s`: missing `%s`",
+ e.DeclName,
+ e.MissingConformance,
+ )
}
// EnumCaseMismatchError is reported during an enum update, when an updated enum case
diff --git a/runtime/storage_test.go b/runtime/storage_test.go
index 596995e709..8b4b3095d9 100644
--- a/runtime/storage_test.go
+++ b/runtime/storage_test.go
@@ -1176,7 +1176,7 @@ func TestRuntimeStorageSaveCapability(t *testing.T) {
signer.capabilities.publish(cap, at: /public/test)
signer.storage.save(cap, to: %[2]s)
- let cap2 = signer.capabilities.get<%[1]s>(/public/test)!
+ let cap2 = signer.capabilities.get<%[1]s>(/public/test)
signer.storage.save(cap2, to: %[3]s)
}
}
@@ -3802,12 +3802,14 @@ func TestRuntimeStorageIteration(t *testing.T) {
account.storage.forEachPublic(fun (path: PublicPath, type: Type): Bool {
total = total + 1
- if var cap = account.capabilities.get<&[{Foo.Collection}]>(path) {
- cap.check()
- var refArray = cap.borrow()!
- capTaken = true
- }
+ var cap = account.capabilities.get<&[{Foo.Collection}]>(path)
+ if cap.id != 0 {
+ cap.check()
+ var refArray = cap.borrow()!
+ capTaken = true
+ }
+
return true
})
@@ -3999,10 +4001,11 @@ func TestRuntimeStorageIteration(t *testing.T) {
account.storage.forEachPublic(fun (path: PublicPath, type: Type): Bool {
total = total + 1
- if var cap = account.capabilities.get<&{Foo.Collection}>(path) {
- cap.check()
- capTaken = true
- }
+ var cap = account.capabilities.get<&{Foo.Collection}>(path)
+ if cap.id != 0 {
+ cap.check()
+ capTaken = true
+ }
return true
})
@@ -4208,7 +4211,7 @@ func TestRuntimeStorageIteration(t *testing.T) {
prepare(account: &Account) {
var total = 0
account.storage.forEachPublic(fun (path: PublicPath, type: Type): Bool {
- var cap = account.capabilities.get<&String>(path)!
+ var cap = account.capabilities.get<&String>(path)
cap.check()
total = total + 1
return true
diff --git a/runtime/tests/checker/account_test.go b/runtime/tests/checker/account_test.go
index a6e6c81a99..bb2c43dfb0 100644
--- a/runtime/tests/checker/account_test.go
+++ b/runtime/tests/checker/account_test.go
@@ -1679,7 +1679,7 @@ func TestCheckAccountCapabilities(t *testing.T) {
_, err := ParseAndCheck(t, `
fun test(capabilities: &Account.Capabilities) {
- let cap: Capability<&Int> = capabilities.get<&Int>(/public/foo)!
+ let cap: Capability<&Int> = capabilities.get<&Int>(/public/foo)
let ref: &Int = capabilities.borrow<&Int>(/public/foo)!
}
@@ -1694,7 +1694,7 @@ func TestCheckAccountCapabilities(t *testing.T) {
_, err := ParseAndCheck(t, `
fun test(capabilities: auth(Capabilities) &Account.Capabilities) {
- let cap: Capability<&Int> = capabilities.get<&Int>(/public/foo)!
+ let cap: Capability<&Int> = capabilities.get<&Int>(/public/foo)
let ref: &Int = capabilities.borrow<&Int>(/public/foo)!
@@ -1713,7 +1713,7 @@ func TestCheckAccountCapabilities(t *testing.T) {
_, err := ParseAndCheck(t, `
fun test(capabilities: &Account.Capabilities) {
- let cap: Capability<&Int> = capabilities.get<&Int>(/public/foo)!
+ let cap: Capability<&Int> = capabilities.get<&Int>(/public/foo)
capabilities.publish(cap, at: /public/bar)
@@ -1733,7 +1733,7 @@ func TestCheckAccountCapabilities(t *testing.T) {
_, err := ParseAndCheck(t, `
fun test(capabilities: &Account.Capabilities) {
- capabilities.get(/public/foo)!
+ capabilities.get(/public/foo)
}
`)
errs := RequireCheckerErrors(t, err, 1)
@@ -1752,7 +1752,7 @@ func TestCheckAccountCapabilities(t *testing.T) {
_, err := ParseAndCheck(t, `
fun test(capabilities: &Account.Capabilities) {
- capabilities.get(/public/foo)!
+ capabilities.get(/public/foo)
}
`)
errs := RequireCheckerErrors(t, err, 1)
diff --git a/runtime/tests/checker/conformance_test.go b/runtime/tests/checker/conformance_test.go
index c50896d743..ea591c5379 100644
--- a/runtime/tests/checker/conformance_test.go
+++ b/runtime/tests/checker/conformance_test.go
@@ -19,11 +19,13 @@
package checker
import (
+ "fmt"
"testing"
"github.com/stretchr/testify/require"
"github.com/onflow/cadence/runtime/ast"
+ "github.com/onflow/cadence/runtime/errors"
"github.com/onflow/cadence/runtime/sema"
)
@@ -218,9 +220,9 @@ func TestCheckInitializerConformanceErrorMessages(t *testing.T) {
errs := RequireCheckerErrors(t, err, 1)
- require.IsType(t, &sema.ConformanceError{}, errs[0])
+ var conformanceErr *sema.ConformanceError
+ require.ErrorAs(t, errs[0], &conformanceErr)
- conformanceErr := errs[0].(*sema.ConformanceError)
require.NotNil(t, conformanceErr.InitializerMismatch)
notes := conformanceErr.ErrorNotes()
require.Len(t, notes, 1)
@@ -238,19 +240,23 @@ func TestCheckInitializerConformanceErrorMessages(t *testing.T) {
t.Parallel()
_, err := ParseAndCheck(t, `
- access(all) resource interface I {
- fun foo(): Int
- }
+ access(all) resource interface I {
+ fun foo(): Int
+ }
- access(all) resource R: I {
- }
+ access(all) resource R: I {
+ }
`)
errs := RequireCheckerErrors(t, err, 1)
- require.IsType(t, &sema.ConformanceError{}, errs[0])
- conformanceErr := errs[0].(*sema.ConformanceError)
- require.Equal(t, "`R` is missing definitions for members: `foo`", conformanceErr.SecondaryError())
+ var conformanceErr *sema.ConformanceError
+ require.ErrorAs(t, errs[0], &conformanceErr)
+
+ require.Equal(t,
+ "`R` is missing definitions for members: `foo`",
+ conformanceErr.SecondaryError(),
+ )
})
t.Run("2 missing member", func(t *testing.T) {
@@ -258,19 +264,150 @@ func TestCheckInitializerConformanceErrorMessages(t *testing.T) {
t.Parallel()
_, err := ParseAndCheck(t, `
- access(all) resource interface I {
- fun foo(): Int
- fun bar(): Int
- }
+ access(all) resource interface I {
+ fun foo(): Int
+ fun bar(): Int
+ }
- access(all) resource R: I {
- }
+ access(all) resource R: I {
+ }
`)
errs := RequireCheckerErrors(t, err, 1)
- require.IsType(t, &sema.ConformanceError{}, errs[0])
- conformanceErr := errs[0].(*sema.ConformanceError)
- require.Equal(t, "`R` is missing definitions for members: `foo`, `bar`", conformanceErr.SecondaryError())
+ var conformanceErr *sema.ConformanceError
+ require.ErrorAs(t, errs[0], &conformanceErr)
+
+ require.Equal(t,
+ "`R` is missing definitions for members: `foo`, `bar`",
+ conformanceErr.SecondaryError(),
+ )
})
}
+
+func TestCheckConformanceAccessModifierMatches(t *testing.T) {
+ t.Parallel()
+
+ e1 := &sema.EntitlementType{
+ Identifier: "E1",
+ }
+ e2 := &sema.EntitlementType{
+ Identifier: "E2",
+ }
+
+ accessModifiers := []sema.Access{
+ sema.PrimitiveAccess(ast.AccessSelf),
+ sema.PrimitiveAccess(ast.AccessAccount),
+ sema.PrimitiveAccess(ast.AccessContract),
+ sema.NewEntitlementSetAccess(
+ []*sema.EntitlementType{e1, e2},
+ sema.Conjunction,
+ ),
+ sema.NewEntitlementSetAccess(
+ []*sema.EntitlementType{e1, e2},
+ sema.Disjunction,
+ ),
+ sema.NewEntitlementSetAccess(
+ []*sema.EntitlementType{e1},
+ sema.Conjunction,
+ ),
+ sema.PrimitiveAccess(ast.AccessAll),
+ }
+
+ asASTAccess := func(access sema.Access) ast.Access {
+ switch access := access.(type) {
+ case sema.PrimitiveAccess:
+ return ast.PrimitiveAccess(access)
+
+ case sema.EntitlementSetAccess:
+
+ entitlementTypes := make([]*ast.NominalType, 0, access.Entitlements.Len())
+
+ access.Entitlements.Foreach(func(entitlementType *sema.EntitlementType, _ struct{}) {
+ entitlementTypes = append(
+ entitlementTypes,
+ &ast.NominalType{
+ Identifier: ast.Identifier{
+ Identifier: entitlementType.QualifiedIdentifier(),
+ },
+ },
+ )
+ })
+
+ var entitlementSet ast.EntitlementSet
+ switch access.SetKind {
+ case sema.Conjunction:
+ entitlementSet = ast.NewConjunctiveEntitlementSet(entitlementTypes)
+
+ case sema.Disjunction:
+ entitlementSet = ast.NewDisjunctiveEntitlementSet(entitlementTypes)
+
+ default:
+ panic(errors.NewUnreachableError())
+ }
+
+ return ast.EntitlementAccess{
+ EntitlementSet: entitlementSet,
+ }
+
+ default:
+ panic(errors.NewUnreachableError())
+ }
+ }
+
+ test := func(t *testing.T, interfaceAccess, implementationAccess sema.Access) {
+ name := fmt.Sprintf("%s %s", interfaceAccess, implementationAccess)
+ t.Run(name, func(t *testing.T) {
+
+ t.Parallel()
+
+ _, err := ParseAndCheck(t,
+ fmt.Sprintf(
+ `
+ entitlement E1
+ entitlement E2
+
+ struct interface SI {
+ %s fun foo()
+ }
+
+ struct S: SI {
+ %s fun foo() {}
+ }
+ `,
+ asASTAccess(interfaceAccess).Keyword(),
+ asASTAccess(implementationAccess).Keyword(),
+ ),
+ )
+
+ if interfaceAccess == sema.PrimitiveAccess(ast.AccessSelf) {
+ if implementationAccess == sema.PrimitiveAccess(ast.AccessSelf) {
+ errs := RequireCheckerErrors(t, err, 1)
+
+ require.IsType(t, &sema.InvalidAccessModifierError{}, errs[0])
+ } else {
+ errs := RequireCheckerErrors(t, err, 2)
+
+ require.IsType(t, &sema.InvalidAccessModifierError{}, errs[0])
+ require.IsType(t, &sema.ConformanceError{}, errs[1])
+ }
+ } else if !implementationAccess.Equal(interfaceAccess) {
+ errs := RequireCheckerErrors(t, err, 1)
+
+ var conformanceErr *sema.ConformanceError
+ require.ErrorAs(t, errs[0], &conformanceErr)
+
+ require.Len(t, conformanceErr.MemberMismatches, 1)
+
+ } else {
+ require.NoError(t, err)
+ }
+ })
+ }
+
+ for _, access1 := range accessModifiers {
+ for _, access2 := range accessModifiers {
+ test(t, access1, access2)
+ }
+ }
+}
diff --git a/runtime/tests/checker/entitlements_test.go b/runtime/tests/checker/entitlements_test.go
index b1ee9ad56f..416ebbf775 100644
--- a/runtime/tests/checker/entitlements_test.go
+++ b/runtime/tests/checker/entitlements_test.go
@@ -2702,7 +2702,10 @@ func TestCheckEntitlementInheritance(t *testing.T) {
}
`)
- assert.NoError(t, err)
+ errs := RequireCheckerErrors(t, err, 2)
+
+ require.IsType(t, &sema.ConformanceError{}, errs[0])
+ require.IsType(t, &sema.ConformanceError{}, errs[1])
})
t.Run("more expanded entitlements valid in disjunction", func(t *testing.T) {
@@ -2720,7 +2723,9 @@ func TestCheckEntitlementInheritance(t *testing.T) {
}
`)
- assert.NoError(t, err)
+ errs := RequireCheckerErrors(t, err, 1)
+
+ require.IsType(t, &sema.ConformanceError{}, errs[0])
})
t.Run("reduced entitlements valid with conjunction", func(t *testing.T) {
@@ -2741,7 +2746,10 @@ func TestCheckEntitlementInheritance(t *testing.T) {
}
`)
- assert.NoError(t, err)
+ errs := RequireCheckerErrors(t, err, 2)
+
+ require.IsType(t, &sema.ConformanceError{}, errs[0])
+ require.IsType(t, &sema.ConformanceError{}, errs[1])
})
t.Run("more reduced entitlements valid with conjunction", func(t *testing.T) {
@@ -2759,7 +2767,9 @@ func TestCheckEntitlementInheritance(t *testing.T) {
}
`)
- assert.NoError(t, err)
+ errs := RequireCheckerErrors(t, err, 1)
+
+ require.IsType(t, &sema.ConformanceError{}, errs[0])
})
t.Run("expanded entitlements invalid in conjunction", func(t *testing.T) {
@@ -2924,7 +2934,9 @@ func TestCheckEntitlementInheritance(t *testing.T) {
}
`)
- assert.NoError(t, err)
+ errs := RequireCheckerErrors(t, err, 1)
+
+ require.IsType(t, &sema.ConformanceError{}, errs[0])
})
t.Run("overlapped entitlements valid with conjunction/disjunction subtype", func(t *testing.T) {
@@ -2942,8 +2954,9 @@ func TestCheckEntitlementInheritance(t *testing.T) {
}
`)
- // implementation is less specific because it only requires one, but interface guarantees both
- assert.NoError(t, err)
+ errs := RequireCheckerErrors(t, err, 1)
+
+ require.IsType(t, &sema.ConformanceError{}, errs[0])
})
t.Run("different entitlements invalid", func(t *testing.T) {
@@ -2964,9 +2977,10 @@ func TestCheckEntitlementInheritance(t *testing.T) {
}
`)
- errs := RequireCheckerErrors(t, err, 1)
+ errs := RequireCheckerErrors(t, err, 2)
require.IsType(t, &sema.ConformanceError{}, errs[0])
+ require.IsType(t, &sema.ConformanceError{}, errs[1])
})
t.Run("default function entitlements", func(t *testing.T) {
@@ -5656,7 +5670,7 @@ func TestCheckEntitlementConditions(t *testing.T) {
access(X, Y) view fun foo(): Bool
}
resource interface J: I {
- access(Y) view fun foo(): Bool
+ access(X, Y) view fun foo(): Bool
}
fun bar(r: @{J}): @{J} {
post {
diff --git a/runtime/tests/interpreter/entitlements_test.go b/runtime/tests/interpreter/entitlements_test.go
index dc23c0960a..4e5ef427c6 100644
--- a/runtime/tests/interpreter/entitlements_test.go
+++ b/runtime/tests/interpreter/entitlements_test.go
@@ -2487,7 +2487,7 @@ func TestInterpretEntitledAttachments(t *testing.T) {
entitlement E
entitlement G
struct S: I {
- access(X, E) fun foo() {}
+ access(X, E, G) fun foo() {}
}
struct interface I {
access(X, E, G) fun foo()
diff --git a/types_test.go b/types_test.go
index 395134f55f..d617f13b2a 100644
--- a/types_test.go
+++ b/types_test.go
@@ -55,7 +55,7 @@ func TestType_ID(t *testing.T) {
&OptionalType{
Type: StringType,
},
- "String?",
+ "(String)?",
},
{
&VariableSizedArrayType{
diff --git a/version.go b/version.go
index 4f97c1aaec..c545d90ee6 100644
--- a/version.go
+++ b/version.go
@@ -21,4 +21,4 @@
package cadence
-const Version = "v1.0.0-preview.21"
+const Version = "v1.0.0-preview.22"