Skip to content

Commit

Permalink
Merge branch 'master' into improve-no-private-key-found-error-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgahan-arikan authored Jan 14, 2025
2 parents 59d277a + b3e66a6 commit d402bad
Show file tree
Hide file tree
Showing 74 changed files with 1,557 additions and 286 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @0xsequence/disable-codeowners-notifications @0xsequence/core
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

48 changes: 48 additions & 0 deletions packages/0xsequence/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# 0xsequence

## 2.2.6

### Patch Changes

- Update relayer package
- Updated dependencies
- @0xsequence/abi@2.2.6
- @0xsequence/account@2.2.6
- @0xsequence/api@2.2.6
- @0xsequence/auth@2.2.6
- @0xsequence/core@2.2.6
- @0xsequence/guard@2.2.6
- @0xsequence/indexer@2.2.6
- @0xsequence/metadata@2.2.6
- @0xsequence/migration@2.2.6
- @0xsequence/network@2.2.6
- @0xsequence/provider@2.2.6
- @0xsequence/relayer@2.2.6
- @0xsequence/sessions@2.2.6
- @0xsequence/signhub@2.2.6
- @0xsequence/utils@2.2.6
- @0xsequence/wallet@2.2.6

## 2.2.5

### Patch Changes

- auth: fix sequence indexer gateway url
- account: immutable wallet proxy hook
- Updated dependencies
- Updated dependencies
- @0xsequence/abi@2.2.5
- @0xsequence/account@2.2.5
- @0xsequence/api@2.2.5
- @0xsequence/auth@2.2.5
- @0xsequence/core@2.2.5
- @0xsequence/guard@2.2.5
- @0xsequence/indexer@2.2.5
- @0xsequence/metadata@2.2.5
- @0xsequence/migration@2.2.5
- @0xsequence/network@2.2.5
- @0xsequence/provider@2.2.5
- @0xsequence/relayer@2.2.5
- @0xsequence/sessions@2.2.5
- @0xsequence/signhub@2.2.5
- @0xsequence/utils@2.2.5
- @0xsequence/wallet@2.2.5

## 2.2.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/0xsequence/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "0xsequence",
"version": "2.2.4",
"version": "2.2.6",
"description": "Sequence: a modular web3 stack and smart wallet for Ethereum chains",
"repository": "https://github.com/0xsequence/sequence.js",
"source": "src/index.ts",
Expand Down
13 changes: 13 additions & 0 deletions packages/abi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @0xsequence/abi

## 2.2.6

### Patch Changes

- Update relayer package

## 2.2.5

### Patch Changes

- auth: fix sequence indexer gateway url
- account: immutable wallet proxy hook

## 2.2.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/abi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsequence/abi",
"version": "2.2.4",
"version": "2.2.6",
"description": "abi sub-package for Sequence",
"repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/abi",
"source": "src/index.ts",
Expand Down
6 changes: 5 additions & 1 deletion packages/abi/src/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import * as erc6492 from './erc6492'
import * as factory from './factory'
import * as mainModule from './mainModule'
import * as mainModuleUpgradable from './mainModuleUpgradable'
import * as moduleHooks from './moduleHooks'
import * as sequenceUtils from './sequenceUtils'
import * as requireFreshSigner from './libs/requireFreshSigners'
import * as walletProxyHook from './walletProxyHook'

export const walletContracts = {
erc6492,
Expand All @@ -14,6 +16,8 @@ export const walletContracts = {
factory,
mainModule,
mainModuleUpgradable,
moduleHooks,
sequenceUtils,
requireFreshSigner
requireFreshSigner,
walletProxyHook
}
248 changes: 248 additions & 0 deletions packages/abi/src/wallet/moduleHooks.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
export const abi = [
{
inputs: [
{
internalType: 'bytes4',
name: '_signature',
type: 'bytes4'
}
],
name: 'HookAlreadyExists',
type: 'error'
},
{
inputs: [
{
internalType: 'bytes4',
name: '_signature',
type: 'bytes4'
}
],
name: 'HookDoesNotExist',
type: 'error'
},
{
inputs: [
{
internalType: 'address',
name: '_sender',
type: 'address'
},
{
internalType: 'address',
name: '_self',
type: 'address'
}
],
name: 'OnlySelfAuth',
type: 'error'
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: 'bytes4',
name: '_signature',
type: 'bytes4'
},
{
indexed: false,
internalType: 'address',
name: '_implementation',
type: 'address'
}
],
name: 'DefinedHook',
type: 'event'
},
{
stateMutability: 'payable',
type: 'fallback'
},
{
inputs: [
{
internalType: 'bytes4',
name: '_signature',
type: 'bytes4'
},
{
internalType: 'address',
name: '_implementation',
type: 'address'
}
],
name: 'addHook',
outputs: [],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'address',
name: '',
type: 'address'
},
{
internalType: 'address',
name: '',
type: 'address'
},
{
internalType: 'uint256[]',
name: '',
type: 'uint256[]'
},
{
internalType: 'uint256[]',
name: '',
type: 'uint256[]'
},
{
internalType: 'bytes',
name: '',
type: 'bytes'
}
],
name: 'onERC1155BatchReceived',
outputs: [
{
internalType: 'bytes4',
name: '',
type: 'bytes4'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'address',
name: '',
type: 'address'
},
{
internalType: 'address',
name: '',
type: 'address'
},
{
internalType: 'uint256',
name: '',
type: 'uint256'
},
{
internalType: 'uint256',
name: '',
type: 'uint256'
},
{
internalType: 'bytes',
name: '',
type: 'bytes'
}
],
name: 'onERC1155Received',
outputs: [
{
internalType: 'bytes4',
name: '',
type: 'bytes4'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'address',
name: '',
type: 'address'
},
{
internalType: 'address',
name: '',
type: 'address'
},
{
internalType: 'uint256',
name: '',
type: 'uint256'
},
{
internalType: 'bytes',
name: '',
type: 'bytes'
}
],
name: 'onERC721Received',
outputs: [
{
internalType: 'bytes4',
name: '',
type: 'bytes4'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'bytes4',
name: '_signature',
type: 'bytes4'
}
],
name: 'readHook',
outputs: [
{
internalType: 'address',
name: '',
type: 'address'
}
],
stateMutability: 'view',
type: 'function'
},
{
inputs: [
{
internalType: 'bytes4',
name: '_signature',
type: 'bytes4'
}
],
name: 'removeHook',
outputs: [],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
internalType: 'bytes4',
name: '_interfaceID',
type: 'bytes4'
}
],
name: 'supportsInterface',
outputs: [
{
internalType: 'bool',
name: '',
type: 'bool'
}
],
stateMutability: 'pure',
type: 'function'
},
{
stateMutability: 'payable',
type: 'receive'
}
] as const
9 changes: 9 additions & 0 deletions packages/abi/src/wallet/walletProxyHook.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export const abi = [
{
type: 'function',
name: 'PROXY_getImplementation',
inputs: [],
outputs: [{ name: '', type: 'address', internalType: 'address' }],
stateMutability: 'view'
}
] as const
Loading

0 comments on commit d402bad

Please sign in to comment.