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

@fairyfromalfeya/ever-solidity-utils

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fairyfromalfeya/ever-solidity-utils - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

5

build/FactoryExample.abi.json

@@ -119,2 +119,3 @@ {

{"name":"version","type":"uint32"},
{"name":"codeHash","type":"uint256"},
{"name":"deployer","type":"address"}

@@ -129,3 +130,5 @@ ],

{"name":"current","type":"uint32"},
{"name":"previous","type":"uint32"}
{"name":"previous","type":"uint32"},
{"name":"currentCodeHash","type":"uint256"},
{"name":"previousCodeHash","type":"uint256"}
],

@@ -132,0 +135,0 @@ "outputs": [

8

build/factorySource.ts

@@ -6,6 +6,6 @@ const acceptTokensTransferCallbackExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_root","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"onWalletOf","inputs":[{"name":"_walletAddress","type":"address"}],"outputs":[]},{"name":"onAcceptTokensTransfer","inputs":[{"name":"_tokenRoot","type":"address"},{"name":"_amount","type":"uint128"},{"name":"_sender","type":"address"},{"name":"_senderWallet","type":"address"},{"name":"_remainingGasTo","type":"address"},{"name":"value5","type":"cell"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_nonce","type":"uint32"},{"name":"_wallet","type":"address"},{"name":"_remainingGasRecipient","type":"address"}]} as const

const dexPlatformMinimizedAbi = {"ABIversion":2,"version":"2.2","header":["time"],"functions":[{"name":"constructor","inputs":[{"name":"_code","type":"cell"},{"name":"_version","type":"uint32"},{"name":"_vault","type":"address"},{"name":"_remainingGasTo","type":"address"}],"outputs":[]}],"data":[{"key":1,"name":"root","type":"address"},{"key":2,"name":"type_id","type":"uint8"},{"key":3,"name":"params","type":"cell"}],"events":[],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"root","type":"address"},{"name":"type_id","type":"uint8"},{"name":"params","type":"cell"}]} as const
const factoryExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getDeployParams","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"deploy","inputs":[{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getInstanceCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"getInstanceVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]},{"name":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_deployParams","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setInstanceCode","inputs":[{"name":"_newInstanceCode","type":"cell"},{"name":"_newInstanceVersion","type":"optional(uint32)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"InstanceDeployed","inputs":[{"name":"instance","type":"address"},{"name":"deployParams","type":"cell"},{"name":"version","type":"uint32"},{"name":"deployer","type":"address"}],"outputs":[]},{"name":"InstanceVersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const factoryExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getDeployParams","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"deploy","inputs":[{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getInstanceCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"getInstanceVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]},{"name":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_deployParams","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setInstanceCode","inputs":[{"name":"_newInstanceCode","type":"cell"},{"name":"_newInstanceVersion","type":"optional(uint32)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"InstanceDeployed","inputs":[{"name":"instance","type":"address"},{"name":"deployParams","type":"cell"},{"name":"version","type":"uint32"},{"name":"codeHash","type":"uint256"},{"name":"deployer","type":"address"}],"outputs":[]},{"name":"InstanceVersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"},{"name":"currentCodeHash","type":"uint256"},{"name":"previousCodeHash","type":"uint256"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const factoryInstanceAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"address"}],"outputs":[]},{"name":"check","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_id","type":"uint32"},{"key":2,"name":"_factory","type":"address"}],"events":[],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_id","type":"uint32"},{"name":"_factory","type":"address"}]} as const
const factoryPlatformAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_code","type":"cell"},{"name":"_remainingGasTo","type":"address"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_id","type":"uint32"},{"key":2,"name":"_factory","type":"address"}],"events":[],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_id","type":"uint32"},{"name":"_factory","type":"address"}]} as const
const factoryWithPlatformExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getDeployParams","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"deploy","inputs":[{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getPlatformCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"setPlatformCode","inputs":[{"name":"_newPlatformCode","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getInstanceCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"getInstanceVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]},{"name":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_deployParams","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setInstanceCode","inputs":[{"name":"_newInstanceCode","type":"cell"},{"name":"_newInstanceVersion","type":"optional(uint32)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"InstanceDeployed","inputs":[{"name":"instance","type":"address"},{"name":"deployParams","type":"cell"},{"name":"version","type":"uint32"},{"name":"deployer","type":"address"}],"outputs":[]},{"name":"InstanceVersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]},{"name":"PlatformCodeSet","inputs":[],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_platformCode","type":"cell"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const factoryWithPlatformExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getDeployParams","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"deploy","inputs":[{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getPlatformCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"setPlatformCode","inputs":[{"name":"_newPlatformCode","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getInstanceCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"getInstanceVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]},{"name":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_deployParams","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setInstanceCode","inputs":[{"name":"_newInstanceCode","type":"cell"},{"name":"_newInstanceVersion","type":"optional(uint32)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"InstanceDeployed","inputs":[{"name":"instance","type":"address"},{"name":"deployParams","type":"cell"},{"name":"version","type":"uint32"},{"name":"codeHash","type":"uint256"},{"name":"deployer","type":"address"}],"outputs":[]},{"name":"InstanceVersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"},{"name":"currentCodeHash","type":"uint256"},{"name":"previousCodeHash","type":"uint256"}],"outputs":[]},{"name":"PlatformCodeSet","inputs":[{"name":"codeHash","type":"uint256"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_platformCode","type":"cell"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const ownableExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"check","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const

@@ -23,4 +23,4 @@ const priceAggregatorCallbacksExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"onSuccessPriceCallback","inputs":[{"name":"_prices","type":"map(address,uint256)"},{"name":"_scales","type":"map(address,int16)"},{"name":"_timestamp","type":"uint64"},{"name":"_sender","type":"address"},{"name":"value4","type":"cell"}],"outputs":[]},{"name":"onCanceledPriceCallback","inputs":[{"name":"_prices","type":"map(address,uint256)"},{"name":"_scales","type":"map(address,int16)"},{"name":"_failed","type":"address[]"},{"name":"_timestamp","type":"uint64"},{"name":"_sender","type":"address"},{"name":"value5","type":"cell"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_nonce","type":"uint32"}]} as const

const upgradableByRequestExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"address"}],"outputs":[]},{"name":"upgrade","inputs":[{"name":"_version","type":"uint32"},{"name":"_code","type":"cell"},{"name":"_remainingGasTo","type":"address"}],"outputs":[]},{"name":"getUpgrader","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"requestUpgrade","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"check","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]},{"name":"getVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]}],"data":[{"key":1,"name":"_id","type":"uint32"},{"key":2,"name":"_factory","type":"address"}],"events":[{"name":"VersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]},{"name":"UpgraderChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_currentVersion","type":"uint32"},{"name":"_id","type":"uint32"},{"name":"_factory","type":"address"},{"name":"_upgrader","type":"address"}]} as const
const upgradableExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"upgrade","inputs":[{"name":"_code","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]},{"name":"getVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"VersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_currentVersion","type":"uint32"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const upgraderExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getDeployParams","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"deploy","inputs":[{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"provideUpgrade","inputs":[{"name":"_instanceVersion","type":"uint32"},{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"address"}],"outputs":[]},{"name":"getInstanceCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"getInstanceVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]},{"name":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_deployParams","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setInstanceCode","inputs":[{"name":"_newInstanceCode","type":"cell"},{"name":"_newInstanceVersion","type":"optional(uint32)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"InstanceDeployed","inputs":[{"name":"instance","type":"address"},{"name":"deployParams","type":"cell"},{"name":"version","type":"uint32"},{"name":"deployer","type":"address"}],"outputs":[]},{"name":"InstanceVersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const upgradableExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"upgrade","inputs":[{"name":"_code","type":"cell"},{"name":"_version","type":"optional(uint32)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]},{"name":"getVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"VersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_currentVersion","type":"uint32"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const upgraderExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_initialOwner","type":"optional(address)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getDeployParams","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"deploy","inputs":[{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getOwner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setOwner","inputs":[{"name":"_newOwner","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"provideUpgrade","inputs":[{"name":"_instanceVersion","type":"uint32"},{"name":"_deployParams","type":"cell"},{"name":"_remainingGasTo","type":"address"}],"outputs":[]},{"name":"getInstanceCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"getInstanceVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]},{"name":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_deployParams","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"setInstanceCode","inputs":[{"name":"_newInstanceCode","type":"cell"},{"name":"_newInstanceVersion","type":"optional(uint32)"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"InstanceDeployed","inputs":[{"name":"instance","type":"address"},{"name":"deployParams","type":"cell"},{"name":"version","type":"uint32"},{"name":"codeHash","type":"uint256"},{"name":"deployer","type":"address"}],"outputs":[]},{"name":"InstanceVersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"},{"name":"currentCodeHash","type":"uint256"},{"name":"previousCodeHash","type":"uint256"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_owner","type":"address"},{"name":"_nonce","type":"uint32"}]} as const
const validatableExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getValidTvmCell","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"isValidAddress","inputs":[{"name":"_a","type":"address"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"isValidTvmCell","inputs":[{"name":"_a","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_nonce","type":"uint32"}]} as const

@@ -27,0 +27,0 @@ const versionExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getTargetBalance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]},{"name":"getVersion","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"VersionChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_currentVersion","type":"uint32"},{"name":"_nonce","type":"uint32"}]} as const

@@ -137,2 +137,3 @@ {

{"name":"version","type":"uint32"},
{"name":"codeHash","type":"uint256"},
{"name":"deployer","type":"address"}

@@ -147,3 +148,5 @@ ],

{"name":"current","type":"uint32"},
{"name":"previous","type":"uint32"}
{"name":"previous","type":"uint32"},
{"name":"currentCodeHash","type":"uint256"},
{"name":"previousCodeHash","type":"uint256"}
],

@@ -156,2 +159,3 @@ "outputs": [

"inputs": [
{"name":"codeHash","type":"uint256"}
],

@@ -158,0 +162,0 @@ "outputs": [

@@ -19,2 +19,3 @@ {

{"name":"_code","type":"cell"},
{"name":"_version","type":"optional(uint32)"},
{"name":"_remainingGasTo","type":"optional(address)"}

@@ -21,0 +22,0 @@ ],

@@ -129,2 +129,3 @@ {

{"name":"version","type":"uint32"},
{"name":"codeHash","type":"uint256"},
{"name":"deployer","type":"address"}

@@ -139,3 +140,5 @@ ],

{"name":"current","type":"uint32"},
{"name":"previous","type":"uint32"}
{"name":"previous","type":"uint32"},
{"name":"currentCodeHash","type":"uint256"},
{"name":"previousCodeHash","type":"uint256"}
],

@@ -142,0 +145,0 @@ "outputs": [

{
"name": "@fairyfromalfeya/ever-solidity-utils",
"description": "Utility solidity contracts for everscale",
"version": "3.0.1",
"version": "3.0.2",
"author": "Alexander Kunekov<fairyfromalfeya@gmail.com>",

@@ -27,2 +27,3 @@ "license": "MIT",

"@typescript-eslint/parser": "5.27.0",
"bignumber.js": "9.1.1",
"chai": "4.3.6",

@@ -29,0 +30,0 @@ "eslint": "8.17.0",

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

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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