@btc-vision/btc-runtime 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@btc-vision/btc-runtime",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "Bitcoin L1 Smart Contract Runtime for OP_NET. Build decentralized applications on Bitcoin using AssemblyScript and WebAssembly. Fully audited.",
5
5
  "main": "btc/index.ts",
6
6
  "types": "btc/index.ts",
@@ -234,7 +234,13 @@ export abstract class OP721 extends ReentrancyGuard implements IOP721 {
234
234
  return w;
235
235
  }
236
236
 
237
- @method('changeMetadata')
237
+ @method(
238
+ 'changeMetadata',
239
+ { name: 'icon', type: ABIDataTypes.STRING },
240
+ { name: 'banner', type: ABIDataTypes.STRING },
241
+ { name: 'description', type: ABIDataTypes.STRING },
242
+ { name: 'website', type: ABIDataTypes.STRING },
243
+ )
238
244
  public changeMetadata(calldata: Calldata): BytesWriter {
239
245
  this.onlyDeployer(Blockchain.tx.sender);
240
246
 
@@ -1012,7 +1018,6 @@ export abstract class OP721 extends ReentrancyGuard implements IOP721 {
1012
1018
  this.emitEvent(new OP721BurnedEvent(from, tokenId));
1013
1019
  }
1014
1020
 
1015
-
1016
1021
  protected createApprovedForAllEvent(
1017
1022
  owner: Address,
1018
1023
  operator: Address,