viem 2.52.2 → 2.53.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/CHANGELOG.md +24 -0
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js +2 -0
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_cjs/chains/definitions/monad.js +5 -5
- package/_cjs/chains/definitions/monad.js.map +1 -1
- package/_cjs/chains/definitions/whitechainSepolia.js +31 -0
- package/_cjs/chains/definitions/whitechainSepolia.js.map +1 -0
- package/_cjs/chains/index.js +4 -2
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/tempo/Abis.js +1866 -1866
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Client.js +27 -0
- package/_cjs/tempo/Client.js.map +1 -0
- package/_cjs/tempo/Scopes.js +39 -0
- package/_cjs/tempo/Scopes.js.map +1 -0
- package/_cjs/tempo/Selectors.js +226 -0
- package/_cjs/tempo/Selectors.js.map +1 -0
- package/_cjs/tempo/index.js +13 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js +2 -0
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_esm/chains/definitions/monad.js +5 -5
- package/_esm/chains/definitions/monad.js.map +1 -1
- package/_esm/chains/definitions/whitechainSepolia.js +28 -0
- package/_esm/chains/definitions/whitechainSepolia.js.map +1 -0
- package/_esm/chains/index.js +1 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/tempo/Abis.js +1865 -1865
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Client.js +66 -0
- package/_esm/tempo/Client.js.map +1 -0
- package/_esm/tempo/Scopes.js +49 -0
- package/_esm/tempo/Scopes.js.map +1 -0
- package/_esm/tempo/Selectors.js +224 -0
- package/_esm/tempo/Selectors.js.map +1 -0
- package/_esm/tempo/index.js +9 -0
- package/_esm/tempo/index.js.map +1 -1
- package/_types/account-abstraction/actions/bundler/estimateUserOperationGas.d.ts.map +1 -1
- package/_types/chains/definitions/monad.d.ts +5 -5
- package/_types/chains/definitions/whitechainSepolia.d.ts +46 -0
- package/_types/chains/definitions/whitechainSepolia.d.ts.map +1 -0
- package/_types/chains/index.d.ts +1 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/tempo/Abis.d.ts +5816 -5816
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Client.d.ts +98 -0
- package/_types/tempo/Client.d.ts.map +1 -0
- package/_types/tempo/Scopes.d.ts +48 -0
- package/_types/tempo/Scopes.d.ts.map +1 -0
- package/_types/tempo/Selectors.d.ts +223 -0
- package/_types/tempo/Selectors.d.ts.map +1 -0
- package/_types/tempo/index.d.ts +9 -0
- package/_types/tempo/index.d.ts.map +1 -1
- package/account-abstraction/actions/bundler/estimateUserOperationGas.ts +2 -0
- package/chains/definitions/monad.ts +5 -5
- package/chains/definitions/whitechainSepolia.ts +28 -0
- package/chains/index.ts +1 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/tempo/Abis.ts +1869 -1869
- package/tempo/Client.ts +172 -0
- package/tempo/Scopes.ts +124 -0
- package/tempo/Selectors.ts +260 -0
- package/tempo/index.ts +34 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Abis.d.ts","sourceRoot":"","sources":["../../tempo/Abis.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"Abis.d.ts","sourceRoot":"","sources":["../../tempo/Abis.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeP,CAAA"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { Address } from 'abitype';
|
|
2
|
+
import type { TokenId } from 'ox/tempo';
|
|
3
|
+
import type { JsonRpcAccount } from '../accounts/types.js';
|
|
4
|
+
import { type Client as Client_, type ClientConfig as ClientConfig_ } from '../clients/createClient.js';
|
|
5
|
+
import { type PublicActions } from '../clients/decorators/public.js';
|
|
6
|
+
import { type WalletActions } from '../clients/decorators/wallet.js';
|
|
7
|
+
import type { Transport } from '../clients/transports/createTransport.js';
|
|
8
|
+
import type { ErrorType } from '../errors/utils.js';
|
|
9
|
+
import type { Account } from '../types/account.js';
|
|
10
|
+
import type { Chain } from '../types/chain.js';
|
|
11
|
+
import type { RpcSchema } from '../types/eip1193.js';
|
|
12
|
+
import type { Prettify } from '../types/utils.js';
|
|
13
|
+
import { tempo } from './Chain.js';
|
|
14
|
+
import { type Decorator } from './Decorator.js';
|
|
15
|
+
/**
|
|
16
|
+
* Configuration for a Tempo {@link Client}.
|
|
17
|
+
*
|
|
18
|
+
* Extends Viem's {@link ClientConfig} with Tempo-specific defaults: `chain`
|
|
19
|
+
* and `transport` become optional, and a `testnet` flag is added to select
|
|
20
|
+
* the Tempo testnet chain.
|
|
21
|
+
*/
|
|
22
|
+
export type ClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | Address | undefined = Account | Address | undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Omit<ClientConfig_<transport, chain, accountOrAddress, rpcSchema>, 'chain' | 'transport'> & {
|
|
23
|
+
/**
|
|
24
|
+
* Chain for the Client.
|
|
25
|
+
*
|
|
26
|
+
* @default tempo (or `tempoTestnet` when `testnet` is truthy)
|
|
27
|
+
*/
|
|
28
|
+
chain?: chain | Chain | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Default fee token for the Client. Extended onto the chain so it applies
|
|
31
|
+
* to every transaction sent with the Client.
|
|
32
|
+
*/
|
|
33
|
+
feeToken?: TokenId.TokenIdOrAddress | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to use the Tempo testnet chain.
|
|
36
|
+
*
|
|
37
|
+
* Ignored when `chain` is provided.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
testnet?: boolean | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* The RPC transport.
|
|
44
|
+
*
|
|
45
|
+
* @default http()
|
|
46
|
+
*/
|
|
47
|
+
transport?: transport | Transport | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
/**
|
|
50
|
+
* A Tempo {@link Client}: Viem's base Client decorated with
|
|
51
|
+
* `publicActions`, `walletActions`, and `tempoActions`.
|
|
52
|
+
*/
|
|
53
|
+
export type Client<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Client_<transport, chain, account, rpcSchema, PublicActions<transport, chain, account> & WalletActions<chain, account> & Decorator<chain, account>>>;
|
|
54
|
+
export type CreateClientErrorType = ErrorType;
|
|
55
|
+
/**
|
|
56
|
+
* Creates a Tempo {@link Client}: an extension of Viem's `createClient`
|
|
57
|
+
* decorated with `publicActions`, `walletActions`, and `tempoActions`.
|
|
58
|
+
*
|
|
59
|
+
* Defaults to the `tempo` mainnet chain and `http` transport, so a minimal
|
|
60
|
+
* client can be created with `createClient()`. Pass `testnet` to use the
|
|
61
|
+
* Tempo testnet, or `chain` to override the chain entirely. Pass `feeToken`
|
|
62
|
+
* to set a default fee token for every transaction.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* import { createClient } from 'viem/tempo'
|
|
67
|
+
*
|
|
68
|
+
* // Minimal client (tempo mainnet, http transport).
|
|
69
|
+
* const client = createClient()
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* import { Account, createClient, http } from 'viem/tempo'
|
|
75
|
+
*
|
|
76
|
+
* // Testnet client with an account and custom transport.
|
|
77
|
+
* const client = createClient({
|
|
78
|
+
* account: Account.fromSecp256k1('0x...'),
|
|
79
|
+
* testnet: true,
|
|
80
|
+
* transport: http('https://rpc.example.com'),
|
|
81
|
+
* })
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* import { createClient } from 'viem/tempo'
|
|
87
|
+
*
|
|
88
|
+
* // Client with a default fee token.
|
|
89
|
+
* const client = createClient({
|
|
90
|
+
* feeToken: '0x20c0000000000000000000000000000000000001',
|
|
91
|
+
* })
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @param parameters - Parameters.
|
|
95
|
+
* @returns The Tempo Client.
|
|
96
|
+
*/
|
|
97
|
+
export declare function createClient<transport extends Transport = Transport, chain extends Chain | undefined = typeof tempo, accountOrAddress extends Account | Address | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined>(parameters?: ClientConfig<transport, chain, accountOrAddress, rpcSchema>): Client<transport, chain, accountOrAddress extends Address ? Prettify<JsonRpcAccount<accountOrAddress>> : accountOrAddress, rpcSchema>;
|
|
98
|
+
//# sourceMappingURL=Client.d.ts.map
|
|
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,EAAE,KAAK,EAAE,gBAAgB,EAAE,SAAS,CAAM,GAC3E,MAAM,CACP,SAAS,EACT,KAAK,EACL,gBAAgB,SAAS,OAAO,GAC5B,QAAQ,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC,GAC1C,gBAAgB,EACpB,SAAS,CACV,CAiBA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { Address } from 'abitype';
|
|
2
|
+
import type { KeyAuthorization } from 'ox/tempo';
|
|
3
|
+
import * as Selectors from './Selectors.js';
|
|
4
|
+
export type Selector = NonNullable<KeyAuthorization.Scope['selector']>;
|
|
5
|
+
export type Options = {
|
|
6
|
+
/** Recipient allowlist for selectors that support recipient restrictions. */
|
|
7
|
+
recipients?: readonly Address[] | undefined;
|
|
8
|
+
};
|
|
9
|
+
export type Scope<address extends Address = Address, selector extends Selector | undefined = Selector | undefined> = Omit<KeyAuthorization.Scope, 'address' | 'recipients' | 'selector'> & {
|
|
10
|
+
address: address;
|
|
11
|
+
recipients?: readonly Address[] | undefined;
|
|
12
|
+
selector?: selector | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type Target<address extends Address = Address> = {
|
|
15
|
+
/** Allows any selector on the target. */
|
|
16
|
+
any: () => Scope<address, undefined>;
|
|
17
|
+
/** Allows calls matching the selector on the target. */
|
|
18
|
+
selector: <selector extends Selector>(selector: selector, options?: Options | undefined) => Scope<address, selector>;
|
|
19
|
+
};
|
|
20
|
+
export type SelectorMap = Record<string, Selector | Record<string, Selector>>;
|
|
21
|
+
export type Contract<address extends Address = Address, selectors extends SelectorMap = SelectorMap> = Target<address> & {
|
|
22
|
+
readonly [name in keyof selectors]: selectors[name] extends Selector ? (options?: Options | undefined) => Scope<address, selectors[name]> : selectors[name] extends Record<string, Selector> ? OverloadedSelector<address, selectors[name]> : never;
|
|
23
|
+
};
|
|
24
|
+
export type OverloadedSelector<address extends Address = Address, selectors extends Record<string, Selector> = Record<string, Selector>> = {
|
|
25
|
+
readonly [signature in keyof selectors]: (options?: Options | undefined) => Scope<address, selectors[signature]>;
|
|
26
|
+
} & {
|
|
27
|
+
selector: <signature extends keyof selectors>(signature: signature, options?: Options | undefined) => Scope<address, selectors[signature]>;
|
|
28
|
+
};
|
|
29
|
+
export type Tip20<address extends Address = Address> = Contract<address, typeof Selectors.tip20>;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a call scope builder for an arbitrary target.
|
|
32
|
+
*
|
|
33
|
+
* @experimental
|
|
34
|
+
*/
|
|
35
|
+
export declare function target<address extends Address>(address: address): Target<address>;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a typed call scope builder from a selector map.
|
|
38
|
+
*
|
|
39
|
+
* @experimental
|
|
40
|
+
*/
|
|
41
|
+
export declare function contract<address extends Address, selectors extends SelectorMap>(address: address, selectors: selectors): Contract<address, selectors>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a call scope builder for a TIP-20 token.
|
|
44
|
+
*
|
|
45
|
+
* @experimental
|
|
46
|
+
*/
|
|
47
|
+
export declare function tip20<address extends Address>(address: address): Tip20<address>;
|
|
48
|
+
//# sourceMappingURL=Scopes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scopes.d.ts","sourceRoot":"","sources":["../../tempo/Scopes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAA;AAEtE,MAAM,MAAM,OAAO,GAAG;IACpB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAA;CAC5C,CAAA;AAED,MAAM,MAAM,KAAK,CACf,OAAO,SAAS,OAAO,GAAG,OAA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readonly 'authorizeKey(address,uint8,(uint64,bool,(address,uint256,uint64)[],bool,(address,(bytes4,address[])[])[]))': "0x980a6025";
|
|
5
|
+
readonly 'authorizeKey(address,uint8,(uint64,bool,(address,uint256,uint64)[],bool,(address,(bytes4,address[])[])[]),bytes32)': "0xe3c154d2";
|
|
6
|
+
readonly 'authorizeKey(address,uint8,uint64,bool,(address,uint256)[])': "0x54063a55";
|
|
7
|
+
};
|
|
8
|
+
readonly burnKeyAuthorizationWitness: "0xcff31c46";
|
|
9
|
+
readonly getAllowedCalls: "0x0163e7ec";
|
|
10
|
+
readonly getKey: "0xbc298553";
|
|
11
|
+
readonly getRemainingLimit: "0x63b4290d";
|
|
12
|
+
readonly getRemainingLimitWithPeriod: "0xa7f72cab";
|
|
13
|
+
readonly getTransactionKey: "0xb07fbc1a";
|
|
14
|
+
readonly isAdminKey: "0x9009a18d";
|
|
15
|
+
readonly isKeyAuthorizationWitnessBurned: "0x8e6c7e11";
|
|
16
|
+
readonly removeAllowedCalls: "0xf3941811";
|
|
17
|
+
readonly revokeKey: "0x5ae7ab32";
|
|
18
|
+
readonly setAllowedCalls: "0xf5456703";
|
|
19
|
+
readonly updateSpendingLimit: "0xcbbb4480";
|
|
20
|
+
};
|
|
21
|
+
export declare const addressRegistry: {
|
|
22
|
+
readonly decodeVirtualAddress: "0xb35d6fb9";
|
|
23
|
+
readonly getMaster: "0xd84ab166";
|
|
24
|
+
readonly isImplicitlyApproved: "0xa8da6aa7";
|
|
25
|
+
readonly isVirtualAddress: "0xd501235a";
|
|
26
|
+
readonly registerVirtualMaster: "0x5c559d20";
|
|
27
|
+
readonly resolveRecipient: "0xfbea9d67";
|
|
28
|
+
readonly resolveVirtualAddress: "0xe2fc56ef";
|
|
29
|
+
};
|
|
30
|
+
export declare const nonce: {
|
|
31
|
+
readonly getNonce: "0x89535803";
|
|
32
|
+
};
|
|
33
|
+
export declare const receivePolicyGuard: {
|
|
34
|
+
readonly balanceOf: "0x78415365";
|
|
35
|
+
readonly burnBlockedReceipt: "0x96c1264c";
|
|
36
|
+
readonly claim: "0xbb1757cf";
|
|
37
|
+
};
|
|
38
|
+
export declare const signatureVerifier: {
|
|
39
|
+
readonly recover: "0x19045a25";
|
|
40
|
+
readonly verify: "0x1a86b550";
|
|
41
|
+
readonly verifyKeychain: "0x6c0c731e";
|
|
42
|
+
readonly verifyKeychainAdmin: "0x5f6fc5b7";
|
|
43
|
+
};
|
|
44
|
+
export declare const stablecoinDex: {
|
|
45
|
+
readonly MAX_PRICE: "0x01c11d96";
|
|
46
|
+
readonly MAX_TICK: "0x6882a888";
|
|
47
|
+
readonly MIN_ORDER_AMOUNT: "0x40bf2aa4";
|
|
48
|
+
readonly MIN_PRICE: "0xad9f20a6";
|
|
49
|
+
readonly MIN_TICK: "0xa1634b14";
|
|
50
|
+
readonly PRICE_SCALE: "0xc33f59d3";
|
|
51
|
+
readonly TICK_SPACING: "0x46ca626b";
|
|
52
|
+
readonly balanceOf: "0xf7888aec";
|
|
53
|
+
readonly books: "0x0c0dee70";
|
|
54
|
+
readonly cancel: "0x81649d06";
|
|
55
|
+
readonly cancelStaleOrder: "0x928b0e7f";
|
|
56
|
+
readonly createPair: "0x9ccb0744";
|
|
57
|
+
readonly getOrder: "0x117d4128";
|
|
58
|
+
readonly getTickLevel: "0x949bc662";
|
|
59
|
+
readonly nextOrderId: "0x2a58b330";
|
|
60
|
+
readonly pairKey: "0xcd27ca82";
|
|
61
|
+
readonly place: "0x63813125";
|
|
62
|
+
readonly placeFlip: "0x922828f1";
|
|
63
|
+
readonly priceToTick: "0x87b4e352";
|
|
64
|
+
readonly quoteSwapExactAmountIn: "0xe7c98f1a";
|
|
65
|
+
readonly quoteSwapExactAmountOut: "0x1576fa0e";
|
|
66
|
+
readonly swapExactAmountIn: "0xf8856c0f";
|
|
67
|
+
readonly swapExactAmountOut: "0xf0122b75";
|
|
68
|
+
readonly tickToPrice: "0x269a311d";
|
|
69
|
+
readonly withdraw: "0x08fab167";
|
|
70
|
+
};
|
|
71
|
+
export declare const tip20: {
|
|
72
|
+
readonly BURN_BLOCKED_ROLE: "0x32ad9be8";
|
|
73
|
+
readonly DOMAIN_SEPARATOR: "0x3644e515";
|
|
74
|
+
readonly ISSUER_ROLE: "0x82aefa24";
|
|
75
|
+
readonly PAUSE_ROLE: "0x389ed267";
|
|
76
|
+
readonly UNPAUSE_ROLE: "0x309756fb";
|
|
77
|
+
readonly allowance: "0xdd62ed3e";
|
|
78
|
+
readonly approve: "0x095ea7b3";
|
|
79
|
+
readonly balanceOf: "0x70a08231";
|
|
80
|
+
readonly burn: "0x42966c68";
|
|
81
|
+
readonly burnBlocked: "0xec0cf3dc";
|
|
82
|
+
readonly burnWithMemo: "0x38f23b0b";
|
|
83
|
+
readonly changeTransferPolicyId: "0xfd5e9420";
|
|
84
|
+
readonly claimRewards: "0x372500ab";
|
|
85
|
+
readonly completeQuoteTokenUpdate: "0x638bc4a3";
|
|
86
|
+
readonly currency: "0xe5a6b10f";
|
|
87
|
+
readonly decimals: "0x313ce567";
|
|
88
|
+
readonly distributeReward: "0x940a4e45";
|
|
89
|
+
readonly getPendingRewards: "0xf6ed2017";
|
|
90
|
+
readonly getRoleAdmin: "0x248a9ca3";
|
|
91
|
+
readonly globalRewardPerToken: "0x726ce324";
|
|
92
|
+
readonly grantRole: "0x2f2ff15d";
|
|
93
|
+
readonly hasRole: "0xac4ab3fb";
|
|
94
|
+
readonly logoURI: "0x6bb38b28";
|
|
95
|
+
readonly mint: "0x40c10f19";
|
|
96
|
+
readonly mintWithMemo: "0xe44f0b12";
|
|
97
|
+
readonly name: "0x06fdde03";
|
|
98
|
+
readonly nextQuoteToken: "0x7d0819b7";
|
|
99
|
+
readonly nonces: "0x7ecebe00";
|
|
100
|
+
readonly optedInSupply: "0x8ef39dce";
|
|
101
|
+
readonly pause: "0x8456cb59";
|
|
102
|
+
readonly paused: "0x5c975abb";
|
|
103
|
+
readonly permit: "0xd505accf";
|
|
104
|
+
readonly quoteToken: "0x217a4b70";
|
|
105
|
+
readonly renounceRole: "0x8bb9c5bf";
|
|
106
|
+
readonly revokeRole: "0xd547741f";
|
|
107
|
+
readonly setLogoURI: "0xc30ff6df";
|
|
108
|
+
readonly setNextQuoteToken: "0x4593223f";
|
|
109
|
+
readonly setRewardRecipient: "0xe521136f";
|
|
110
|
+
readonly setRoleAdmin: "0x1e4e0091";
|
|
111
|
+
readonly setSupplyCap: "0xb6a3f59a";
|
|
112
|
+
readonly supplyCap: "0x8f770ad0";
|
|
113
|
+
readonly symbol: "0x95d89b41";
|
|
114
|
+
readonly totalSupply: "0x18160ddd";
|
|
115
|
+
readonly transfer: "0xa9059cbb";
|
|
116
|
+
readonly transferFrom: "0x23b872dd";
|
|
117
|
+
readonly transferFromWithMemo: "0x929c2539";
|
|
118
|
+
readonly transferPolicyId: "0x9c4bad29";
|
|
119
|
+
readonly transferWithMemo: "0x95777d59";
|
|
120
|
+
readonly unpause: "0x3f4ba83a";
|
|
121
|
+
readonly userRewardInfo: "0x360b8ed9";
|
|
122
|
+
};
|
|
123
|
+
export declare const tip20ChannelReserve: {
|
|
124
|
+
readonly CLOSE_GRACE_PERIOD: "0x956c8327";
|
|
125
|
+
readonly VOUCHER_TYPEHASH: "0x94739e87";
|
|
126
|
+
readonly close: "0x73b57f74";
|
|
127
|
+
readonly computeChannelId: "0x185eeeac";
|
|
128
|
+
readonly domainSeparator: "0xf698da25";
|
|
129
|
+
readonly getChannel: "0xeef95313";
|
|
130
|
+
readonly getChannelState: "0xd18da8b1";
|
|
131
|
+
readonly getChannelStatesBatch: "0xd1f4cda2";
|
|
132
|
+
readonly getVoucherDigest: "0xf3b349e8";
|
|
133
|
+
readonly open: "0xedc53b00";
|
|
134
|
+
readonly requestClose: "0x675402e5";
|
|
135
|
+
readonly settle: "0x97fb5104";
|
|
136
|
+
readonly topUp: "0xdc48471e";
|
|
137
|
+
readonly withdraw: "0x41e2c664";
|
|
138
|
+
};
|
|
139
|
+
export declare const tip20Factory: {
|
|
140
|
+
readonly createToken: {
|
|
141
|
+
readonly 'createToken(string,string,string,address,address,bytes32)': "0x68130445";
|
|
142
|
+
readonly 'createToken(string,string,string,address,address,bytes32,string)': "0x5323d222";
|
|
143
|
+
};
|
|
144
|
+
readonly getTokenAddress: "0x9ed7cd64";
|
|
145
|
+
readonly isTIP20: "0x35ec42c9";
|
|
146
|
+
};
|
|
147
|
+
export declare const tip403Registry: {
|
|
148
|
+
readonly compoundPolicyData: "0xb6266019";
|
|
149
|
+
readonly createCompoundPolicy: "0x5da414ee";
|
|
150
|
+
readonly createPolicy: "0xca5d55f6";
|
|
151
|
+
readonly createPolicyWithAccounts: "0xa2d3044f";
|
|
152
|
+
readonly isAuthorized: "0x55a1179e";
|
|
153
|
+
readonly isAuthorizedMintRecipient: "0xb389e305";
|
|
154
|
+
readonly isAuthorizedRecipient: "0x6fbc13d6";
|
|
155
|
+
readonly isAuthorizedSender: "0x14abd81d";
|
|
156
|
+
readonly modifyPolicyBlacklist: "0xc62b27d4";
|
|
157
|
+
readonly modifyPolicyWhitelist: "0x71ec67a3";
|
|
158
|
+
readonly policyData: "0x50214329";
|
|
159
|
+
readonly policyExists: "0x330f5637";
|
|
160
|
+
readonly policyIdCounter: "0x3cc32f9c";
|
|
161
|
+
readonly receivePolicy: "0xe111e611";
|
|
162
|
+
readonly setPolicyAdmin: "0x25f7d376";
|
|
163
|
+
readonly setReceivePolicy: "0xdda03d86";
|
|
164
|
+
readonly validateReceivePolicy: "0xb72b0c59";
|
|
165
|
+
};
|
|
166
|
+
export declare const feeManager: {
|
|
167
|
+
readonly collectedFees: "0x4c97f766";
|
|
168
|
+
readonly distributeFees: "0xa6c07924";
|
|
169
|
+
readonly setUserToken: "0xe7897444";
|
|
170
|
+
readonly setValidatorToken: "0xb60d2ddb";
|
|
171
|
+
readonly userTokens: "0xed498fa8";
|
|
172
|
+
readonly validatorTokens: "0x6dc54a7a";
|
|
173
|
+
};
|
|
174
|
+
export declare const feeAmm: {
|
|
175
|
+
readonly M: "0x693f917e";
|
|
176
|
+
readonly MIN_LIQUIDITY: "0x21b77d63";
|
|
177
|
+
readonly N: "0xc9e525df";
|
|
178
|
+
readonly SCALE: "0xeced5526";
|
|
179
|
+
readonly burn: "0xfa291e53";
|
|
180
|
+
readonly getPool: "0x531aa03e";
|
|
181
|
+
readonly getPoolId: "0x2ef61c21";
|
|
182
|
+
readonly liquidityBalances: "0x4fb5bf7f";
|
|
183
|
+
readonly mint: "0xf1aa8cb8";
|
|
184
|
+
readonly pools: "0xb5217bb4";
|
|
185
|
+
readonly rebalanceSwap: "0x1bd94ac7";
|
|
186
|
+
readonly totalSupply: "0xb524abcf";
|
|
187
|
+
};
|
|
188
|
+
export declare const validatorConfig: {
|
|
189
|
+
readonly addValidator: "0xffb4822e";
|
|
190
|
+
readonly changeOwner: "0xa6f9dae1";
|
|
191
|
+
readonly changeValidatorStatus: "0xa1b3f4a9";
|
|
192
|
+
readonly changeValidatorStatusByIndex: "0x5aa3d0e1";
|
|
193
|
+
readonly getNextFullDkgCeremony: "0x281a69ec";
|
|
194
|
+
readonly getValidators: "0xb7ab4db5";
|
|
195
|
+
readonly owner: "0x8da5cb5b";
|
|
196
|
+
readonly setNextFullDkgCeremony: "0xc3576d46";
|
|
197
|
+
readonly updateValidator: "0x09970c76";
|
|
198
|
+
readonly validatorCount: "0x0f43a677";
|
|
199
|
+
readonly validators: "0xfa52c7d8";
|
|
200
|
+
readonly validatorsArray: "0x031fadbd";
|
|
201
|
+
};
|
|
202
|
+
export declare const validatorConfigV2: {
|
|
203
|
+
readonly addValidator: "0x6dcf616a";
|
|
204
|
+
readonly deactivateValidator: "0x8f289544";
|
|
205
|
+
readonly getActiveValidators: "0x9de70258";
|
|
206
|
+
readonly getInitializedAtHeight: "0xf926b083";
|
|
207
|
+
readonly getNextNetworkIdentityRotationEpoch: "0x42739f79";
|
|
208
|
+
readonly initializeIfMigrated: "0x2f88bb4f";
|
|
209
|
+
readonly isInitialized: "0x392e53cd";
|
|
210
|
+
readonly migrateValidator: "0xc8e73200";
|
|
211
|
+
readonly owner: "0x8da5cb5b";
|
|
212
|
+
readonly rotateValidator: "0x82f20dbe";
|
|
213
|
+
readonly setFeeRecipient: "0x572e4068";
|
|
214
|
+
readonly setIpAddresses: "0x55f25dc6";
|
|
215
|
+
readonly setNetworkIdentityRotationEpoch: "0xcb8425d2";
|
|
216
|
+
readonly transferOwnership: "0xf2fde38b";
|
|
217
|
+
readonly transferValidatorOwnership: "0x9e38a5f1";
|
|
218
|
+
readonly validatorByAddress: "0x1a6dda94";
|
|
219
|
+
readonly validatorByIndex: "0xecb14a34";
|
|
220
|
+
readonly validatorByPublicKey: "0x1b425d5e";
|
|
221
|
+
readonly validatorCount: "0x0f43a677";
|
|
222
|
+
};
|
|
223
|
+
//# sourceMappingURL=Selectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Selectors.d.ts","sourceRoot":"","sources":["../../tempo/Selectors.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;CAyBiB,CAAA;AAE7C,eAAO,MAAM,eAAe;;;;;;;;CAQuC,CAAA;AAEnE,eAAO,MAAM,KAAK;;CAEuC,CAAA;AAEzD,eAAO,MAAM,kBAAkB;;;;CAIuC,CAAA;AAEtE,eAAO,MAAM,iBAAiB;;;;;CAKuC,CAAA;AAErE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BuC,CAAA;AAEjE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDuC,CAAA;AAEzD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;CAeuC,CAAA;AAEvE,eAAO,MAAM,YAAY;;;;;;;CAYmB,CAAA;AAE5C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;CAkBuC,CAAA;AAElE,eAAO,MAAM,UAAU;;;;;;;CAOuC,CAAA;AAE9D,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAauC,CAAA;AAE1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAauC,CAAA;AAEnE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;CAoBuC,CAAA"}
|
package/_types/tempo/index.d.ts
CHANGED
|
@@ -9,12 +9,17 @@ TokenId as z_TokenId,
|
|
|
9
9
|
/** @deprecated */
|
|
10
10
|
TxEnvelopeTempo as z_TxEnvelopeTempo, } from 'ox/tempo';
|
|
11
11
|
export { Channel, MultisigConfig, Period, ReceivePolicyReceipt, TempoAddress, Tick, TokenId, VirtualAddress, VirtualMaster, } from 'ox/tempo';
|
|
12
|
+
export { type CustomTransport, type CustomTransportConfig, type CustomTransportErrorType, custom, } from '../clients/transports/custom.js';
|
|
13
|
+
export { type FallbackTransport, type FallbackTransportConfig, type FallbackTransportErrorType, fallback, } from '../clients/transports/fallback.js';
|
|
14
|
+
export { type HttpTransport, type HttpTransportConfig, type HttpTransportErrorType, http, } from '../clients/transports/http.js';
|
|
15
|
+
export { type WebSocketTransport, type WebSocketTransportConfig, type WebSocketTransportErrorType, webSocket, } from '../clients/transports/webSocket.js';
|
|
12
16
|
export * as Abis from './Abis.js';
|
|
13
17
|
export * as Account from './Account.js';
|
|
14
18
|
export * as Addresses from './Addresses.js';
|
|
15
19
|
export * as Actions from './actions/index.js';
|
|
16
20
|
export * as Capabilities from './Capabilities.js';
|
|
17
21
|
export * as Chain from './Chain.js';
|
|
22
|
+
export { type Client, type ClientConfig, type CreateClientErrorType, createClient, } from './Client.js';
|
|
18
23
|
export { type Decorator as TempoActions, decorator as tempoActions, } from './Decorator.js';
|
|
19
24
|
export * as Expiry from './Expiry.js';
|
|
20
25
|
export * from './errors.js';
|
|
@@ -22,6 +27,10 @@ export * as Formatters from './Formatters.js';
|
|
|
22
27
|
export * as Hardfork from './Hardfork.js';
|
|
23
28
|
export * as KeyAuthorizationManager from './KeyAuthorizationManager.js';
|
|
24
29
|
export * as P256 from './P256.js';
|
|
30
|
+
/** @experimental */
|
|
31
|
+
export * as Scopes from './Scopes.js';
|
|
32
|
+
/** @experimental */
|
|
33
|
+
export * as Selectors from './Selectors.js';
|
|
25
34
|
export * as Storage from './Storage.js';
|
|
26
35
|
export * as TokenIds from './TokenIds.js';
|
|
27
36
|
export type {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../tempo/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAEhD,YAAY;AACV,kBAAkB;AAClB,gBAAgB,IAAI,kBAAkB;AACtC,kBAAkB;AAClB,iBAAiB,IAAI,mBAAmB;AACxC,kBAAkB;AAClB,OAAO,IAAI,SAAS;AACpB,kBAAkB;AAClB,eAAe,IAAI,iBAAiB,GACrC,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,OAAO,EACP,cAAc,EACd,MAAM,EACN,oBAAoB,EACpB,YAAY,EACZ,IAAI,EACJ,OAAO,EACP,cAAc,EACd,aAAa,GACd,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,EACL,KAAK,SAAS,IAAI,YAAY,EAC9B,SAAS,IAAI,YAAY,GAC1B,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,cAAc,aAAa,CAAA;AAC3B,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KA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M,oBAAoB,CAAA"}
|
|
@@ -17,13 +17,13 @@ export const monad = /*#__PURE__*/ defineChain({
|
|
|
17
17
|
},
|
|
18
18
|
blockExplorers: {
|
|
19
19
|
default: {
|
|
20
|
-
name: 'MonadVision',
|
|
21
|
-
url: 'https://monadvision.com',
|
|
22
|
-
},
|
|
23
|
-
monadscan: {
|
|
24
20
|
name: 'Monadscan',
|
|
25
21
|
url: 'https://monadscan.com',
|
|
26
|
-
apiUrl: 'https://api.
|
|
22
|
+
apiUrl: 'https://api.etherscan.io/v2/api?chainid=143',
|
|
23
|
+
},
|
|
24
|
+
monadvision: {
|
|
25
|
+
name: 'MonadVision',
|
|
26
|
+
url: 'https://monadvision.com',
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
testnet: false,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
2
|
+
|
|
3
|
+
export const whitechainSepolia = /*#__PURE__*/ defineChain({
|
|
4
|
+
testnet: true,
|
|
5
|
+
id: 1874,
|
|
6
|
+
name: 'Whitechain Sepolia',
|
|
7
|
+
nativeCurrency: {
|
|
8
|
+
decimals: 18,
|
|
9
|
+
name: 'WBT',
|
|
10
|
+
symbol: 'WBT',
|
|
11
|
+
},
|
|
12
|
+
rpcUrls: {
|
|
13
|
+
default: {
|
|
14
|
+
http: ['https://rpc.testnet.whitechain.io'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
blockExplorers: {
|
|
18
|
+
default: {
|
|
19
|
+
name: 'Whitechain Testnet Explorer',
|
|
20
|
+
url: 'https://explorer.testnet.whitechain.io',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
contracts: {
|
|
24
|
+
multicall3: {
|
|
25
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
})
|
package/chains/index.ts
CHANGED
|
@@ -697,6 +697,7 @@ export { wemix } from './definitions/wemix.js'
|
|
|
697
697
|
export { wemixTestnet } from './definitions/wemixTestnet.js'
|
|
698
698
|
export { westendAssetHub } from './definitions/westendAssetHub.js'
|
|
699
699
|
export { whitechain } from './definitions/whitechain.js'
|
|
700
|
+
export { whitechainSepolia } from './definitions/whitechainSepolia.js'
|
|
700
701
|
export { whitechainTestnet } from './definitions/whitechainTestnet.js'
|
|
701
702
|
export { wmcTestnet } from './definitions/wmcTestnet.js'
|
|
702
703
|
export { worldchain } from './definitions/worldchain.js'
|
package/errors/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '2.
|
|
1
|
+
export const version = '2.53.1'
|