forked from rhinestonewtf/module-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update smart sessions to latest
- Loading branch information
Showing
23 changed files
with
227 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
services: | ||
anvil: | ||
image: ghcr.io/foundry-rs/foundry:nightly-f6208d8db68f9acbe4ff8cd76958309efb61ea0b | ||
ports: [ "8545:8545" ] | ||
entrypoint: [ "anvil", "--fork-url", "https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_API_KEY}", "--host", "0.0.0.0", "--block-time", "0.1", "--silent"] | ||
ports: ['8545:8545'] | ||
entrypoint: | ||
[ | ||
'anvil', | ||
'--fork-url', | ||
'https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_API_KEY}', | ||
'--host', | ||
'0.0.0.0', | ||
'--silent', | ||
] | ||
platform: linux/x86_64 | ||
|
||
alto: | ||
image: ghcr.io/pimlicolabs/mock-alto-bundler:main | ||
ports: [ "4337:4337" ] | ||
ports: ['4337:4337'] | ||
environment: | ||
- ANVIL_RPC=http://anvil:8545 | ||
- SKIP_DEPLOYMENTS=true | ||
- SKIP_DEPLOYMENTS=true | ||
|
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 +1,4 @@ | ||
export const AUTO_SAVINGS_ADDRESS = '0x6AE48bD83B6bdc8489584Ea0814086f963d1BD95' | ||
import { Address } from 'viem' | ||
|
||
export const AUTO_SAVINGS_ADDRESS: Address = | ||
'0x6AE48bD83B6bdc8489584Ea0814086f963d1BD95' |
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,5 +1,7 @@ | ||
export const COLD_STORAGE_HOOK_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const COLD_STORAGE_HOOK_ADDRESS: Address = | ||
'0x7E31543b269632ddc55a23553f902f84C9DD8454' | ||
|
||
export const COLD_STORAGE_FLASHLOAN_ADDRESS = | ||
export const COLD_STORAGE_FLASHLOAN_ADDRESS: Address = | ||
'0x4422dbC3D055D59ee08F4A4D60E1046A9aFb287f' |
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,2 +1,4 @@ | ||
export const DEADMAN_SWITCH_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const DEADMAN_SWITCH_ADDRESS: Address = | ||
'0x291B3335EC9fC04BcC7446851812FDD55Ad0706E' |
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,2 +1,4 @@ | ||
export const HOOK_MULTI_PLEXER_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const HOOK_MULTI_PLEXER_ADDRESS: Address = | ||
'0xF6782ed057F95f334D04F0Af1Af4D14fb84DE549' |
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,2 +1,4 @@ | ||
export const MULTI_FACTOR_VALIDATOR_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const MULTI_FACTOR_VALIDATOR_ADDRESS: Address = | ||
'0xf6bDf42c9BE18cEcA5C06c42A43DAf7FBbe7896b' |
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,2 +1,4 @@ | ||
export const OWNABLE_EXECUTOR_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const OWNABLE_EXECUTOR_ADDRESS: Address = | ||
'0x4Fd8d57b94966982B62e9588C27B4171B55E8354' |
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,2 +1,4 @@ | ||
export const OWNABLE_VALIDATOR_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const OWNABLE_VALIDATOR_ADDRESS: Address = | ||
'0x2483DA3A338895199E5e538530213157e931Bf06' |
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,2 +1,4 @@ | ||
export const REGISTRY_HOOK_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const REGISTRY_HOOK_ADDRESS: Address = | ||
'0x0ac6160DBA30d665cCA6e6b6a2CDf147DC3dED22' |
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,5 +1,8 @@ | ||
export const REGISTRY_ADDRESS = '0x000000000069E2a187AEFFb852bF3cCdC95151B2' | ||
export const RHINESTONE_ATTESTER_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const REGISTRY_ADDRESS: Address = | ||
'0x000000000069E2a187AEFFb852bF3cCdC95151B2' | ||
export const RHINESTONE_ATTESTER_ADDRESS: Address = | ||
'0x000000333034E9f539ce08819E12c1b8Cb29084d' | ||
export const MOCK_ATTESTER_ADDRESS = | ||
export const MOCK_ATTESTER_ADDRESS: Address = | ||
'0xA4C777199658a41688E9488c4EcbD7a2925Cc23A' |
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,2 +1,4 @@ | ||
export const SCHEDULED_ORDERS_EXECUTOR_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const SCHEDULED_ORDERS_EXECUTOR_ADDRESS: Address = | ||
'0x40dc90D670C89F322fa8b9f685770296428DCb6b' |
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,2 +1,4 @@ | ||
export const SCHEDULED_TRANSFERS_EXECUTOR_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const SCHEDULED_TRANSFERS_EXECUTOR_ADDRESS: Address = | ||
'0xA8E374779aeE60413c974b484d6509c7E4DDb6bA' |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
export const SMART_SESSIONS_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const SMART_SESSIONS_ADDRESS: Address = | ||
'0xDDFF43A42726df11E34123f747bDce0f755F784d' |
4 changes: 3 additions & 1 deletion
4
src/module/smart-sessions/policies/spending-limits-policy/constants.ts
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,2 +1,4 @@ | ||
export const SPENDING_LIMITS_POLICY_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const SPENDING_LIMITS_POLICY_ADDRESS: Address = | ||
'0x8e58f4945e6ba2a11b184a9c20b6c765a0891b95' |
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 +1,4 @@ | ||
export const SUDO_POLICY_ADDRESS = '0x529Ad04F4D83aAb25144a90267D4a1443B84f5A6' | ||
import { Address } from 'viem' | ||
|
||
export const SUDO_POLICY_ADDRESS: Address = | ||
'0x529Ad04F4D83aAb25144a90267D4a1443B84f5A6' |
4 changes: 3 additions & 1 deletion
4
src/module/smart-sessions/policies/universal-action-policy/constants.ts
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,4 +1,6 @@ | ||
export const UNIVERSAL_ACTION_POLICY_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const UNIVERSAL_ACTION_POLICY_ADDRESS: Address = | ||
'0x148CD6c24F4dd23C396E081bBc1aB1D92eeDe2BF' | ||
|
||
export const MAX_RULES = 16 |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
export const SOCIAL_RECOVERY_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const SOCIAL_RECOVERY_ADDRESS: Address = | ||
'0xA04D053b3C8021e8D5bF641816c42dAA75D8b597' |
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,2 +1,4 @@ | ||
export const WEBAUTHN_VALIDATOR_ADDRESS = | ||
import { Address } from 'viem' | ||
|
||
export const WEBAUTHN_VALIDATOR_ADDRESS: Address = | ||
'0xD990393C670dCcE8b4d8F858FB98c9912dBFAa06' |
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
Oops, something went wrong.