2023-03-03 18:25:07 -07:00
|
|
|
/**
|
2023-06-01 17:52:58 -04:00
|
|
|
* Each state-changing operation on Ethereum requires a transaction.
|
2023-03-03 18:25:07 -07: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 21:19:55 +09:00
|
|
|
//# sourceMappingURL=index.d.ts.map
|