Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/abi

Package Overview
Dependencies
Maintainers
6
Versions
500
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/abi - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

dist/declarations/src/wallet/moduleHooks.d.ts

245

dist/0xsequence-abi.cjs.dev.js

@@ -5,3 +5,3 @@ 'use strict';

const abi$7 = [{
const abi$9 = [{
inputs: [{

@@ -22,6 +22,6 @@ internalType: 'bytes32',

__proto__: null,
abi: abi$7
abi: abi$9
});
const abi$6 = [{
const abi$8 = [{
type: 'function',

@@ -47,7 +47,7 @@ name: 'isValidSignature',

__proto__: null,
abi: abi$6,
abi: abi$8,
returns: returns
});
const abi$5 = [{
const abi$7 = [{
inputs: [{

@@ -190,6 +190,6 @@ internalType: 'bytes',

__proto__: null,
abi: abi$5
abi: abi$7
});
const abi$4 = [{
const abi$6 = [{
type: 'function',

@@ -210,6 +210,6 @@ name: 'deploy',

__proto__: null,
abi: abi$4
abi: abi$6
});
const abi$3 = [{
const abi$5 = [{
type: 'function',

@@ -334,6 +334,6 @@ name: 'nonce',

__proto__: null,
abi: abi$3
abi: abi$5
});
const abi$2 = [{
const abi$4 = [{
type: 'function',

@@ -362,8 +362,202 @@ name: 'updateImageHash',

__proto__: null,
abi: abi$2
abi: abi$4
});
const abi$1 = [{
const abi$3 = [{
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'
}];
var moduleHooks = /*#__PURE__*/Object.freeze({
__proto__: null,
abi: abi$3
});
const abi$2 = [{
inputs: [{
internalType: 'address',
name: '_factory',

@@ -762,6 +956,6 @@ type: 'address'

__proto__: null,
abi: abi$1
abi: abi$2
});
const abi = [{
const abi$1 = [{
inputs: [{

@@ -780,2 +974,19 @@ internalType: 'address',

__proto__: null,
abi: abi$1
});
const abi = [{
type: 'function',
name: 'PROXY_getImplementation',
inputs: [],
outputs: [{
name: '',
type: 'address',
internalType: 'address'
}],
stateMutability: 'view'
}];
var walletProxyHook = /*#__PURE__*/Object.freeze({
__proto__: null,
abi: abi

@@ -791,6 +1002,8 @@ });

mainModuleUpgradable,
moduleHooks,
sequenceUtils,
requireFreshSigner
requireFreshSigner,
walletProxyHook
};
exports.walletContracts = walletContracts;

@@ -5,3 +5,3 @@ 'use strict';

const abi$7 = [{
const abi$9 = [{
inputs: [{

@@ -22,6 +22,6 @@ internalType: 'bytes32',

__proto__: null,
abi: abi$7
abi: abi$9
});
const abi$6 = [{
const abi$8 = [{
type: 'function',

@@ -47,7 +47,7 @@ name: 'isValidSignature',

__proto__: null,
abi: abi$6,
abi: abi$8,
returns: returns
});
const abi$5 = [{
const abi$7 = [{
inputs: [{

@@ -190,6 +190,6 @@ internalType: 'bytes',

__proto__: null,
abi: abi$5
abi: abi$7
});
const abi$4 = [{
const abi$6 = [{
type: 'function',

@@ -210,6 +210,6 @@ name: 'deploy',

__proto__: null,
abi: abi$4
abi: abi$6
});
const abi$3 = [{
const abi$5 = [{
type: 'function',

@@ -334,6 +334,6 @@ name: 'nonce',

__proto__: null,
abi: abi$3
abi: abi$5
});
const abi$2 = [{
const abi$4 = [{
type: 'function',

@@ -362,8 +362,202 @@ name: 'updateImageHash',

__proto__: null,
abi: abi$2
abi: abi$4
});
const abi$1 = [{
const abi$3 = [{
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'
}];
var moduleHooks = /*#__PURE__*/Object.freeze({
__proto__: null,
abi: abi$3
});
const abi$2 = [{
inputs: [{
internalType: 'address',
name: '_factory',

@@ -762,6 +956,6 @@ type: 'address'

__proto__: null,
abi: abi$1
abi: abi$2
});
const abi = [{
const abi$1 = [{
inputs: [{

@@ -780,2 +974,19 @@ internalType: 'address',

__proto__: null,
abi: abi$1
});
const abi = [{
type: 'function',
name: 'PROXY_getImplementation',
inputs: [],
outputs: [{
name: '',
type: 'address',
internalType: 'address'
}],
stateMutability: 'view'
}];
var walletProxyHook = /*#__PURE__*/Object.freeze({
__proto__: null,
abi: abi

@@ -791,6 +1002,8 @@ });

mainModuleUpgradable,
moduleHooks,
sequenceUtils,
requireFreshSigner
requireFreshSigner,
walletProxyHook
};
exports.walletContracts = walletContracts;

@@ -1,2 +0,2 @@

const abi$7 = [{
const abi$9 = [{
inputs: [{

@@ -17,6 +17,6 @@ internalType: 'bytes32',

__proto__: null,
abi: abi$7
abi: abi$9
});
const abi$6 = [{
const abi$8 = [{
type: 'function',

@@ -42,7 +42,7 @@ name: 'isValidSignature',

__proto__: null,
abi: abi$6,
abi: abi$8,
returns: returns
});
const abi$5 = [{
const abi$7 = [{
inputs: [{

@@ -185,6 +185,6 @@ internalType: 'bytes',

__proto__: null,
abi: abi$5
abi: abi$7
});
const abi$4 = [{
const abi$6 = [{
type: 'function',

@@ -205,6 +205,6 @@ name: 'deploy',

__proto__: null,
abi: abi$4
abi: abi$6
});
const abi$3 = [{
const abi$5 = [{
type: 'function',

@@ -329,6 +329,6 @@ name: 'nonce',

__proto__: null,
abi: abi$3
abi: abi$5
});
const abi$2 = [{
const abi$4 = [{
type: 'function',

@@ -357,8 +357,202 @@ name: 'updateImageHash',

__proto__: null,
abi: abi$2
abi: abi$4
});
const abi$1 = [{
const abi$3 = [{
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'
}];
var moduleHooks = /*#__PURE__*/Object.freeze({
__proto__: null,
abi: abi$3
});
const abi$2 = [{
inputs: [{
internalType: 'address',
name: '_factory',

@@ -757,6 +951,6 @@ type: 'address'

__proto__: null,
abi: abi$1
abi: abi$2
});
const abi = [{
const abi$1 = [{
inputs: [{

@@ -775,2 +969,19 @@ internalType: 'address',

__proto__: null,
abi: abi$1
});
const abi = [{
type: 'function',
name: 'PROXY_getImplementation',
inputs: [],
outputs: [{
name: '',
type: 'address',
internalType: 'address'
}],
stateMutability: 'view'
}];
var walletProxyHook = /*#__PURE__*/Object.freeze({
__proto__: null,
abi: abi

@@ -786,6 +997,8 @@ });

mainModuleUpgradable,
moduleHooks,
sequenceUtils,
requireFreshSigner
requireFreshSigner,
walletProxyHook
};
export { walletContracts };

@@ -7,4 +7,6 @@ import * as erc5719 from "./erc5719.js";

import * as mainModuleUpgradable from "./mainModuleUpgradable.js";
import * as moduleHooks from "./moduleHooks.js";
import * as sequenceUtils from "./sequenceUtils.js";
import * as requireFreshSigner from "./libs/requireFreshSigners.js";
import * as walletProxyHook from "./walletProxyHook.js";
export declare const walletContracts: {

@@ -17,4 +19,6 @@ erc6492: typeof erc6492;

mainModuleUpgradable: typeof mainModuleUpgradable;
moduleHooks: typeof moduleHooks;
sequenceUtils: typeof sequenceUtils;
requireFreshSigner: typeof requireFreshSigner;
walletProxyHook: typeof walletProxyHook;
};

2

package.json
{
"name": "@0xsequence/abi",
"version": "2.2.4",
"version": "2.2.5",
"description": "abi sub-package for Sequence",

@@ -5,0 +5,0 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/abi",

@@ -7,4 +7,6 @@ import * as erc5719 from './erc5719'

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'

@@ -18,4 +20,6 @@ export const walletContracts = {

mainModuleUpgradable,
moduleHooks,
sequenceUtils,
requireFreshSigner
requireFreshSigner,
walletProxyHook
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc