2023-03-04 04:25:07 +03:00
|
|
|
/**
|
2023-06-02 00:52:58 +03:00
|
|
|
* Each state-changing operation on Ethereum requires a transaction.
|
2023-03-04 04:25:07 +03:00
|
|
|
*
|
|
|
|
* @_section api/transaction:Transactions [about-transactions]
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* A single [[AccessList]] entry of storage keys (slots) for an address.
|
|
|
|
*/
|
|
|
|
export type AccessListEntry = {
|
|
|
|
address: string;
|
|
|
|
storageKeys: Array<string>;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* An ordered collection of [[AccessList]] entries.
|
|
|
|
*/
|
|
|
|
export type AccessList = Array<AccessListEntry>;
|
|
|
|
/**
|
|
|
|
* Any ethers-supported access list structure.
|
|
|
|
*/
|
|
|
|
export type AccessListish = AccessList | Array<[string, Array<string>]> | Record<string, Array<string>>;
|
|
|
|
export { accessListify } from "./accesslist.js";
|
|
|
|
export { computeAddress, recoverAddress } from "./address.js";
|
|
|
|
export { Transaction } from "./transaction.js";
|
|
|
|
export type { TransactionLike } from "./transaction.js";
|
2023-04-27 15:19:55 +03:00
|
|
|
//# sourceMappingURL=index.d.ts.map
|