@safe-global/protocol-kit
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -10,2 +10,4 @@ import Safe from './Safe'; | ||
import { EthSafeSignature, estimateTxBaseGas, estimateTxGas, estimateSafeTxGas, estimateSafeDeploymentGas, validateEthereumAddress, validateEip3770Address } from './utils'; | ||
import EthSafeTransaction from './utils/transactions/SafeTransaction'; | ||
import EthSafeMessage from './utils/messages/SafeMessage'; | ||
import { SafeTransactionOptionalProps } from './utils/transactions/types'; | ||
@@ -16,4 +18,4 @@ import { encodeMultiSendData, standardizeSafeTransactionData } from './utils/transactions/utils'; | ||
import { getEip712TxTypes, getEip712MessageTypes, hashSafeMessage, generateTypedData } from './utils/eip-712'; | ||
export { estimateTxBaseGas, estimateTxGas, estimateSafeTxGas, estimateSafeDeploymentGas, ContractManager, CreateCallBaseContract, createERC20TokenTransferTransaction, DEFAULT_SAFE_VERSION, EthSafeSignature, MultiSendCallOnlyBaseContract, MultiSendBaseContract, PREDETERMINED_SALT_NONCE, SafeBaseContract, SafeFactory, SafeProxyFactoryBaseContract, SafeTransactionOptionalProps, SignMessageLibBaseContract, encodeCreateProxyWithNonce, encodeMultiSendData, encodeSetupCallData, getCompatibilityFallbackHandlerContract, getCreateCallContract, getERC20Decimals, getMultiSendCallOnlyContract, getMultiSendContract, getProxyFactoryContract, getSafeContract, getSignMessageLibContract, isGasTokenCompatibleWithHandlePayment, predictSafeAddress, getPredictedSafeAddressInitCode, standardizeSafeTransactionData, validateEip3770Address, validateEthereumAddress, generateSignature, generateEIP712Signature, buildContractSignature, buildSignatureBytes, preimageSafeTransactionHash, preimageSafeMessageHash, getEip712TxTypes, getEip712MessageTypes, hashSafeMessage, generateTypedData, SafeProvider }; | ||
export { estimateTxBaseGas, estimateTxGas, estimateSafeTxGas, estimateSafeDeploymentGas, ContractManager, CreateCallBaseContract, createERC20TokenTransferTransaction, DEFAULT_SAFE_VERSION, EthSafeSignature, MultiSendCallOnlyBaseContract, MultiSendBaseContract, PREDETERMINED_SALT_NONCE, SafeBaseContract, SafeFactory, SafeProxyFactoryBaseContract, SafeTransactionOptionalProps, SignMessageLibBaseContract, encodeCreateProxyWithNonce, encodeMultiSendData, encodeSetupCallData, getCompatibilityFallbackHandlerContract, getCreateCallContract, getERC20Decimals, getMultiSendCallOnlyContract, getMultiSendContract, getProxyFactoryContract, getSafeContract, getSignMessageLibContract, isGasTokenCompatibleWithHandlePayment, predictSafeAddress, getPredictedSafeAddressInitCode, standardizeSafeTransactionData, validateEip3770Address, validateEthereumAddress, generateSignature, generateEIP712Signature, buildContractSignature, buildSignatureBytes, preimageSafeTransactionHash, preimageSafeMessageHash, getEip712TxTypes, getEip712MessageTypes, hashSafeMessage, generateTypedData, SafeProvider, EthSafeTransaction, EthSafeMessage }; | ||
export * from './types'; | ||
export default Safe; |
@@ -20,3 +20,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SafeProvider = exports.generateTypedData = exports.hashSafeMessage = exports.getEip712MessageTypes = exports.getEip712TxTypes = exports.preimageSafeMessageHash = exports.preimageSafeTransactionHash = exports.buildSignatureBytes = exports.buildContractSignature = exports.generateEIP712Signature = exports.generateSignature = exports.validateEthereumAddress = exports.validateEip3770Address = exports.standardizeSafeTransactionData = exports.getPredictedSafeAddressInitCode = exports.predictSafeAddress = exports.isGasTokenCompatibleWithHandlePayment = exports.getSignMessageLibContract = exports.getSafeContract = exports.getProxyFactoryContract = exports.getMultiSendContract = exports.getMultiSendCallOnlyContract = exports.getERC20Decimals = exports.getCreateCallContract = exports.getCompatibilityFallbackHandlerContract = exports.encodeSetupCallData = exports.encodeMultiSendData = exports.encodeCreateProxyWithNonce = exports.SignMessageLibBaseContract = exports.SafeProxyFactoryBaseContract = exports.SafeFactory = exports.SafeBaseContract = exports.PREDETERMINED_SALT_NONCE = exports.MultiSendBaseContract = exports.MultiSendCallOnlyBaseContract = exports.EthSafeSignature = exports.DEFAULT_SAFE_VERSION = exports.createERC20TokenTransferTransaction = exports.CreateCallBaseContract = exports.ContractManager = exports.estimateSafeDeploymentGas = exports.estimateSafeTxGas = exports.estimateTxGas = exports.estimateTxBaseGas = void 0; | ||
exports.EthSafeMessage = exports.EthSafeTransaction = exports.SafeProvider = exports.generateTypedData = exports.hashSafeMessage = exports.getEip712MessageTypes = exports.getEip712TxTypes = exports.preimageSafeMessageHash = exports.preimageSafeTransactionHash = exports.buildSignatureBytes = exports.buildContractSignature = exports.generateEIP712Signature = exports.generateSignature = exports.validateEthereumAddress = exports.validateEip3770Address = exports.standardizeSafeTransactionData = exports.getPredictedSafeAddressInitCode = exports.predictSafeAddress = exports.isGasTokenCompatibleWithHandlePayment = exports.getSignMessageLibContract = exports.getSafeContract = exports.getProxyFactoryContract = exports.getMultiSendContract = exports.getMultiSendCallOnlyContract = exports.getERC20Decimals = exports.getCreateCallContract = exports.getCompatibilityFallbackHandlerContract = exports.encodeSetupCallData = exports.encodeMultiSendData = exports.encodeCreateProxyWithNonce = exports.SignMessageLibBaseContract = exports.SafeProxyFactoryBaseContract = exports.SafeFactory = exports.SafeBaseContract = exports.PREDETERMINED_SALT_NONCE = exports.MultiSendBaseContract = exports.MultiSendCallOnlyBaseContract = exports.EthSafeSignature = exports.DEFAULT_SAFE_VERSION = exports.createERC20TokenTransferTransaction = exports.CreateCallBaseContract = exports.ContractManager = exports.estimateSafeDeploymentGas = exports.estimateSafeTxGas = exports.estimateTxGas = exports.estimateTxBaseGas = void 0; | ||
const Safe_1 = __importDefault(require("./Safe")); | ||
@@ -60,2 +60,6 @@ const SafeProvider_1 = __importDefault(require("./SafeProvider")); | ||
Object.defineProperty(exports, "validateEip3770Address", { enumerable: true, get: function () { return utils_2.validateEip3770Address; } }); | ||
const SafeTransaction_1 = __importDefault(require("./utils/transactions/SafeTransaction")); | ||
exports.EthSafeTransaction = SafeTransaction_1.default; | ||
const SafeMessage_1 = __importDefault(require("./utils/messages/SafeMessage")); | ||
exports.EthSafeMessage = SafeMessage_1.default; | ||
const utils_3 = require("./utils/transactions/utils"); | ||
@@ -62,0 +66,0 @@ Object.defineProperty(exports, "encodeMultiSendData", { enumerable: true, get: function () { return utils_3.encodeMultiSendData; } }); |
@@ -46,5 +46,6 @@ "use strict"; | ||
{ chainId: 137n, shortName: 'matic' }, | ||
{ chainId: 148n, shortName: 'shimmerevm-mainnet' }, | ||
{ chainId: 148n, shortName: 'shimmerevm' }, | ||
{ chainId: 155n, shortName: 'tenet-testnet' }, | ||
{ chainId: 169n, shortName: 'manta' }, | ||
{ chainId: 179n, shortName: 'abey' }, | ||
{ chainId: 195n, shortName: 'tokb' }, | ||
@@ -68,3 +69,4 @@ { chainId: 196n, shortName: 'okb' }, | ||
{ chainId: 420n, shortName: 'ogor' }, | ||
{ chainId: 424n, shortName: 'PNG' }, | ||
{ chainId: 424n, shortName: 'PGN' }, | ||
{ chainId: 480n, shortName: 'wc' }, | ||
{ chainId: 530n, shortName: 'FxCore' }, | ||
@@ -122,2 +124,3 @@ { chainId: 570n, shortName: 'sys-rollux' }, | ||
{ chainId: 2810n, shortName: 'hmorph' }, | ||
{ chainId: 3338n, shortName: 'PEAQ' }, | ||
{ chainId: 3636n, shortName: 'BTNX' }, | ||
@@ -142,4 +145,6 @@ { chainId: 3737n, shortName: 'csb' }, | ||
{ chainId: 6102n, shortName: 'cascadia' }, | ||
{ chainId: 6321n, shortName: 'eaura' }, | ||
{ chainId: 6322n, shortName: 'aura' }, | ||
{ chainId: 7000n, shortName: 'zetachain-mainnet' }, | ||
{ chainId: 7001n, shortName: 'zetachain-athens' }, | ||
{ chainId: 7001n, shortName: 'zetachain-testnet' }, | ||
{ chainId: 7171n, shortName: 'bitrock' }, | ||
@@ -183,2 +188,3 @@ { chainId: 7332n, shortName: 'EON' }, | ||
{ chainId: 18233n, shortName: 'unreal' }, | ||
{ chainId: 22776n, shortName: 'mapo' }, | ||
{ chainId: 23294n, shortName: 'sapphire' }, | ||
@@ -193,2 +199,3 @@ { chainId: 23295n, shortName: 'sapphire-testnet' }, | ||
{ chainId: 42220n, shortName: 'celo' }, | ||
{ chainId: 42793n, shortName: 'etlk' }, | ||
{ chainId: 43113n, shortName: 'fuji' }, | ||
@@ -199,2 +206,3 @@ { chainId: 43114n, shortName: 'avax' }, | ||
{ chainId: 45000n, shortName: 'autobahnnetwork' }, | ||
{ chainId: 47763n, shortName: 'neox-mainnet' }, | ||
{ chainId: 47805n, shortName: 'rei' }, | ||
@@ -206,4 +214,4 @@ { chainId: 48899n, shortName: 'zircuit-testnet' }, | ||
{ chainId: 57000n, shortName: 'tsys-rollux' }, | ||
{ chainId: 58008n, shortName: 'sepPNG' }, | ||
{ chainId: 59140n, shortName: 'linea-testnet' }, | ||
{ chainId: 58008n, shortName: 'sepPGN' }, | ||
{ chainId: 59140n, shortName: 'linea-goerli' }, | ||
{ chainId: 59141n, shortName: 'linea-sepolia' }, | ||
@@ -216,2 +224,3 @@ { chainId: 59144n, shortName: 'linea' }, | ||
{ chainId: 80002n, shortName: 'polygonamoy' }, | ||
{ chainId: 80084n, shortName: 'berachainbArtio' }, | ||
{ chainId: 80085n, shortName: 'berachainArtio' }, | ||
@@ -226,2 +235,3 @@ { chainId: 81457n, shortName: 'blastmainnet' }, | ||
{ chainId: 111188n, shortName: 're-al' }, | ||
{ chainId: 128123n, shortName: 'etlt' }, | ||
{ chainId: 167000n, shortName: 'tko-mainnet' }, | ||
@@ -239,2 +249,3 @@ { chainId: 167008n, shortName: 'tko-katla' }, | ||
{ chainId: 444444n, shortName: 'syndr' }, | ||
{ chainId: 490000n, shortName: 'ATN' }, | ||
{ chainId: 534351n, shortName: 'scr-sepolia' }, | ||
@@ -246,10 +257,13 @@ { chainId: 534352n, shortName: 'scr' }, | ||
{ chainId: 656476n, shortName: 'open-campus-codex' }, | ||
{ chainId: 660279n, shortName: 'xai' }, | ||
{ chainId: 713715n, shortName: 'sei-devnet' }, | ||
{ chainId: 764984n, shortName: 'lamina1test' }, | ||
{ chainId: 810180n, shortName: 'zklink-nova' }, | ||
{ chainId: 978657n, shortName: 'treasure-ruby' }, | ||
{ chainId: 6038361n, shortName: 'azkyt' }, | ||
{ chainId: 7225878n, shortName: 'saakuru' }, | ||
{ chainId: 7777777n, shortName: 'zora' }, | ||
{ chainId: 6038361n, shortName: 'azkyt' }, | ||
{ chainId: 11155111n, shortName: 'sep' }, | ||
{ chainId: 11155420n, shortName: 'opsep' }, | ||
{ chainId: 12227332n, shortName: 'neox-t4' }, | ||
{ chainId: 94204209n, shortName: 'polygon-blackberry' }, | ||
@@ -264,2 +278,3 @@ { chainId: 111557560n, shortName: 'cysep' }, | ||
{ chainId: 333000333n, shortName: 'meld' }, | ||
{ chainId: 476462898n, shortName: 'Skopje' }, | ||
{ chainId: 666666666n, shortName: 'degen-chain' }, | ||
@@ -273,2 +288,3 @@ { chainId: 999999999n, shortName: 'zsep' }, | ||
{ chainId: 11297108109n, shortName: 'palm' }, | ||
{ chainId: 37714555429n, shortName: 'xaitestnet' }, | ||
{ chainId: 88153591557n, shortName: 'arb-blueberry' } | ||
@@ -275,0 +291,0 @@ ]; |
{ | ||
"name": "@safe-global/protocol-kit", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "SDK that facilitates the interaction with Safe Smart Accounts", | ||
@@ -15,3 +15,5 @@ "main": "dist/src/index.js", | ||
"scripts": { | ||
"safe-deployments": "ts-node scripts/checkSafeDeployments.ts", | ||
"check-safe-deployments": "ts-node scripts/safe-deployments/checkSafeDeployments.ts", | ||
"update-safe-deployments": "ts-node scripts/safe-deployments/updateLocalNetworks.ts", | ||
"check-short-name-integrity": "ts-node scripts/safe-deployments/checkShortNameIntegrity.ts", | ||
"test": "mocha -r ts-node/register -r tsconfig-paths/register tests/unit/**/*.ts", | ||
@@ -37,3 +39,3 @@ "test:hardhat:web3:v1.0.0": "export TEST_NETWORK=hardhat && export ETH_LIB=web3 && export SAFE_VERSION=1.0.0 && hardhat deploy && nyc hardhat test", | ||
"unbuild": "rimraf dist artifacts deployments cache .nyc_output *.tsbuildinfo", | ||
"build": "yarn unbuild && hardhat compile && yarn safe-deployments && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json" | ||
"build": "yarn unbuild && hardhat compile && yarn check-safe-deployments && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json" | ||
}, | ||
@@ -79,3 +81,3 @@ "repository": { | ||
"@safe-global/safe-core-sdk-types": "^5.0.3", | ||
"@safe-global/safe-deployments": "^1.37.1", | ||
"@safe-global/safe-deployments": "^1.37.3", | ||
"abitype": "^1.0.2", | ||
@@ -82,0 +84,0 @@ "ethereumjs-util": "^7.1.5", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
794912
9661