@gitmyabi/wf-quiz 1.0.0 → 1.0.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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @gitmyabi/wf-quiz
2
2
 
3
- Auto-generated TypeScript type bindings for **wf_quiz**
3
+ Auto-generated TypeScript type bindings for **WF_quiz**
4
4
 
5
- - **Build ID**: `etherscan-wf-quiz-4f8abea0-1787033347607`
5
+ - **Build ID**: `etherscan-wf-quiz-4037a487-1789818278193`
6
6
  - **Build Number**: 1
7
- - **Commit**: `0925afd`
7
+ - **Commit**: `a6a8f21`
8
8
  - **Branch**: `etherscan`
9
9
  - **Target**: `ethers-v6`
10
10
  - **Contracts**: 1
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **wf_quiz**
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- npm install @gitmyabi/wf-quiz@1.0.0
15
+ npm install @gitmyabi/wf-quiz@1.0.1
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -1,10 +1,10 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * wf_quiz_json ABI
3
+ * WF_quiz_json ABI
4
4
  *
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
- export declare const wf_quiz_jsonAbi: readonly [{
7
+ export declare const WF_quiz_jsonAbi: readonly [{
8
8
  readonly inputs: readonly [{
9
9
  readonly internalType: "bytes32[]";
10
10
  readonly name: "admins";
@@ -71,15 +71,15 @@ export declare const wf_quiz_jsonAbi: readonly [{
71
71
  readonly type: "function";
72
72
  }];
73
73
  /**
74
- * Type-safe ABI for wf_quiz_json
74
+ * Type-safe ABI for WF_quiz_json
75
75
  */
76
- export type wf_quiz_jsonAbi = typeof wf_quiz_jsonAbi;
76
+ export type WF_quiz_jsonAbi = typeof WF_quiz_jsonAbi;
77
77
  /**
78
- * Contract instance type for wf_quiz_json
78
+ * Contract instance type for WF_quiz_json
79
79
  */
80
- export type wf_quiz_jsonContract = any;
80
+ export type WF_quiz_jsonContract = any;
81
81
  /**
82
- * wf_quiz_json Contract Class
82
+ * WF_quiz_json Contract Class
83
83
  *
84
84
  * Provides a class-based API similar to TypeChain for interacting with the contract.
85
85
  *
@@ -87,12 +87,12 @@ export type wf_quiz_jsonContract = any;
87
87
  * ```typescript
88
88
  * import { createPublicClient, createWalletClient, http } from 'viem';
89
89
  * import { mainnet } from 'viem/chains';
90
- * import { wf_quiz_json } from 'wf_quiz_json';
90
+ * import { WF_quiz_json } from 'WF_quiz_json';
91
91
  *
92
92
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
93
93
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
94
94
  *
95
- * const contract = new wf_quiz_json('0x...', { publicClient, walletClient });
95
+ * const contract = new WF_quiz_json('0x...', { publicClient, walletClient });
96
96
  *
97
97
  * // Read functions
98
98
  * const result = await contract.balanceOf('0x...');
@@ -110,7 +110,7 @@ export type wf_quiz_jsonContract = any;
110
110
  * });
111
111
  * ```
112
112
  */
113
- export declare class wf_quiz_json {
113
+ export declare class WF_quiz_json {
114
114
  private contract;
115
115
  private contractAddress;
116
116
  private publicClient;
@@ -125,7 +125,7 @@ export declare class wf_quiz_json {
125
125
  /**
126
126
  * Get the underlying viem contract instance
127
127
  */
128
- getContract(): wf_quiz_jsonContract;
128
+ getContract(): WF_quiz_jsonContract;
129
129
  /**
130
130
  * question
131
131
  * view
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.wf_quiz_json = exports.wf_quiz_jsonAbi = void 0;
3
+ exports.WF_quiz_json = exports.WF_quiz_jsonAbi = void 0;
4
4
  const viem_1 = require("viem");
5
5
  /**
6
- * wf_quiz_json ABI
6
+ * WF_quiz_json ABI
7
7
  *
8
8
  * This ABI is typed using viem's type system for full type safety.
9
9
  */
10
- exports.wf_quiz_jsonAbi = [
10
+ exports.WF_quiz_jsonAbi = [
11
11
  {
12
12
  "inputs": [
13
13
  {
@@ -94,7 +94,7 @@ exports.wf_quiz_jsonAbi = [
94
94
  }
95
95
  ];
96
96
  /**
97
- * wf_quiz_json Contract Class
97
+ * WF_quiz_json Contract Class
98
98
  *
99
99
  * Provides a class-based API similar to TypeChain for interacting with the contract.
100
100
  *
@@ -102,12 +102,12 @@ exports.wf_quiz_jsonAbi = [
102
102
  * ```typescript
103
103
  * import { createPublicClient, createWalletClient, http } from 'viem';
104
104
  * import { mainnet } from 'viem/chains';
105
- * import { wf_quiz_json } from 'wf_quiz_json';
105
+ * import { WF_quiz_json } from 'WF_quiz_json';
106
106
  *
107
107
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
108
108
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
109
109
  *
110
- * const contract = new wf_quiz_json('0x...', { publicClient, walletClient });
110
+ * const contract = new WF_quiz_json('0x...', { publicClient, walletClient });
111
111
  *
112
112
  * // Read functions
113
113
  * const result = await contract.balanceOf('0x...');
@@ -125,13 +125,13 @@ exports.wf_quiz_jsonAbi = [
125
125
  * });
126
126
  * ```
127
127
  */
128
- class wf_quiz_json {
128
+ class WF_quiz_json {
129
129
  constructor(address, clients) {
130
130
  this.contractAddress = address;
131
131
  this.publicClient = clients.publicClient;
132
132
  this.contract = (0, viem_1.getContract)({
133
133
  address,
134
- abi: exports.wf_quiz_jsonAbi,
134
+ abi: exports.WF_quiz_jsonAbi,
135
135
  client: {
136
136
  public: clients.publicClient,
137
137
  wallet: clients.walletClient,
@@ -258,4 +258,4 @@ class wf_quiz_json {
258
258
  return {};
259
259
  }
260
260
  }
261
- exports.wf_quiz_json = wf_quiz_json;
261
+ exports.WF_quiz_json = WF_quiz_json;
@@ -2,11 +2,11 @@ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType }
2
2
  import { getContract } from 'viem';
3
3
 
4
4
  /**
5
- * wf_quiz_json ABI
5
+ * WF_quiz_json ABI
6
6
  *
7
7
  * This ABI is typed using viem's type system for full type safety.
8
8
  */
9
- export const wf_quiz_jsonAbi = [
9
+ export const WF_quiz_jsonAbi = [
10
10
  {
11
11
  "inputs": [
12
12
  {
@@ -94,19 +94,19 @@ export const wf_quiz_jsonAbi = [
94
94
  ] as const satisfies Abi;
95
95
 
96
96
  /**
97
- * Type-safe ABI for wf_quiz_json
97
+ * Type-safe ABI for WF_quiz_json
98
98
  */
99
- export type wf_quiz_jsonAbi = typeof wf_quiz_jsonAbi;
99
+ export type WF_quiz_jsonAbi = typeof WF_quiz_jsonAbi;
100
100
 
101
101
  /**
102
- * Contract instance type for wf_quiz_json
102
+ * Contract instance type for WF_quiz_json
103
103
  */
104
104
  // Use any for contract type to avoid complex viem type issues
105
105
  // The runtime behavior is type-safe through viem's ABI typing
106
- export type wf_quiz_jsonContract = any;
106
+ export type WF_quiz_jsonContract = any;
107
107
 
108
108
  /**
109
- * wf_quiz_json Contract Class
109
+ * WF_quiz_json Contract Class
110
110
  *
111
111
  * Provides a class-based API similar to TypeChain for interacting with the contract.
112
112
  *
@@ -114,12 +114,12 @@ export type wf_quiz_jsonContract = any;
114
114
  * ```typescript
115
115
  * import { createPublicClient, createWalletClient, http } from 'viem';
116
116
  * import { mainnet } from 'viem/chains';
117
- * import { wf_quiz_json } from 'wf_quiz_json';
117
+ * import { WF_quiz_json } from 'WF_quiz_json';
118
118
  *
119
119
  * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
120
120
  * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
121
121
  *
122
- * const contract = new wf_quiz_json('0x...', { publicClient, walletClient });
122
+ * const contract = new WF_quiz_json('0x...', { publicClient, walletClient });
123
123
  *
124
124
  * // Read functions
125
125
  * const result = await contract.balanceOf('0x...');
@@ -137,8 +137,8 @@ export type wf_quiz_jsonContract = any;
137
137
  * });
138
138
  * ```
139
139
  */
140
- export class wf_quiz_json {
141
- private contract: wf_quiz_jsonContract;
140
+ export class WF_quiz_json {
141
+ private contract: WF_quiz_jsonContract;
142
142
  private contractAddress: Address;
143
143
  private publicClient: PublicClient;
144
144
 
@@ -153,7 +153,7 @@ export class wf_quiz_json {
153
153
  this.publicClient = clients.publicClient;
154
154
  this.contract = getContract({
155
155
  address,
156
- abi: wf_quiz_jsonAbi,
156
+ abi: WF_quiz_jsonAbi,
157
157
  client: {
158
158
  public: clients.publicClient,
159
159
  wallet: clients.walletClient,
@@ -171,7 +171,7 @@ export class wf_quiz_json {
171
171
  /**
172
172
  * Get the underlying viem contract instance
173
173
  */
174
- getContract(): wf_quiz_jsonContract {
174
+ getContract(): WF_quiz_jsonContract {
175
175
  return this.contract;
176
176
  }
177
177
 
@@ -1,2 +1,2 @@
1
- export { wf_quiz_jsonAbi, wf_quiz_json } from './wf_quiz_json';
2
- export type { wf_quiz_jsonAbi as wf_quiz_jsonAbiType, wf_quiz_jsonContract } from './wf_quiz_json';
1
+ export { WF_quiz_jsonAbi, WF_quiz_json } from './WF_quiz_json';
2
+ export type { WF_quiz_jsonAbi as WF_quiz_jsonAbiType, WF_quiz_jsonContract } from './WF_quiz_json';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.wf_quiz_json = exports.wf_quiz_jsonAbi = void 0;
3
+ exports.WF_quiz_json = exports.WF_quiz_jsonAbi = void 0;
4
4
  // Auto-generated exports for all contracts
5
- var wf_quiz_json_1 = require("./wf_quiz_json");
6
- Object.defineProperty(exports, "wf_quiz_jsonAbi", { enumerable: true, get: function () { return wf_quiz_json_1.wf_quiz_jsonAbi; } });
7
- Object.defineProperty(exports, "wf_quiz_json", { enumerable: true, get: function () { return wf_quiz_json_1.wf_quiz_json; } });
5
+ var WF_quiz_json_1 = require("./WF_quiz_json");
6
+ Object.defineProperty(exports, "WF_quiz_jsonAbi", { enumerable: true, get: function () { return WF_quiz_json_1.WF_quiz_jsonAbi; } });
7
+ Object.defineProperty(exports, "WF_quiz_json", { enumerable: true, get: function () { return WF_quiz_json_1.WF_quiz_json; } });
@@ -1,3 +1,3 @@
1
1
  // Auto-generated exports for all contracts
2
- export { wf_quiz_jsonAbi, wf_quiz_json } from './wf_quiz_json';
3
- export type { wf_quiz_jsonAbi as wf_quiz_jsonAbiType, wf_quiz_jsonContract } from './wf_quiz_json';
2
+ export { WF_quiz_jsonAbi, WF_quiz_json } from './WF_quiz_json';
3
+ export type { WF_quiz_jsonAbi as WF_quiz_jsonAbiType, WF_quiz_jsonContract } from './WF_quiz_json';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gitmyabi/wf-quiz",
3
- "version": "1.0.0",
4
- "description": "Auto-generated TypeScript type bindings for wf_quiz (build etherscan-wf-quiz-4f8abea0-1787033347607, commit 0925afd, branch etherscan)",
3
+ "version": "1.0.1",
4
+ "description": "Auto-generated TypeScript type bindings for WF_quiz (build etherscan-wf-quiz-4037a487-1789818278193, commit a6a8f21, branch etherscan)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
7
7
  "exports": {
@@ -39,5 +39,5 @@
39
39
  "url": "https://github.com/etherscan/wf-quiz"
40
40
  },
41
41
  "branch": "etherscan",
42
- "shortHash": "0925afd"
42
+ "shortHash": "a6a8f21"
43
43
  }