2022-11-30 15:44:23 -05:00
|
|
|
/**
|
2023-06-01 17:52:58 -04:00
|
|
|
* Each state-changing operation on Ethereum requires a transaction.
|
2022-11-30 15:44:23 -05:00
|
|
|
*
|
2023-02-12 22:14:26 -05:00
|
|
|
* @_section api/transaction:Transactions [about-transactions]
|
2022-11-30 15:44:23 -05:00
|
|
|
*/
|
|
|
|
/**
|
2022-12-02 21:27:06 -05:00
|
|
|
* A single [[AccessList]] entry of storage keys (slots) for an address.
|
2022-11-30 15:44:23 -05:00
|
|
|
*/
|
2023-02-02 04:05:47 -05:00
|
|
|
export type AccessListEntry = {
|
2022-09-05 16:57:11 -04:00
|
|
|
address: string;
|
|
|
|
storageKeys: Array<string>;
|
|
|
|
};
|
2022-12-02 21:27:06 -05:00
|
|
|
/**
|
|
|
|
* An ordered collection of [[AccessList]] entries.
|
|
|
|
*/
|
2023-02-02 04:05:47 -05:00
|
|
|
export type AccessList = Array<AccessListEntry>;
|
2022-12-02 21:27:06 -05:00
|
|
|
/**
|
|
|
|
* Any ethers-supported access list structure.
|
|
|
|
*/
|
2023-02-02 04:05:47 -05:00
|
|
|
export type AccessListish = AccessList | Array<[string, Array<string>]> | Record<string, Array<string>>;
|
2022-09-05 16:57:11 -04:00
|
|
|
export { accessListify } from "./accesslist.js";
|
|
|
|
export { computeAddress, recoverAddress } from "./address.js";
|
|
|
|
export { Transaction } from "./transaction.js";
|
2022-12-02 21:27:06 -05:00
|
|
|
export type { TransactionLike } from "./transaction.js";
|
2022-09-05 16:57:11 -04:00
|
|
|
//# sourceMappingURL=index.d.ts.map
|