Open guiyujin opened 2 weeks ago
Able to provide code examples?
private mint(callData: Calldata): BytesWriter {
const response = new BytesWriter(1);
const resp = this._mint(callData.readAddress(), u128.fromString('6000000000000000000000').toU256());
response.writeBoolean(resp);
return response;
}
First, I removed the restriction code that only the deployer can mint, but other wallets do not have a mint button after importing. Second, I fixed the mint amount in the contract, but the wallet still executes according to the input amount. It seems that the contract is a decoration.