java-conflux-sdk icon indicating copy to clipboard operation
java-conflux-sdk copied to clipboard

在ERC721中铸造方法

Open wxiaofan opened this issue 2 years ago • 0 comments

public String _mint(Option option, Address to, BigInteger tokenId) throws Exception {
    return this.account.call(option, this.contract, "_mint", new Type[]{to, new Uint256(tokenId)});
}

public String _mint(Option option, CfxAddress to, BigInteger tokenId) throws Exception {
    return this._mint(option, to.getABIAddress(), tokenId);
}

public String _mint(Option option, String to, BigInteger tokenId) throws Exception {
    return this._mint(option, new Address(to), tokenId);
}

中并没有我想要的参数

wxiaofan avatar Jun 01 '23 02:06 wxiaofan