Create resource with script

Can you manage to help me?
View last comments.

Hey there, there’s nobody who knows?

I ran this script, but it continues to be negotiable only with idWAVES

{-# STDLIB_VERSION 3 #-}
{-# CONTENT_TYPE EXPRESSION #-}
{-# SCRIPT_TYPE ASSET #-}

let startHeight = 1817112
let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
let startPrice = 100000000
let interval = 8766 * 60
let exp = 41760 * 60 * 1000

match tx {
    case e:ExchangeTransaction =>
        let years = (height - startHeight) / interval

          e.price >= startPrice * (1 + years)
          && !isDefined(e.sellOrder.assetPair.priceAsset == USDId)
          && e.amount >= 100000000
    case _ => true
}

Hi, do you want your asset to be negotiable only with idWAVES?
If not, just remove this line:

{-# STDLIB_VERSION 3 #-}
{-# CONTENT_TYPE EXPRESSION #-}
{-# SCRIPT_TYPE ASSET #-}

let startHeight = 1817112
let USDId = base58'Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck'
let startPrice = 100000000
let interval = 8766 * 60
let exp = 41760 * 60 * 1000

match tx {
    case e:ExchangeTransaction =>
        let years = (height - startHeight) / interval

          e.price >= startPrice * (1 + years)
          && e.amount >= 100000000
    case _ => true
}