我正在尝试创建一个仅与WAVES进行交易的资产,我已经使用RIDE语言在WAVES testnet上创建了一个智能资产,但现在,我不能使用Waves交易此资产,谢谢!
let WavesId = base58'WAVES'
match tx {
case t : ExchangeTransaction =>
t.sellOrder.assetPair.priceAsset == WavesId || t.sellOrder.assetPair.amountAsset == WavesId
case _ => true
}以下是错误消息:

发布于 2019-03-07 00:10:06
对于定义的交易,您需要确定Smart asset是否与如下所示的Waves配对:
let withWaves = (!isDefined(e.sellOrder.assetPair.priceAsset) || !isDefined(e.sellOrder.assetPair.amountAsset))代替t.sellOrder.assetPair.priceAsset == WavesId || t.sellOrder.assetPair.amountAsset == WavesId
https://stackoverflow.com/questions/55027451
复制相似问题