...rns (uint256) {
return listingPrice;
}
/* Mints a token and lists it in the marketplace */
function createToken(string memory tokenURI, uint256 price) public payable returns (uint) {
_tokenIds.increment();
uint256 newTokenId = _tokenIds.current();
_mint...
...s := h.k.GetParams(ctx)
if !params.EnableCsr {
return nil
}
// Check and process turnstile events if applicable // 检查并处理旋转栅门事件(如果适用)
h.processEvents(ctx, receipt)
// Grab contract to check which NFT it belongs to // 获取合约以检查它属于哪...
...rsion_tag" > "$version_file"
echo "New Sui mainnet version downloaded and extracted."
for f in target/release/*-ubuntu-x86_64; do
original_name=$(basename "$f")
new_name="${original_name%-ubuntu-x86_64}"
echo "Renaming and moving $original_name to $TARGET_DIR/$new_name..."
...