-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c9e1c8
commit c3905d0
Showing
18 changed files
with
869 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const MODULAR_PERMISSION_VALIDATOR_ADDRESS = | ||
"0x965Bea0f8b65aABD1F5148F64654BbAAfB9d2Efa" | ||
export const MAX_FLAG = "0xffffffffffffffffffffffff" | ||
export const ECDSA_SIGNER_CONTRACT = | ||
"0xF9E712F44A360ED8820aD624e41164f74a5a7456" | ||
export const GAS_POLICY_CONTRACT = "0x62868E950Efbb336DCFf033598Ee5E602f0a93cD" | ||
export const MERKLE_POLICY_CONTRACT = | ||
"0xb808d75b5acf6b5513eb816d3980c733ae6be468" | ||
export enum PolicyFlags { | ||
FOR_ALL_VALIDATION = "0x000000000000000000000000", | ||
NOT_FOR_VALIDATE_USEROP = "0x000000000000000000000001", | ||
NOT_FOR_VALIDATE_SIG = "0x000000000000000000000002" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
export const MODULAR_PERMISSION_VALIDATOR_ADDRESS = | ||
"0x965Bea0f8b65aABD1F5148F64654BbAAfB9d2Efa" | ||
export const MAX_FLAG = "0xffffffffffffffffffffffff" | ||
export const ECDSA_SIGNER_CONTRACT = | ||
"0xF9E712F44A360ED8820aD624e41164f74a5a7456" | ||
export const GAS_POLICY_CONTRACT = "0x62868E950Efbb336DCFf033598Ee5E602f0a93cD" | ||
export enum PolicyFlags { | ||
FOR_ALL_VALIDATION = "0x000000000000000000000000", | ||
NOT_FOR_VALIDATE_USEROP = "0x000000000000000000000001", | ||
NOT_FOR_VALIDATE_SIG = "0x000000000000000000000002" | ||
} | ||
export { signerToModularPermissionValidator } from "./toModularPermissionValidatorPlugin.js" | ||
export * as constants from "./constants.js" | ||
export type * from "./types.js" | ||
export { ModularPermissionValidatorAbi } from "./abi/ModularPermissionValidatorAbi.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export { toGasPolicy, type GasPolicyParams } from "./toGasPolicy.js" | ||
export { | ||
toMerklePolicy, | ||
type MerklePolicyParams, | ||
Operation, | ||
ParamOperator | ||
} from "./toMerklePolicy.js" | ||
export type * from "./types.js" |
Oops, something went wrong.