@fairyfromalfeya/ever-solidity-utils
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -28,2 +28,20 @@ { | ||
"events": [ | ||
{ | ||
"name": "IdChanged", | ||
"inputs": [ | ||
{"name":"current","type":"uint32"}, | ||
{"name":"previous","type":"uint32"} | ||
], | ||
"outputs": [ | ||
] | ||
}, | ||
{ | ||
"name": "FactoryChanged", | ||
"inputs": [ | ||
{"name":"current","type":"address"}, | ||
{"name":"previous","type":"address"} | ||
], | ||
"outputs": [ | ||
] | ||
} | ||
], | ||
@@ -30,0 +48,0 @@ "fields": [ |
const activatableExampleAbi = {"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":"getActive","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"bool"}]},{"name":"setActive","inputs":[{"name":"_newActive","type":"bool"},{"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":[]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"ActiveChanged","inputs":[{"name":"current","type":"bool"},{"name":"previous","type":"bool"}],"outputs":[]}],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"_owner","type":"address"},{"name":"_isActive","type":"bool"},{"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":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_params","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"deploy","inputs":[{"name":"_params","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":"setInstanceCode","inputs":[{"name":"_newCode","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":[]}],"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":"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":"_owner","type":"address"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_nonce","type":"uint32"}]} as const | ||
const factoryInstanceAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"check","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]}],"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 factoryInstanceAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"check","inputs":[{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]}],"data":[{"key":1,"name":"_id","type":"uint32"},{"key":2,"name":"_factory","type":"address"}],"events":[{"name":"IdChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]},{"name":"FactoryChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]}],"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":"optional(address)"}],"outputs":[]}],"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 | ||
@@ -10,3 +10,5 @@ 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":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_params","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"deploy","inputs":[{"name":"_params","type":"cell"},{"name":"_remainingGasTo","type":"optional(address)"}],"outputs":[]},{"name":"getPlatformCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"setPlatformCode","inputs":[{"name":"_newCode","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":"setInstanceCode","inputs":[{"name":"_newCode","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":[]}],"data":[{"key":1,"name":"_nonce","type":"uint32"}],"events":[{"name":"OwnerChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"PlatformCodeSet","inputs":[],"outputs":[]},{"name":"InstanceDeployed","inputs":[{"name":"instance","type":"address"},{"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":"_owner","type":"address"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"name":"_platformCode","type":"cell"},{"name":"_nonce","type":"uint32"}]} as const | ||
const tokenWalletUpgradeableAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[],"outputs":[]},{"name":"supportsInterface","inputs":[{"name":"answerId","type":"uint32"},{"name":"interfaceID","type":"uint32"}],"outputs":[{"name":"value0","type":"bool"}]},{"name":"platformCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"onDeployRetry","id":"0x15A038FB","inputs":[{"name":"value0","type":"cell"},{"name":"value1","type":"uint32"},{"name":"sender","type":"address"},{"name":"remainingGasTo","type":"address"}],"outputs":[]},{"name":"version","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint32"}]},{"name":"upgrade","inputs":[{"name":"remainingGasTo","type":"address"}],"outputs":[]},{"name":"acceptUpgrade","inputs":[{"name":"newCode","type":"cell"},{"name":"newVersion","type":"uint32"},{"name":"remainingGasTo","type":"address"}],"outputs":[]},{"name":"burnByRoot","inputs":[{"name":"amount","type":"uint128"},{"name":"remainingGasTo","type":"address"},{"name":"callbackTo","type":"address"},{"name":"payload","type":"cell"}],"outputs":[]},{"name":"destroy","inputs":[{"name":"remainingGasTo","type":"address"}],"outputs":[]},{"name":"burn","inputs":[{"name":"amount","type":"uint128"},{"name":"remainingGasTo","type":"address"},{"name":"callbackTo","type":"address"},{"name":"payload","type":"cell"}],"outputs":[]},{"name":"balance","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"uint128"}]},{"name":"owner","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"root","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"walletCode","inputs":[{"name":"answerId","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"transfer","inputs":[{"name":"amount","type":"uint128"},{"name":"recipient","type":"address"},{"name":"deployWalletValue","type":"uint128"},{"name":"remainingGasTo","type":"address"},{"name":"notify","type":"bool"},{"name":"payload","type":"cell"}],"outputs":[]},{"name":"transferToWallet","inputs":[{"name":"amount","type":"uint128"},{"name":"recipientTokenWallet","type":"address"},{"name":"remainingGasTo","type":"address"},{"name":"notify","type":"bool"},{"name":"payload","type":"cell"}],"outputs":[]},{"name":"acceptTransfer","id":"0x67A0B95F","inputs":[{"name":"amount","type":"uint128"},{"name":"sender","type":"address"},{"name":"remainingGasTo","type":"address"},{"name":"notify","type":"bool"},{"name":"payload","type":"cell"}],"outputs":[]},{"name":"acceptMint","id":"0x4384F298","inputs":[{"name":"amount","type":"uint128"},{"name":"remainingGasTo","type":"address"},{"name":"notify","type":"bool"},{"name":"payload","type":"cell"}],"outputs":[]},{"name":"sendSurplusGas","inputs":[{"name":"to","type":"address"}],"outputs":[]}],"data":[{"key":1,"name":"root_","type":"address"},{"key":2,"name":"owner_","type":"address"}],"events":[],"fields":[{"name":"_pubkey","type":"uint256"},{"name":"_timestamp","type":"uint64"},{"name":"_constructorFlag","type":"bool"},{"name":"root_","type":"address"},{"name":"owner_","type":"address"},{"name":"balance_","type":"uint128"},{"name":"version_","type":"uint32"},{"name":"platformCode_","type":"cell"}]} as const | ||
const upgradableByRequestExampleAbi = {"ABIversion":2,"version":"2.2","header":["pubkey","time","expire"],"functions":[{"name":"constructor","inputs":[{"name":"_remainingGasTo","type":"optional(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":"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":"UpgraderChanged","inputs":[{"name":"current","type":"address"},{"name":"previous","type":"address"}],"outputs":[]},{"name":"IdChanged","inputs":[{"name":"current","type":"uint32"},{"name":"previous","type":"uint32"}],"outputs":[]},{"name":"FactoryChanged","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":"_version","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":"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":"_version","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":"requestUpgrade","inputs":[{"name":"_currentVersion","type":"uint32"},{"name":"_params","type":"cell"},{"name":"_remainingGasTo","type":"address"}],"outputs":[]},{"name":"getDeployParams","inputs":[{"name":"answerId","type":"uint32"},{"name":"_id","type":"uint32"}],"outputs":[{"name":"value0","type":"cell"}]},{"name":"getInstanceAddress","inputs":[{"name":"answerId","type":"uint32"},{"name":"_params","type":"cell"}],"outputs":[{"name":"value0","type":"address"}]},{"name":"deploy","inputs":[{"name":"_params","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":"setInstanceCode","inputs":[{"name":"_newCode","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":[]}],"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":"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":"_owner","type":"address"},{"name":"_instanceCode","type":"cell"},{"name":"_instanceVersion","type":"uint32"},{"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":[]}],"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 | ||
@@ -24,3 +26,5 @@ | ||
TokenWalletUpgradeable: tokenWalletUpgradeableAbi, | ||
UpgradableByRequestExample: upgradableByRequestExampleAbi, | ||
UpgradableExample: upgradableExampleAbi, | ||
UpgraderExample: upgraderExampleAbi, | ||
ValidatableExample: validatableExampleAbi | ||
@@ -39,3 +43,5 @@ } as const | ||
export type TokenWalletUpgradeableAbi = typeof tokenWalletUpgradeableAbi | ||
export type UpgradableByRequestExampleAbi = typeof upgradableByRequestExampleAbi | ||
export type UpgradableExampleAbi = typeof upgradableExampleAbi | ||
export type UpgraderExampleAbi = typeof upgraderExampleAbi | ||
export type ValidatableExampleAbi = typeof validatableExampleAbi |
{ | ||
"name": "@fairyfromalfeya/ever-solidity-utils", | ||
"description": "Utility solidity contracts for everscale", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"author": "Alexander Kunekov<fairyfromalfeya@gmail.com>", | ||
@@ -32,3 +32,3 @@ "license": "MIT", | ||
"husky": "8.0.1", | ||
"locklift": "2.2.1", | ||
"locklift": "2.2.3", | ||
"mocha": "10.0.0", | ||
@@ -35,0 +35,0 @@ "prettier": "2.6.2", |
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
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
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
435998
89
1579
13