viem 2.0.0-alpha.3 → 2.0.0-alpha.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/_cjs/actions/wallet/writeContract.js.map +1 -1
 - package/_cjs/chains/{utils/index.js → utils.js} +5 -5
 - package/_cjs/chains/utils.js.map +1 -0
 - package/_cjs/clients/decorators/wallet.js.map +1 -1
 - package/_cjs/errors/node.js +11 -11
 - package/_cjs/errors/node.js.map +1 -1
 - package/_cjs/errors/rpc.js +18 -18
 - package/_cjs/errors/rpc.js.map +1 -1
 - package/_cjs/errors/version.js +1 -1
 - package/_esm/actions/wallet/writeContract.js.map +1 -1
 - package/_esm/chains/utils.js +5 -0
 - package/_esm/chains/utils.js.map +1 -0
 - package/_esm/clients/decorators/wallet.js.map +1 -1
 - package/_esm/errors/node.js +22 -11
 - package/_esm/errors/node.js.map +1 -1
 - package/_esm/errors/rpc.js +36 -18
 - package/_esm/errors/rpc.js.map +1 -1
 - package/_esm/errors/version.js +1 -1
 - package/_types/actions/wallet/writeContract.d.ts +3 -3
 - package/_types/actions/wallet/writeContract.d.ts.map +1 -1
 - package/_types/chains/celo/formatters.d.ts +7 -7
 - package/_types/chains/definitions/base.d.ts +33 -33
 - package/_types/chains/definitions/baseGoerli.d.ts +33 -33
 - package/_types/chains/definitions/celo.d.ts +36 -36
 - package/_types/chains/definitions/celoAlfajores.d.ts +36 -36
 - package/_types/chains/definitions/celoCannoli.d.ts +36 -36
 - package/_types/chains/definitions/optimism.d.ts +33 -33
 - package/_types/chains/definitions/optimismGoerli.d.ts +33 -33
 - package/_types/chains/definitions/zora.d.ts +33 -33
 - package/_types/chains/definitions/zoraTestnet.d.ts +33 -33
 - package/_types/chains/optimism/formatters.d.ts +7 -7
 - package/_types/chains/{utils/index.d.ts → utils.d.ts} +7 -7
 - package/_types/chains/utils.d.ts.map +1 -0
 - package/_types/errors/version.d.ts +1 -1
 - package/_types/types/utils.d.ts +12 -8
 - package/_types/types/utils.d.ts.map +1 -1
 - package/_types/utils/formatters/transaction.d.ts +2 -2
 - package/_types/utils/formatters/transaction.d.ts.map +1 -1
 - package/actions/wallet/writeContract.ts +35 -29
 - package/chains/utils/package.json +3 -3
 - package/chains/{utils/index.ts → utils.ts} +6 -6
 - package/clients/decorators/wallet.ts +1 -1
 - package/errors/version.ts +1 -1
 - package/package.json +5 -5
 - package/types/utils.ts +32 -11
 - package/utils/formatters/transaction.ts +2 -2
 - package/_cjs/chains/utils/index.js.map +0 -1
 - package/_esm/chains/utils/index.js +0 -5
 - package/_esm/chains/utils/index.js.map +0 -1
 - package/_types/chains/utils/index.d.ts.map +0 -1
 
    
        package/_esm/errors/node.js
    CHANGED
    
    | 
         @@ -9,7 +9,7 @@ import { BaseError } from './base.js'; 
     | 
|
| 
       9 
9 
     | 
    
         
             
             *
         
     | 
| 
       10 
10 
     | 
    
         
             
             * anvil:   https://github.com/foundry-rs/foundry/blob/master/anvil/src/eth/error.rs#L108
         
     | 
| 
       11 
