@btc-vision/btc-runtime 1.9.4 → 1.9.5

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.9.4",
3
+ "version": "1.9.5",
4
4
  "description": "Bitcoin Smart Contract Runtime",
5
5
  "main": "btc/index.ts",
6
6
  "scripts": {
@@ -170,7 +170,7 @@ export abstract class OP721 extends ReentrancyGuard implements IOP721 {
170
170
  return w;
171
171
  }
172
172
 
173
- @method()
173
+ @method('maxSupply')
174
174
  @returns({ name: 'maxSupply', type: ABIDataTypes.UINT256 })
175
175
  public fn_maxSupply(_: Calldata): BytesWriter {
176
176
  const w = new BytesWriter(U256_BYTE_LENGTH);
@@ -207,7 +207,7 @@ export abstract class OP721 extends ReentrancyGuard implements IOP721 {
207
207
  return w;
208
208
  }
209
209
 
210
- @method()
210
+ @method('totalSupply')
211
211
  @returns({ name: 'totalSupply', type: ABIDataTypes.UINT256 })
212
212
  public fn_totalSupply(_: Calldata): BytesWriter {
213
213
  const w = new BytesWriter(U256_BYTE_LENGTH);