ethers.js/src.ts/transaction/index.ts

32 lines
809 B
TypeScript
Raw Normal View History

2022-11-28 05:52:34 +03:00
/**
* Transactions..
*
* @_section api/transaction:Transactions [transactions]
*/
2022-09-05 23:14:43 +03:00
2022-12-03 05:23:13 +03:00
null;
/**
* A single [[AccessList]] entry of storage keys (slots) for an address.
*/
export type AccessListEntry = { address: string, storageKeys: Array<string> };
2022-11-28 05:52:34 +03:00
/**
2022-12-03 05:23:13 +03:00
* An ordered collection of [[AccessList]] entries.
2022-11-28 05:52:34 +03:00
*/
2022-12-03 05:23:13 +03:00
export type AccessList = Array<AccessListEntry>;
2022-09-05 23:14:43 +03:00
2022-12-03 05:23:13 +03:00
/**
* Any ethers-supported access list structure.
*/
2022-09-05 23:14:43 +03:00
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";
2022-12-03 05:23:13 +03:00
export type { TransactionLike } from "./transaction.js";