@gitmyabi/play-it 1.0.1 → 1.0.2

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/play-it
2
2
 
3
- Auto-generated TypeScript type bindings for **play_IT**
3
+ Auto-generated TypeScript type bindings for **Play_IT**
4
4
 
5
- - **Build ID**: `etherscan-play-it-0fd55463-1794378076506`
5
+ - **Build ID**: `etherscan-play-it-c05b4883-1795968010967`
6
6
  - **Build Number**: 1
7
- - **Commit**: `04afe8e`
7
+ - **Commit**: `f964b74`
8
8
  - **Branch**: `etherscan`
9
9
  - **Target**: `ethers-v6`
10
10
  - **Contracts**: 1
@@ -12,7 +12,7 @@ Auto-generated TypeScript type bindings for **play_IT**
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- npm install @gitmyabi/play-it@1.0.1
15
+ npm install @gitmyabi/play-it@1.0.2
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -1,10 +1,10 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
2
  /**
3
- * play_IT ABI
3
+ * Play_IT ABI
4
4
  *
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
- export declare const play_ITAbi: readonly [{
7
+ export declare const Play_ITAbi: readonly [{
8
8
  readonly inputs: readonly [{
9
9
  readonly internalType: "bytes32[]";
10
10
  readonly name: "admins";
@@ -71,15 +71,15 @@ export declare const play_ITAbi: readonly [{
71
71
  readonly type: "function";
72
72
  }];
73
73
  /**
74
- * Type-safe ABI for play_IT
74
+ * Type-safe ABI for Play_IT
75
75
  */
76
- export type play_ITAbi = typeof play_ITAbi;
76
+ export type Play_ITAbi = typeof Play_ITAbi;
77
77
  /**
78
- * Contract instance type for play_IT
78
+ * Contract instance type for Play_IT
79
79
  */
80
- export type play_ITContract = any;
80
+ export type Play_ITContract = any;
81
81
  /**
82
- * play_IT Contract Class
82
+ * Play_IT 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 play_ITContract = any;
87
87
  * ```typescript
88
88
  * import { createPublicClient, createWalletClient, http } from 'viem';
89
89
  * import { mainnet } from 'viem/chains';
90
- * import { play_IT } from 'play_IT';
90
+ * import { Play_IT } from 'Play_IT';
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 play_IT('0x...', { publicClient, walletClient });
95
+ * const contract = new Play_IT('0x...', { publicClient, walletClient });
96
96
  *
97
97
  * // Read functions
98
98
  * const result = await contract.balanceOf('0x...');
@@ -110,7 +110,7 @@ export type play_ITContract = any;
110
110
  * });
111
111
  * ```
112
112
  */
