import { AccountId , u128 , msg } from "ask-lang" ; import { ERC721 } from "./ERC721" ; @ contract class MyERC721 extends ERC721 { constructor ( ) { super ( ) ; } @ constructor default ( name = "" , symbol = "" ) { super . default ( name , symbol ) ; } @ message mint ( to , tokenId ) { this . _mint ( to , tokenId ) ; } @ message transfer ( to , tokenId ) { this . _transfer ( msg . sender , to , tokenId ) ; } @ message burn ( tokenId ) { this . _burn ( tokenId ) ; } @ message setTokenURI ( tokenId , tokenURI ) { this . _setTokenURI ( tokenId , tokenURI ) ; } @ message setBaseURI ( baseURI ) { this . _setBaseURI ( baseURI ) ; } }