11 
     | 
    
         
             
             */
         
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
      
 12 
     | 
    
         
            +
            class ExecutionRevertedError extends BaseError {
         
     | 
| 
       13 
13 
     | 
    
         
             
                constructor({ cause, message, } = {}) {
         
     | 
| 
       14 
14 
     | 
    
         
             
                    const reason = message
         
     | 
| 
       15 
15 
     | 
    
         
             
                        ?.replace('execution reverted: ', '')
         
     | 
| 
         @@ -37,7 +37,8 @@ Object.defineProperty(ExecutionRevertedError, "nodeMessage", { 
     | 
|
| 
       37 
37 
     | 
    
         
             
                writable: true,
         
     | 
| 
       38 
38 
     | 
    
         
             
                value: /execution reverted/
         
     | 
| 
       39 
39 
     | 
    
         
             
            });
         
     | 
| 
       40 
     | 
    
         
            -
            export  
     | 
| 
      
 40 
     | 
    
         
            +
            export { ExecutionRevertedError };
         
     | 
| 
      
 41 
     | 
    
         
            +
            class FeeCapTooHighError extends BaseError {
         
     | 
| 
       41 
42 
     | 
    
         
             
                constructor({ cause, maxFeePerGas, } = {}) {
         
     | 
| 
       42 
43 
     | 
    
         
             
                    super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)} gwei` : ''}) cannot be higher than the maximum allowed value (2^256-1).`, {
         
     | 
| 
       43 
44 
     | 
    
         
             
                        cause,
         
     | 
| 
         @@ -56,7 +57,8 @@ Object.defineProperty(FeeCapTooHighError, "nodeMessage", { 
     | 
|
| 
       56 
57 
     | 
    
         
             
                writable: true,
         
     | 
| 
       57 
58 
     | 
    
         
             
                value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
         
     | 
| 
       58 
59 
     | 
    
         
             
            });
         
     | 
| 
       59 
     | 
    
         
            -
            export  
     | 
| 
      
 60 
     | 
    
         
            +
            export { FeeCapTooHighError };
         
     | 
| 
      
 61 
     | 
    
         
            +
            class FeeCapTooLowError extends BaseError {
         
     | 
| 
       60 
62 
     | 
    
         
             
                constructor({ cause, maxFeePerGas, } = {}) {
         
     | 
| 
       61 
63 
     | 
    
         
             
                    super(`The fee cap (\`maxFeePerGas\`${maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)}` : ''} gwei) cannot be lower than the block base fee.`, {
         
     | 
| 
       62 
64 
     | 
    
         
             
                        cause,
         
     | 
| 
         @@ -75,7 +77,8 @@ Object.defineProperty(FeeCapTooLowError, "nodeMessage", { 
     | 
|
| 
       75 
77 
     | 
    
         
             
                writable: true,
         
     | 
| 
       76 
78 
     | 
    
         
             
                value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
         
     | 
| 
       77 
79 
     | 
    
         
             
            });
         
     | 
| 
       78 
     | 
    
         
            -
            export  
     | 
| 
      
 80 
     | 
    
         
            +
            export { FeeCapTooLowError };
         
     | 
| 
      
 81 
     | 
    
         
            +
            class NonceTooHighError extends BaseError {
         
     | 
| 
       79 
82 
     | 
    
         
             
                constructor({ cause, nonce } = {}) {
         
     | 
| 
       80 
83 
     | 
    
         
             
                    super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is higher than the next one expected.`, { cause });
         
     | 
| 
       81 
84 
     | 
    
         
             
                    Object.defineProperty(this, "name", {
         
     | 
| 
         @@ -92,7 +95,8 @@ Object.defineProperty(NonceTooHighError, "nodeMessage", { 
     | 
|
| 
       92 
95 
     | 
    
         
             
                writable: true,
         
     | 
| 
       93 
96 
     | 
    
         
             
                value: /nonce too high/
         
     | 
| 
       94 
97 
     | 
    
         
             
            });
         
     | 
| 
       95 
     | 
    
         
            -
            export  
     | 
| 
      
 98 
     | 
    
         
            +
            export { NonceTooHighError };
         
     | 
| 
      
 99 
     | 
    
         
            +
            class NonceTooLowError extends BaseError {
         
     | 
| 
       96 
100 
     | 
    
         
             
                constructor({ cause, nonce } = {}) {
         
     | 
| 
       97 
101 
     | 
    
         
             
                    super([
         
     | 
| 
       98 
102 
     | 
    
         
             
                        `Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is lower than the current nonce of the account.`,
         
     | 
| 
         @@ -112,7 +116,8 @@ Object.defineProperty(NonceTooLowError, "nodeMessage", { 
     | 
|
| 
       112 
116 
     | 
    
         
             
                writable: true,
         
     | 
| 
       113 
117 
     | 
    
         
             
                value: /nonce too low|transaction already imported|already known/
         
     | 
| 
       114 
118 
     | 
    
         
             
            });
         
     | 
| 
       115 
     | 
    
         
            -
            export  
     | 
| 
      
 119 
     | 
    
         
            +
            export { NonceTooLowError };
         
     | 
| 
      
 120 
     | 
    
         
            +
            class NonceMaxValueError extends BaseError {
         
     | 
| 
       116 
121 
     | 
    
         
             
                constructor({ cause, nonce } = {}) {
         
     | 
| 
       117 
122 
     | 
    
         
             
                    super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}exceeds the maximum allowed nonce.`, { cause });
         
     | 
| 
       118 
123 
     | 
    
         
             
                    Object.defineProperty(this, "name", {
         
     | 
| 
         @@ -129,7 +134,8 @@ Object.defineProperty(NonceMaxValueError, "nodeMessage", { 
     | 
|
| 
       129 
134 
     | 
    
         
             
                writable: true,
         
     | 
| 
       130 
135 
     | 
    
         
             
                value: /nonce has max value/
         
     | 
| 
       131 
136 
     | 
    
         
             
            });
         
     | 
| 
       132 
     | 
    
         
            -
            export  
     | 
| 
      
 137 
     | 
    
         
            +
            export { NonceMaxValueError };
         
     | 
| 
      
 138 
     | 
    
         
            +
            class InsufficientFundsError extends BaseError {
         
     | 
| 
       133 
139 
     | 
    
         
             
                constructor({ cause } = {}) {
         
     | 
| 
       134 
140 
     | 
    
         
             
                    super([
         
     | 
| 
       135 
141 
     | 
    
         
             
                        'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.',
         
     | 
| 
         @@ -160,7 +166,8 @@ Object.defineProperty(InsufficientFundsError, "nodeMessage", { 
     | 
|
| 
       160 
166 
     | 
    
         
             
                writable: true,
         
     | 
| 
       161 
167 
     | 
    
         
             
                value: /insufficient funds/
         
     | 
| 
       162 
168 
     | 
    
         
             
            });
         
     | 
| 
       163 
     | 
    
         
            -
            export  
     | 
| 
      
 169 
     | 
    
         
            +
            export { InsufficientFundsError };
         
     | 
| 
      
 170 
     | 
    
         
            +
            class IntrinsicGasTooHighError extends BaseError {
         
     | 
| 
       164 
171 
     | 
    
         
             
                constructor({ cause, gas } = {}) {
         
     | 
| 
       165 
172 
     | 
    
         
             
                    super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction exceeds the limit allowed for the block.`, {
         
     | 
| 
       166 
173 
     | 
    
         
             
                        cause,
         
     | 
| 
         @@ -179,7 +186,8 @@ Object.defineProperty(IntrinsicGasTooHighError, "nodeMessage", { 
     | 
|
| 
       179 
186 
     | 
    
         
             
                writable: true,
         
     | 
| 
       180 
187 
     | 
    
         
             
                value: /intrinsic gas too high|gas limit reached/
         
     | 
| 
       181 
188 
     | 
    
         
             
            });
         
     | 
| 
       182 
     | 
    
         
            -
            export  
     | 
| 
      
 189 
     | 
    
         
            +
            export { IntrinsicGasTooHighError };
         
     | 
| 
      
 190 
     | 
    
         
            +
            class IntrinsicGasTooLowError extends BaseError {
         
     | 
| 
       183 
191 
     | 
    
         
             
                constructor({ cause, gas } = {}) {
         
     | 
| 
       184 
192 
     | 
    
         
             
                    super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction is too low.`, {
         
     | 
| 
       185 
193 
     | 
    
         
             
                        cause,
         
     | 
| 
         @@ -198,7 +206,8 @@ Object.defineProperty(IntrinsicGasTooLowError, "nodeMessage", { 
     | 
|
| 
       198 
206 
     | 
    
         
             
                writable: true,
         
     | 
| 
       199 
207 
     | 
    
         
             
                value: /intrinsic gas too low/
         
     | 
| 
       200 
208 
     | 
    
         
             
            });
         
     | 
| 
       201 
     | 
    
         
            -
            export  
     | 
| 
      
 209 
     | 
    
         
            +
            export { IntrinsicGasTooLowError };
         
     | 
| 
      
 210 
     | 
    
         
            +
            class TransactionTypeNotSupportedError extends BaseError {
         
     | 
| 
       202 
211 
     | 
    
         
             
                constructor({ cause }) {
         
     | 
| 
       203 
212 
     | 
    
         
             
                    super('The transaction type is not supported for this chain.', {
         
     | 
| 
       204 
213 
     | 
    
         
             
                        cause,
         
     | 
| 
         @@ -217,7 +226,8 @@ Object.defineProperty(TransactionTypeNotSupportedError, "nodeMessage", { 
     | 
|
| 
       217 
226 
     | 
    
         
             
                writable: true,
         
     | 
| 
       218 
227 
     | 
    
         
             
                value: /transaction type not valid/
         
     | 
| 
       219 
228 
     | 
    
         
             
            });
         
     | 
| 
       220 
     | 
    
         
            -
            export  
     | 
| 
      
 229 
     | 
    
         
            +
            export { TransactionTypeNotSupportedError };
         
     | 
| 
      
 230 
     | 
    
         
            +
            class TipAboveFeeCapError extends BaseError {
         
     | 
| 
       221 
231 
     | 
    
         
             
                constructor({ cause, maxPriorityFeePerGas, maxFeePerGas, } = {}) {
         
     | 
| 
       222 
232 
     | 
    
         
             
                    super([
         
     | 
| 
       223 
233 
     | 
    
         
             
                        `The provided tip (\`maxPriorityFeePerGas\`${maxPriorityFeePerGas
         
     | 
| 
         @@ -240,6 +250,7 @@ Object.defineProperty(TipAboveFeeCapError, "nodeMessage", { 
     | 
|
| 
       240 
250 
     | 
    
         
             
                writable: true,
         
     | 
| 
       241 
251 
     | 
    
         
             
                value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
         
     | 
| 
       242 
252 
     | 
    
         
             
            });
         
     | 
| 
      
 253 
     | 
    
         
            +
            export { TipAboveFeeCapError };
         
     | 
| 
       243 
254 
     | 
    
         
             
            export class UnknownNodeError extends BaseError {
         
     | 
| 
       244 
255 
     | 
    
         
             
                constructor({ cause }) {
         
     | 
| 
       245 
256 
     | 
    
         
             
                    super(`An error occurred while executing: ${cause?.shortMessage}`, {
         
     | 
    
        package/_esm/errors/node.js.map
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"node.js","sourceRoot":"","sources":["../../errors/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC;;;;;;;;GAQG;AAEH, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"node.js","sourceRoot":"","sources":["../../errors/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC;;;;;;;;GAQG;AAEH,MAAa,sBAAuB,SAAQ,SAAS;IAMnD,YAAY,EACV,KAAK,EACL,OAAO,MACoC,EAAE;QAC7C,MAAM,MAAM,GAAG,OAAO;YACpB,EAAE,OAAO,CAAC,sBAAsB,EAAE,EAAE,CAAC;YACrC,EAAE,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAA;QACrC,KAAK,CACH,sBACE,MAAM,CAAC,CAAC,CAAC,gBAAgB,MAAM,EAAE,CAAC,CAAC,CAAC,uBACtC,GAAG,E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K,EAAE,YAAY,EAAE,EAAE;YACjE,KAAK;SACN,CAAC,CAAA;QALK;;;;mBAAO,kBAAkB;WAAA;IAMlC,CAAC;CACF"}
         
     | 
    
        package/_esm/errors/rpc.js
    CHANGED
    
    | 
         @@ -57,7 +57,7 @@ export class ProviderRpcError extends RpcError { 
     | 
|
| 
       57 
57 
     | 
    
         
             
             *
         
     | 
| 
       58 
58 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       59 
59 
     | 
    
         
             
             */
         
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
      
 60 
     | 
    
         
            +
            class ParseRpcError extends RpcError {
         
     | 
| 
       61 
61 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       62 
62 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       63 
63 
     | 
    
         
             
                        code: ParseRpcError.code,
         
     | 
| 
         @@ -77,12 +77,13 @@ Object.defineProperty(ParseRpcError, "code", { 
     | 
|
| 
       77 
77 
     | 
    
         
             
                writable: true,
         
     | 
| 
       78 
78 
     | 
    
         
             
                value: -32700
         
     | 
| 
       79 
79 
     | 
    
         
             
            });
         
     | 
| 
      
 80 
     | 
    
         
            +
            export { ParseRpcError };
         
     | 
| 
       80 
81 
     | 
    
         
             
            /**
         
     | 
| 
       81 
82 
     | 
    
         
             
             * Subclass for a "Invalid request" EIP-1474 error.
         
     | 
| 
       82 
83 
     | 
    
         
             
             *
         
     | 
| 
       83 
84 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       84 
85 
     | 
    
         
             
             */
         
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
      
 86 
     | 
    
         
            +
            class InvalidRequestRpcError extends RpcError {
         
     | 
| 
       86 
87 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       87 
88 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       88 
89 
     | 
    
         
             
                        code: InvalidRequestRpcError.code,
         
     | 
| 
         @@ -102,12 +103,13 @@ Object.defineProperty(InvalidRequestRpcError, "code", { 
     | 
|
| 
       102 
103 
     | 
    
         
             
                writable: true,
         
     | 
| 
       103 
104 
     | 
    
         
             
                value: -32600
         
     | 
| 
       104 
105 
     | 
    
         
             
            });
         
     | 
| 
      
 106 
     | 
    
         
            +
            export { InvalidRequestRpcError };
         
     | 
| 
       105 
107 
     | 
    
         
             
            /**
         
     | 
| 
       106 
108 
     | 
    
         
             
             * Subclass for a "Method not found" EIP-1474 error.
         
     | 
| 
       107 
109 
     | 
    
         
             
             *
         
     | 
| 
       108 
110 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       109 
111 
     | 
    
         
             
             */
         
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
      
 112 
     | 
    
         
            +
            class MethodNotFoundRpcError extends RpcError {
         
     | 
| 
       111 
113 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       112 
114 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       113 
115 
     | 
    
         
             
                        code: MethodNotFoundRpcError.code,
         
     | 
| 
         @@ -127,12 +129,13 @@ Object.defineProperty(MethodNotFoundRpcError, "code", { 
     | 
|
| 
       127 
129 
     | 
    
         
             
                writable: true,
         
     | 
| 
       128 
130 
     | 
    
         
             
                value: -32601
         
     | 
| 
       129 
131 
     | 
    
         
             
            });
         
     | 
| 
      
 132 
     | 
    
         
            +
            export { MethodNotFoundRpcError };
         
     | 
| 
       130 
133 
     | 
    
         
             
            /**
         
     | 
| 
       131 
134 
     | 
    
         
             
             * Subclass for an "Invalid params" EIP-1474 error.
         
     | 
| 
       132 
135 
     | 
    
         
             
             *
         
     | 
| 
       133 
136 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       134 
137 
     | 
    
         
             
             */
         
     | 
| 
       135 
     | 
    
         
            -
             
     | 
| 
      
 138 
     | 
    
         
            +
            class InvalidParamsRpcError extends RpcError {
         
     | 
| 
       136 
139 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       137 
140 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       138 
141 
     | 
    
         
             
                        code: InvalidParamsRpcError.code,
         
     | 
| 
         @@ -155,12 +158,13 @@ Object.defineProperty(InvalidParamsRpcError, "code", { 
     | 
|
| 
       155 
158 
     | 
    
         
             
                writable: true,
         
     | 
| 
       156 
159 
     | 
    
         
             
                value: -32602
         
     | 
| 
       157 
160 
     | 
    
         
             
            });
         
     | 
| 
      
 161 
     | 
    
         
            +
            export { InvalidParamsRpcError };
         
     | 
| 
       158 
162 
     | 
    
         
             
            /**
         
     | 
| 
       159 
163 
     | 
    
         
             
             * Subclass for an "Internal error" EIP-1474 error.
         
     | 
| 
       160 
164 
     | 
    
         
             
             *
         
     | 
| 
       161 
165 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       162 
166 
     | 
    
         
             
             */
         
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
      
 167 
     | 
    
         
            +
            class InternalRpcError extends RpcError {
         
     | 
| 
       164 
168 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       165 
169 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       166 
170 
     | 
    
         
             
                        code: InternalRpcError.code,
         
     | 
| 
         @@ -180,12 +184,13 @@ Object.defineProperty(InternalRpcError, "code", { 
     | 
|
| 
       180 
184 
     | 
    
         
             
                writable: true,
         
     | 
| 
       181 
185 
     | 
    
         
             
                value: -32603
         
     | 
| 
       182 
186 
     | 
    
         
             
            });
         
     | 
| 
      
 187 
     | 
    
         
            +
            export { InternalRpcError };
         
     | 
| 
       183 
188 
     | 
    
         
             
            /**
         
     | 
| 
       184 
189 
     | 
    
         
             
             * Subclass for an "Invalid input" EIP-1474 error.
         
     | 
| 
       185 
190 
     | 
    
         
             
             *
         
     | 
| 
       186 
191 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       187 
192 
     | 
    
         
             
             */
         
     | 
| 
       188 
     | 
    
         
            -
             
     | 
| 
      
 193 
     | 
    
         
            +
            class InvalidInputRpcError extends RpcError {
         
     | 
| 
       189 
194 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       190 
195 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       191 
196 
     | 
    
         
             
                        code: InvalidInputRpcError.code,
         
     | 
| 
         @@ -208,12 +213,13 @@ Object.defineProperty(InvalidInputRpcError, "code", { 
     | 
|
| 
       208 
213 
     | 
    
         
             
                writable: true,
         
     | 
| 
       209 
214 
     | 
    
         
             
                value: -32000
         
     | 
| 
       210 
215 
     | 
    
         
             
            });
         
     | 
| 
      
 216 
     | 
    
         
            +
            export { InvalidInputRpcError };
         
     | 
| 
       211 
217 
     | 
    
         
             
            /**
         
     | 
| 
       212 
218 
     | 
    
         
             
             * Subclass for a "Resource not found" EIP-1474 error.
         
     | 
| 
       213 
219 
     | 
    
         
             
             *
         
     | 
| 
       214 
220 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       215 
221 
     | 
    
         
             
             */
         
     | 
| 
       216 
     | 
    
         
            -
             
     | 
| 
      
 222 
     | 
    
         
            +
            class ResourceNotFoundRpcError extends RpcError {
         
     | 
| 
       217 
223 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       218 
224 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       219 
225 
     | 
    
         
             
                        code: ResourceNotFoundRpcError.code,
         
     | 
| 
         @@ -233,12 +239,13 @@ Object.defineProperty(ResourceNotFoundRpcError, "code", { 
     | 
|
| 
       233 
239 
     | 
    
         
             
                writable: true,
         
     | 
| 
       234 
240 
     | 
    
         
             
                value: -32001
         
     | 
| 
       235 
241 
     | 
    
         
             
            });
         
     | 
| 
      
 242 
     | 
    
         
            +
            export { ResourceNotFoundRpcError };
         
     | 
| 
       236 
243 
     | 
    
         
             
            /**
         
     | 
| 
       237 
244 
     | 
    
         
             
             * Subclass for a "Resource unavailable" EIP-1474 error.
         
     | 
| 
       238 
245 
     | 
    
         
             
             *
         
     | 
| 
       239 
246 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       240 
247 
     | 
    
         
             
             */
         
     | 
| 
       241 
     | 
    
         
            -
             
     | 
| 
      
 248 
     | 
    
         
            +
            class ResourceUnavailableRpcError extends RpcError {
         
     | 
| 
       242 
249 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       243 
250 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       244 
251 
     | 
    
         
             
                        code: ResourceUnavailableRpcError.code,
         
     | 
| 
         @@ -258,12 +265,13 @@ Object.defineProperty(ResourceUnavailableRpcError, "code", { 
     | 
|
| 
       258 
265 
     | 
    
         
             
                writable: true,
         
     | 
| 
       259 
266 
     | 
    
         
             
                value: -32002
         
     | 
| 
       260 
267 
     | 
    
         
             
            });
         
     | 
| 
      
 268 
     | 
    
         
            +
            export { ResourceUnavailableRpcError };
         
     | 
| 
       261 
269 
     | 
    
         
             
            /**
         
     | 
| 
       262 
270 
     | 
    
         
             
             * Subclass for a "Transaction rejected" EIP-1474 error.
         
     | 
| 
       263 
271 
     | 
    
         
             
             *
         
     | 
| 
       264 
272 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       265 
273 
     | 
    
         
             
             */
         
     | 
| 
       266 
     | 
    
         
            -
             
     | 
| 
      
 274 
     | 
    
         
            +
            class TransactionRejectedRpcError extends RpcError {
         
     | 
| 
       267 
275 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       268 
276 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       269 
277 
     | 
    
         
             
                        code: TransactionRejectedRpcError.code,
         
     | 
| 
         @@ -283,12 +291,13 @@ Object.defineProperty(TransactionRejectedRpcError, "code", { 
     | 
|
| 
       283 
291 
     | 
    
         
             
                writable: true,
         
     | 
| 
       284 
292 
     | 
    
         
             
                value: -32003
         
     | 
| 
       285 
293 
     | 
    
         
             
            });
         
     | 
| 
      
 294 
     | 
    
         
            +
            export { TransactionRejectedRpcError };
         
     | 
| 
       286 
295 
     | 
    
         
             
            /**
         
     | 
| 
       287 
296 
     | 
    
         
             
             * Subclass for a "Method not supported" EIP-1474 error.
         
     | 
| 
       288 
297 
     | 
    
         
             
             *
         
     | 
| 
       289 
298 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       290 
299 
     | 
    
         
             
             */
         
     | 
| 
       291 
     | 
    
         
            -
             
     | 
| 
      
 300 
     | 
    
         
            +
            class MethodNotSupportedRpcError extends RpcError {
         
     | 
| 
       292 
301 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       293 
302 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       294 
303 
     | 
    
         
             
                        code: MethodNotSupportedRpcError.code,
         
     | 
| 
         @@ -308,12 +317,13 @@ Object.defineProperty(MethodNotSupportedRpcError, "code", { 
     | 
|
| 
       308 
317 
     | 
    
         
             
                writable: true,
         
     | 
| 
       309 
318 
     | 
    
         
             
                value: -32004
         
     | 
| 
       310 
319 
     | 
    
         
             
            });
         
     | 
| 
      
 320 
     | 
    
         
            +
            export { MethodNotSupportedRpcError };
         
     | 
| 
       311 
321 
     | 
    
         
             
            /**
         
     | 
| 
       312 
322 
     | 
    
         
             
             * Subclass for a "Limit exceeded" EIP-1474 error.
         
     | 
| 
       313 
323 
     | 
    
         
             
             *
         
     | 
| 
       314 
324 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       315 
325 
     | 
    
         
             
             */
         
     | 
| 
       316 
     | 
    
         
            -
             
     | 
| 
      
 326 
     | 
    
         
            +
            class LimitExceededRpcError extends RpcError {
         
     | 
| 
       317 
327 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       318 
328 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       319 
329 
     | 
    
         
             
                        code: LimitExceededRpcError.code,
         
     | 
| 
         @@ -333,12 +343,13 @@ Object.defineProperty(LimitExceededRpcError, "code", { 
     | 
|
| 
       333 
343 
     | 
    
         
             
                writable: true,
         
     | 
| 
       334 
344 
     | 
    
         
             
                value: -32005
         
     | 
| 
       335 
345 
     | 
    
         
             
            });
         
     | 
| 
      
 346 
     | 
    
         
            +
            export { LimitExceededRpcError };
         
     | 
| 
       336 
347 
     | 
    
         
             
            /**
         
     | 
| 
       337 
348 
     | 
    
         
             
             * Subclass for a "JSON-RPC version not supported" EIP-1474 error.
         
     | 
| 
       338 
349 
     | 
    
         
             
             *
         
     | 
| 
       339 
350 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1474#error-codes
         
     | 
| 
       340 
351 
     | 
    
         
             
             */
         
     | 
| 
       341 
     | 
    
         
            -
             
     | 
| 
      
 352 
     | 
    
         
            +
            class JsonRpcVersionUnsupportedError extends RpcError {
         
     | 
| 
       342 
353 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       343 
354 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       344 
355 
     | 
    
         
             
                        code: JsonRpcVersionUnsupportedError.code,
         
     | 
| 
         @@ -358,12 +369,13 @@ Object.defineProperty(JsonRpcVersionUnsupportedError, "code", { 
     | 
|
| 
       358 
369 
     | 
    
         
             
                writable: true,
         
     | 
| 
       359 
370 
     | 
    
         
             
                value: -32006
         
     | 
| 
       360 
371 
     | 
    
         
             
            });
         
     | 
| 
      
 372 
     | 
    
         
            +
            export { JsonRpcVersionUnsupportedError };
         
     | 
| 
       361 
373 
     | 
    
         
             
            /**
         
     | 
| 
       362 
374 
     | 
    
         
             
             * Subclass for a "User Rejected Request" EIP-1193 error.
         
     | 
| 
       363 
375 
     | 
    
         
             
             *
         
     | 
| 
       364 
376 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1193#provider-errors
         
     | 
| 
       365 
377 
     | 
    
         
             
             */
         
     | 
| 
       366 
     | 
    
         
            -
             
     | 
| 
      
 378 
     | 
    
         
            +
            class UserRejectedRequestError extends ProviderRpcError {
         
     | 
| 
       367 
379 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       368 
380 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       369 
381 
     | 
    
         
             
                        code: UserRejectedRequestError.code,
         
     | 
| 
         @@ -383,12 +395,13 @@ Object.defineProperty(UserRejectedRequestError, "code", { 
     | 
|
| 
       383 
395 
     | 
    
         
             
                writable: true,
         
     | 
| 
       384 
396 
     | 
    
         
             
                value: 4001
         
     | 
| 
       385 
397 
     | 
    
         
             
            });
         
     | 
| 
      
 398 
     | 
    
         
            +
            export { UserRejectedRequestError };
         
     | 
| 
       386 
399 
     | 
    
         
             
            /**
         
     | 
| 
       387 
400 
     | 
    
         
             
             * Subclass for an "Unauthorized" EIP-1193 error.
         
     | 
| 
       388 
401 
     | 
    
         
             
             *
         
     | 
| 
       389 
402 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1193#provider-errors
         
     | 
| 
       390 
403 
     | 
    
         
             
             */
         
     | 
| 
       391 
     | 
    
         
            -
             
     | 
| 
      
 404 
     | 
    
         
            +
            class UnauthorizedProviderError extends ProviderRpcError {
         
     | 
| 
       392 
405 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       393 
406 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       394 
407 
     | 
    
         
             
                        code: UnauthorizedProviderError.code,
         
     | 
| 
         @@ -408,12 +421,13 @@ Object.defineProperty(UnauthorizedProviderError, "code", { 
     | 
|
| 
       408 
421 
     | 
    
         
             
                writable: true,
         
     | 
| 
       409 
422 
     | 
    
         
             
                value: 4100
         
     | 
| 
       410 
423 
     | 
    
         
             
            });
         
     | 
| 
      
 424 
     | 
    
         
            +
            export { UnauthorizedProviderError };
         
     | 
| 
       411 
425 
     | 
    
         
             
            /**
         
     | 
| 
       412 
426 
     | 
    
         
             
             * Subclass for an "Unsupported Method" EIP-1193 error.
         
     | 
| 
       413 
427 
     | 
    
         
             
             *
         
     | 
| 
       414 
428 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1193#provider-errors
         
     | 
| 
       415 
429 
     | 
    
         
             
             */
         
     | 
| 
       416 
     | 
    
         
            -
             
     | 
| 
      
 430 
     | 
    
         
            +
            class UnsupportedProviderMethodError extends ProviderRpcError {
         
     | 
| 
       417 
431 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       418 
432 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       419 
433 
     | 
    
         
             
                        code: UnsupportedProviderMethodError.code,
         
     | 
| 
         @@ -433,12 +447,13 @@ Object.defineProperty(UnsupportedProviderMethodError, "code", { 
     | 
|
| 
       433 
447 
     | 
    
         
             
                writable: true,
         
     | 
| 
       434 
448 
     | 
    
         
             
                value: 4200
         
     | 
| 
       435 
449 
     | 
    
         
             
            });
         
     | 
| 
      
 450 
     | 
    
         
            +
            export { UnsupportedProviderMethodError };
         
     | 
| 
       436 
451 
     | 
    
         
             
            /**
         
     | 
| 
       437 
452 
     | 
    
         
             
             * Subclass for an "Disconnected" EIP-1193 error.
         
     | 
| 
       438 
453 
     | 
    
         
             
             *
         
     | 
| 
       439 
454 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1193#provider-errors
         
     | 
| 
       440 
455 
     | 
    
         
             
             */
         
     | 
| 
       441 
     | 
    
         
            -
             
     | 
| 
      
 456 
     | 
    
         
            +
            class ProviderDisconnectedError extends ProviderRpcError {
         
     | 
| 
       442 
457 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       443 
458 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       444 
459 
     | 
    
         
             
                        code: ProviderDisconnectedError.code,
         
     | 
| 
         @@ -458,12 +473,13 @@ Object.defineProperty(ProviderDisconnectedError, "code", { 
     | 
|
| 
       458 
473 
     | 
    
         
             
                writable: true,
         
     | 
| 
       459 
474 
     | 
    
         
             
                value: 4900
         
     | 
| 
       460 
475 
     | 
    
         
             
            });
         
     | 
| 
      
 476 
     | 
    
         
            +
            export { ProviderDisconnectedError };
         
     | 
| 
       461 
477 
     | 
    
         
             
            /**
         
     | 
| 
       462 
478 
     | 
    
         
             
             * Subclass for an "Chain Disconnected" EIP-1193 error.
         
     | 
| 
       463 
479 
     | 
    
         
             
             *
         
     | 
| 
       464 
480 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1193#provider-errors
         
     | 
| 
       465 
481 
     | 
    
         
             
             */
         
     | 
| 
       466 
     | 
    
         
            -
             
     | 
| 
      
 482 
     | 
    
         
            +
            class ChainDisconnectedError extends ProviderRpcError {
         
     | 
| 
       467 
483 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       468 
484 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       469 
485 
     | 
    
         
             
                        code: ChainDisconnectedError.code,
         
     | 
| 
         @@ -483,12 +499,13 @@ Object.defineProperty(ChainDisconnectedError, "code", { 
     | 
|
| 
       483 
499 
     | 
    
         
             
                writable: true,
         
     | 
| 
       484 
500 
     | 
    
         
             
                value: 4901
         
     | 
| 
       485 
501 
     | 
    
         
             
            });
         
     | 
| 
      
 502 
     | 
    
         
            +
            export { ChainDisconnectedError };
         
     | 
| 
       486 
503 
     | 
    
         
             
            /**
         
     | 
| 
       487 
504 
     | 
    
         
             
             * Subclass for an "Switch Chain" EIP-1193 error.
         
     | 
| 
       488 
505 
     | 
    
         
             
             *
         
     | 
| 
       489 
506 
     | 
    
         
             
             * EIP https://eips.ethereum.org/EIPS/eip-1193#provider-errors
         
     | 
| 
       490 
507 
     | 
    
         
             
             */
         
     | 
| 
       491 
     | 
    
         
            -
             
     | 
| 
      
 508 
     | 
    
         
            +
            class SwitchChainError extends ProviderRpcError {
         
     | 
| 
       492 
509 
     | 
    
         
             
                constructor(cause) {
         
     | 
| 
       493 
510 
     | 
    
         
             
                    super(cause, {
         
     | 
| 
       494 
511 
     | 
    
         
             
                        code: SwitchChainError.code,
         
     | 
| 
         @@ -508,6 +525,7 @@ Object.defineProperty(SwitchChainError, "code", { 
     | 
|
| 
       508 
525 
     | 
    
         
             
                writable: true,
         
     | 
| 
       509 
526 
     | 
    
         
             
                value: 4902
         
     | 
| 
       510 
527 
     | 
    
         
             
            });
         
     | 
| 
      
 528 
     | 
    
         
            +
            export { SwitchChainError };
         
     | 
| 
       511 
529 
     | 
    
         
             
            /**
         
     | 
| 
       512 
530 
     | 
    
         
             
             * Subclass for an unknown RPC error.
         
     | 
| 
       513 
531 
     | 
    
         
             
             */
         
     | 
    
        package/_esm/errors/rpc.js.map
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../errors/rpc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,MAAM,gBAAgB,GAAG,CAAC,CAAC,CAAA;AAyB3B;;;;GAIG;AACH,MAAM,OAAO,QAA8C,SAAQ,SAAS;IAK1E,YACE,KAAY,EACZ,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAA0B;QAEtE,KAAK,CAAC,YAAY,EAAE;YAClB,KAAK;YACL,QAAQ;YACR,YAAY,EACV,YAAY,IAAK,KAAqC,EAAE,YAAY;SACvE,CAAC,CAAA;QAbK;;;;mBAAO,UAAU;WAAA;QAE1B;;;;;WAA2B;QAYzB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,CACV,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,gBAAgB,CAChE,CAAA;IACZ,CAAC;CACF;AAUD;;;;GAIG;AACH,MAAM,OAAO,gBAEX,SAAQ,QAA8B;IAKtC,YACE,KAAY,EACZ,OAIC;QAED,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAZd;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAAQ;QAYN,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;IAC1B,CAAC;CACF;AAED;;;;GAIG;AACH, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../errors/rpc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,MAAM,gBAAgB,GAAG,CAAC,CAAC,CAAA;AAyB3B;;;;GAIG;AACH,MAAM,OAAO,QAA8C,SAAQ,SAAS;IAK1E,YACE,KAAY,EACZ,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAA0B;QAEtE,KAAK,CAAC,YAAY,EAAE;YAClB,KAAK;YACL,QAAQ;YACR,YAAY,EACV,YAAY,IAAK,KAAqC,EAAE,YAAY;SACvE,CAAC,CAAA;QAbK;;;;mBAAO,UAAU;WAAA;QAE1B;;;;;WAA2B;QAYzB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;QACtB,IAAI,CAAC,IAAI,GAAG,CACV,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,gBAAgB,CAChE,CAAA;IACZ,CAAC;CACF;AAUD;;;;GAIG;AACH,MAAM,OAAO,gBAEX,SAAQ,QAA8B;IAKtC,YACE,KAAY,EACZ,OAIC;QAED,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAZd;;;;mBAAO,kBAAkB;WAAA;QAElC;;;;;WAAQ;QAYN,IAAI,CAAC,IAAI,GAAG,OAAO,C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;WAAO,IAAa;EAAhB,CAAgB;SAFhB,sBAAsB;AAYnC;;;;GAIG;AACH,MAAa,gBAAiB,SAAQ,gBAAgB;IAIpD,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,IAAI,EAAE,gBAAgB,CAAC,IAAI;YAC3B,YAAY,EAAE,oDAAoD;SACnE,CAAC,CAAA;QAPK;;;;mBAAO,kBAAkB;WAAA;IAQlC,CAAC;;AAPM;;;;WAAO,IAAa;EAAhB,CAAgB;SAFhB,gBAAgB;AAY7B;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAG3C,YAAY,KAAY;QACtB,KAAK,CAAC,KAAK,EAAE;YACX,YAAY,EAAE,gCAAgC;SAC/C,CAAC,CAAA;QALK;;;;mBAAO,iBAAiB;WAAA;IAMjC,CAAC;CACF"}
         
     | 
    
        package/_esm/errors/version.js
    CHANGED
    
    | 
         @@ -1,2 +1,2 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            export const version = '2.0.0-alpha. 
     | 
| 
      
 1 
     | 
    
         
            +
            export const version = '2.0.0-alpha.5';
         
     | 
| 
       2 
2 
     | 
    
         
             
            //# sourceMappingURL=version.js.map
         
     | 
| 
         @@ -6,13 +6,13 @@ import type { GetAccountParameter } from '../../types/account.js'; 
     | 
|
| 
       6 
6 
     | 
    
         
             
            import type { Chain, GetChain } from '../../types/chain.js';
         
     | 
| 
       7 
7 
     | 
    
         
             
            import type { ContractFunctionArgs, ContractFunctionName, ContractFunctionParameters, GetValue } from '../../types/contract.js';
         
     | 
| 
       8 
8 
     | 
    
         
             
            import type { Hex } from '../../types/misc.js';
         
     | 
| 
       9 
     | 
    
         
            -
            import type { UnionOmit } from '../../types/utils.js';
         
     | 
| 
      
 9 
     | 
    
         
            +
            import type { Prettify, UnionEvaluate, UnionOmit } from '../../types/utils.js';
         
     | 
| 
       10 
10 
     | 
    
         
             
            import type { FormattedTransactionRequest } from '../../utils/formatters/transactionRequest.js';
         
     | 
| 
       11 
11 
     | 
    
         
             
            import { type SendTransactionParameters, type SendTransactionReturnType } from './sendTransaction.js';
         
     | 
| 
       12 
     | 
    
         
            -
            export type WriteContractParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'> = ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName> = ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chain extends Chain | undefined = Chain, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, allFunctionNames = ContractFunctionName<abi, 'nonpayable' | 'payable'>> =  
     | 
| 
      
 12 
     | 
    
         
            +
            export type WriteContractParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'> = ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName> = ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chain extends Chain | undefined = Chain, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined, allFunctionNames = ContractFunctionName<abi, 'nonpayable' | 'payable'>> = UnionEvaluate<UnionEvaluate<UnionOmit<FormattedTransactionRequest<chainOverride extends Chain ? chainOverride : chain>, 'data' | 'from' | 'to' | 'value'>> & ContractFunctionParameters<abi, 'nonpayable' | 'payable', functionName, args, allFunctionNames> & Prettify<GetAccountParameter<account> & GetChain<chain, chainOverride> & GetValue<abi, functionName, SendTransactionParameters<chain, account, chainOverride> extends SendTransactionParameters ? SendTransactionParameters<chain, account, chainOverride>['value'] : SendTransactionParameters['value']> & {
         
     | 
| 
       13 
13 
     | 
    
         
             
                /** Data to append to the end of the calldata. Useful for adding a ["domain" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f). */
         
     | 
| 
       14 
14 
     | 
    
         
             
                dataSuffix?: Hex;
         
     | 
| 
       15 
     | 
    
         
            -
            } 
     | 
| 
      
 15 
     | 
    
         
            +
            }>>;
         
     | 
| 
       16 
16 
     | 
    
         
             
            export type WriteContractReturnType = SendTransactionReturnType;
         
     | 
| 
       17 
17 
     | 
    
         
             
            /**
         
     | 
| 
       18 
18 
     | 
    
         
             
             * Executes a write function on a contract.
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"writeContract.d.ts","sourceRoot":"","sources":["../../../actions/wallet/writeContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,0BAA0B,EAC1B,QAAQ,EACT,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA; 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"writeContract.d.ts","sourceRoot":"","sources":["../../../actions/wallet/writeContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CA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{ 
     | 
|
| 
       63 
63 
     | 
    
         
             
                        v?: `0x${string}` | undefined;
         
     | 
| 
       64 
64 
     | 
    
         
             
                        accessList?: undefined;
         
     | 
| 
       65 
65 
     | 
    
         
             
                        chainId?: `0x${string}` | undefined;
         
     | 
| 
       66 
     | 
    
         
            -
                    } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
         
     | 
| 
      
 66 
     | 
    
         
            +
                    } & import("../../types/utils.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
         
     | 
| 
       67 
67 
     | 
    
         
             
                        feeCurrency: `0x${string}` | null;
         
     | 
| 
       68 
68 
     | 
    
         
             
                        gatewayFee: `0x${string}` | null;
         
     | 
| 
       69 
69 
     | 
    
         
             
                        gatewayFeeRecipient: `0x${string}` | null;
         
     | 
| 
         @@ -112,7 +112,7 @@ export declare const formattersCelo: { 
     | 
|
| 
       112 
112 
     | 
    
         
             
                        v?: `0x${string}` | undefined;
         
     | 
| 
       113 
113 
     | 
    
         
             
                        accessList?: import("../../index.js").AccessList | undefined;
         
     | 
| 
       114 
114 
     | 
    
         
             
                        chainId?: `0x${string}` | undefined;
         
     | 
| 
       115 
     | 
    
         
            -
                    } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
         
     | 
| 
      
 115 
     | 
    
         
            +
                    } & import("../../types/utils.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
         
     | 
| 
       116 
116 
     | 
    
         
             
                        feeCurrency: `0x${string}` | null;
         
     | 
| 
       117 
117 
     | 
    
         
             
                        gatewayFee: `0x${string}` | null;
         
     | 
| 
       118 
118 
     | 
    
         
             
                        gatewayFeeRecipient: `0x${string}` | null;
         
     | 
| 
         @@ -136,7 +136,7 @@ export declare const formattersCelo: { 
     | 
|
| 
       136 
136 
     | 
    
         
             
                        v?: `0x${string}` | undefined;
         
     | 
| 
       137 
137 
     | 
    
         
             
                        accessList?: import("../../index.js").AccessList | undefined;
         
     | 
| 
       138 
138 
     | 
    
         
             
                        chainId?: `0x${string}` | undefined;
         
     | 
| 
       139 
     | 
    
         
            -
                    } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
         
     | 
| 
      
 139 
     | 
    
         
            +
                    } & import("../../types/utils.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
         
     | 
| 
       140 
140 
     | 
    
         
             
                        feeCurrency: `0x${string}` | null;
         
     | 
| 
       141 
141 
     | 
    
         
             
                        gatewayFee: `0x${string}` | null;
         
     | 
| 
       142 
142 
     | 
    
         
             
                        gatewayFeeRecipient: `0x${string}` | null;
         
     | 
| 
         @@ -160,7 +160,7 @@ export declare const formattersCelo: { 
     | 
|
| 
       160 
160 
     | 
    
         
             
                        v?: `0x${string}` | undefined;
         
     | 
| 
       161 
161 
     | 
    
         
             
                        accessList?: import("../../index.js").AccessList | undefined;
         
     | 
| 
       162 
162 
     | 
    
         
             
                        chainId?: `0x${string}` | undefined;
         
     | 
| 
       163 
     | 
    
         
            -
                    } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
         
     | 
| 
      
 163 
     | 
    
         
            +
                    } & import("../../types/utils.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
         
     | 
| 
       164 
164 
     | 
    
         
             
                        feeCurrency: `0x${string}` | null;
         
     | 
| 
       165 
165 
     | 
    
         
             
                        gatewayFee: `0x${string}` | null;
         
     | 
| 
       166 
166 
     | 
    
         
             
                        gatewayFeeRecipient: `0x${string}` | null;
         
     | 
| 
         @@ -209,7 +209,7 @@ export declare const formattersCelo: { 
     | 
|
| 
       209 
209 
     | 
    
         
             
                        v?: `0x${string}` | undefined;
         
     | 
| 
       210 
210 
     | 
    
         
             
                        accessList?: import("../../index.js").AccessList | undefined;
         
     | 
| 
       211 
211 
     | 
    
         
             
                        chainId?: `0x${string}` | undefined;
         
     | 
| 
       212 
     | 
    
         
            -
                    } & Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
         
     | 
| 
      
 212 
     | 
    
         
            +
                    } & import("../../types/utils.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
         
     | 
| 
       213 
213 
     | 
    
         
             
                        feeCurrency: `0x${string}` | null;
         
     | 
| 
       214 
214 
     | 
    
         
             
                        gatewayFee: `0x${string}` | null;
         
     | 
| 
       215 
215 
     | 
    
         
             
                        gatewayFeeRecipient: `0x${string}` | null;
         
     | 
| 
         @@ -233,7 +233,7 @@ export declare const formattersCelo: { 
     | 
|
| 
       233 
233 
     | 
    
         
             
                        v?: `0x${string}` | undefined;
         
     | 
| 
       234 
234 
     | 
    
         
             
                        accessList?: import("../../index.js").AccessList | undefined;
         
     | 
| 
       235 
235 
     | 
    
         
             
                        chainId?: `0x${string}` | undefined;
         
     | 
| 
       236 
     | 
    
         
            -
                    } & Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
         
     | 
| 
      
 236 
     | 
    
         
            +
                    } & import("../../types/utils.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
         
     | 
| 
       237 
237 
     | 
    
         
             
                        feeCurrency: `0x${string}` | null;
         
     | 
| 
       238 
238 
     | 
    
         
             
                        gatewayFee: `0x${string}` | null;
         
     | 
| 
       239 
239 
     | 
    
         
             
                        gatewayFeeRecipient: `0x${string}` | null;
         
     | 
| 
         @@ -257,7 +257,7 @@ export declare const formattersCelo: { 
     | 
|
| 
       257 
257 
     | 
    
         
             
                        v?: `0x${string}` | undefined;
         
     | 
| 
       258 
258 
     | 
    
         
             
                        accessList?: import("../../index.js").AccessList | undefined;
         
     | 
| 
       259 
259 
     | 
    
         
             
                        chainId?: `0x${string}` | undefined;
         
     | 
| 
       260 
     | 
    
         
            -
                    } & Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
         
     | 
| 
      
 260 
     | 
    
         
            +
                    } & import("../../types/utils.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
         
     | 
| 
       261 
261 
     | 
    
         
             
                        feeCurrency: `0x${string}` | null;
         
     | 
| 
       262 
262 
     | 
    
         
             
                        gatewayFee: `0x${string}` | null;
         
     | 
| 
       263 
263 
     | 
    
         
             
                        gatewayFeeRecipient: `0x${string}` | null;
         
     |