113
- export declare class play_IT {
113
+ export declare class Play_IT {
114
114
  private contract;
115
115
  private contractAddress;
116
116
  private publicClient;
@@ -125,7 +125,7 @@ export declare class play_IT {
125
125
  /**
126
126
  * Get the underlying viem contract instance.
127
127
  */
128
- getContract(): play_ITContract;
128
+ getContract(): Play_ITContract;
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.play_IT = exports.play_ITAbi = void 0;
3
+ exports.Play_IT = exports.Play_ITAbi = void 0;
4
4
  const viem_1 = require("viem");
5
5
  /**
6
- * play_IT ABI
6
+ * Play_IT ABI
7
7
  *
8
8
  * This ABI is typed using viem's type system for full type safety.
9
9
  */
10
- exports.play_ITAbi = [
10
+ exports.Play_ITAbi = [
11
11
  {
12
12
  "inputs": [
13
13
  {
@@ -94,7 +94,7 @@ exports.play_ITAbi = [
94
94
  }
95
95
  ];
96
96
  /**
97
- * play_IT Contract Class
97
+ * Play_IT 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.play_ITAbi = [
102
102
  * ```typescript
103
103
  * import { createPublicClient, createWalletClient, http } from 'viem';
104
104
  * import { mainnet } from 'viem/chains';
105
- * import { play_IT } from 'play_IT';
105
+ * import { Play_IT } from 'Play_IT';
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 play_IT('0x...', { publicClient, walletClient });
110
+ * const contract = new Play_IT('0x...', { publicClient, walletClient });
111
111
  *
112
112
  * // Read functions
113
113
  * const result = await contract.balanceOf('0x...');
@@ -125,13 +125,13 @@ exports.play_ITAbi = [
125
125
  * });
126
126
  * ```
127
127
  */
128
- class play_IT {
128
+ class Play_IT {
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.play_ITAbi,
134
+ abi: exports.Play_ITAbi,
135
135
  client: {
136
136
  public: clients.publicClient,
137
137
  wallet: clients.walletClient,
@@ -258,4 +258,4 @@ class play_IT {
258
258
  return {};
259
259
  }
260
260
  }
261
- exports.play_IT = play_IT;
261
+ exports.Play_IT = Play_IT;
@@ -2,11 +2,11 @@ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType }
2
2
  import { getContract } from 'viem';
3
3
 
4
4
  /**
5
- * play_IT ABI
5
+ * Play_IT ABI
6
6
  *
7
7
  * This ABI is typed using viem's type system for full type safety.
8
8
  */
9
- export const play_ITAbi = [
9
+ export const Play_ITAbi = [
10
10
  {
11
11
  "inputs": [
12
12
  {
@@ -94,19 +94,19 @@ export const play_ITAbi = [
94
94
  ] as const satisfies Abi;
95
95
 
96
96
  /**
97
- * Type-safe ABI for play_IT
97
+ * Type-safe ABI for Play_IT
98
98
  */
99
- export type play_ITAbi = typeof play_ITAbi;
99
+ export type Play_ITAbi = typeof Play_ITAbi;
100
100
 
101
101
  /**
102
- * Contract instance type for play_IT
102
+ * Contract instance type for Play_IT
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 play_ITContract = any;
106
+ export type Play_ITContract = any;
107
107
 
108
108
  /**
109
- * play_IT Contract Class
109
+ * Play_IT 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 play_ITContract = any;
114
114
  * ```typescript
115
115
  * import { createPublicClient, createWalletClient, http } from 'viem';
116
116
  * import { mainnet } from 'viem/chains';
117
- * import { play_IT } from 'play_IT';
117
+ * import { Play_IT } from 'Play_IT';
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 play_IT('0x...', { publicClient, walletClient });
122
+ * const contract = new Play_IT('0x...', { publicClient, walletClient });
123
123
  *
124
124
  * // Read functions
125
125
  * const result = await contract.balanceOf('0x...');
@@ -137,8 +137,8 @@ export type play_ITContract = any;
137
137
  * });
138
138
  * ```
139
139
  */
140
- export class play_IT {
141
- private contract: play_ITContract;
140
+ export class Play_IT {
141
+ private contract: Play_ITContract;
142
142
  private contractAddress: Address;
143
143
  private publicClient: PublicClient;
144
144
 
@@ -153,7 +153,7 @@ export class play_IT {
153
153
  this.publicClient = clients.publicClient;
154
154
  this.contract = getContract({
155
155
  address,
156
- abi: play_ITAbi,
156
+ abi: Play_ITAbi,
157
157
  client: {
158
158
  public: clients.publicClient,
159
159
  wallet: clients.walletClient,
@@ -171,7 +171,7 @@ export class play_IT {
171
171
  /**
172
172
  * Get the underlying viem contract instance.
173
173
  */
174
- getContract(): play_ITContract {
174
+ getContract(): Play_ITContract {
175
175
  return this.contract;
176
176
  }
177
177
 
@@ -1,2 +1,2 @@
1
- export { play_ITAbi, play_IT } from './play_IT';
2
- export type { play_ITAbi as play_ITAbiType, play_ITContract } from './play_IT';
1
+ export { Play_ITAbi, Play_IT } from './Play_IT';
2
+ export type { Play_ITAbi as Play_ITAbiType, Play_ITContract } from './Play_IT';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.play_IT = exports.play_ITAbi = void 0;
3
+ exports.Play_IT = exports.Play_ITAbi = void 0;
4
4
  // Auto-generated exports for all contracts
5
- var play_IT_1 = require("./play_IT");
6
- Object.defineProperty(exports, "play_ITAbi", { enumerable: true, get: function () { return play_IT_1.play_ITAbi; } });
7
- Object.defineProperty(exports, "play_IT", { enumerable: true, get: function () { return play_IT_1.play_IT; } });
5
+ var Play_IT_1 = require("./Play_IT");
6
+ Object.defineProperty(exports, "Play_ITAbi", { enumerable: true, get: function () { return Play_IT_1.Play_ITAbi; } });
7
+ Object.defineProperty(exports, "Play_IT", { enumerable: true, get: function () { return Play_IT_1.Play_IT; } });
@@ -1,3 +1,3 @@
1
1
  // Auto-generated exports for all contracts
2
- export { play_ITAbi, play_IT } from './play_IT';
3
- export type { play_ITAbi as play_ITAbiType, play_ITContract } from './play_IT';
2
+ export { Play_ITAbi, Play_IT } from './Play_IT';
3
+ export type { Play_ITAbi as Play_ITAbiType, Play_ITContract } from './Play_IT';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gitmyabi/play-it",
3
- "version": "1.0.1",
4
- "description": "Auto-generated TypeScript type bindings for play_IT (build etherscan-play-it-0fd55463-1794378076506, commit 04afe8e, branch etherscan)",
3
+ "version": "1.0.2",
4
+ "description": "Auto-generated TypeScript type bindings for Play_IT (build etherscan-play-it-c05b4883-1795968010967, commit f964b74, 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/play-it"
40
40
  },
41
41
  "branch": "etherscan",
42
- "shortHash": "04afe8e"
42
+ "shortHash": "f964b74"
43
43
  }