Skip to content

Commit

Permalink
feat: export deployless contract constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Aug 7, 2024
1 parent 1feccd4 commit d22855b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-pigs-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Exported `deploylessCallViaBytecodeBytecode`, `deploylessCallViaFactoryBytecode`, `universalSignatureValidatorByteCode`.
3 changes: 3 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ test('exports', () => {
"erc721Abi",
"erc4626Abi",
"zeroAddress",
"deploylessCallViaBytecodeBytecode",
"deploylessCallViaFactoryBytecode",
"universalSignatureValidatorByteCode",
"etherUnits",
"gweiUnits",
"weiUnits",
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,11 @@ export {
erc4626Abi,
} from './constants/abis.js'
export { zeroAddress } from './constants/address.js'
export {
deploylessCallViaBytecodeBytecode,
deploylessCallViaFactoryBytecode,
universalSignatureValidatorByteCode,
} from './constants/contracts.js'
export { etherUnits, gweiUnits, weiUnits } from './constants/unit.js'
export {
maxInt8,
Expand Down

0 comments on commit d22855b

Please sign in to comment.