pontem-types-bundle
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -5,2 +5,4 @@ # Changelog | ||
### [1.0.10](https://github.com/pontem-network/pontem-types/compare/v1.0.9...v1.0.10) (2021-08-31) | ||
### [1.0.9](https://github.com/pontem-network/pontem-types/compare/v1.0.8...v1.0.9) (2021-08-31) | ||
@@ -7,0 +9,0 @@ |
@@ -7,2 +7,40 @@ "use strict"; | ||
mvm: { | ||
estimateGasExecute: { | ||
aliasSection: 'mvm', | ||
description: 'estimate gas for script execution', | ||
params: [ | ||
{ | ||
name: 'account', | ||
type: 'AccountId', | ||
}, | ||
{ | ||
name: 'tx_bc', | ||
type: 'Bytes', | ||
}, | ||
{ | ||
name: 'gas_limit', | ||
type: 'u64', | ||
}, | ||
], | ||
type: 'Result<Estimation>', | ||
}, | ||
estimateGasPublish: { | ||
aliasSection: 'mvm', | ||
description: 'estimate gas for module publishing', | ||
params: [ | ||
{ | ||
name: 'account', | ||
type: 'AccountId', | ||
}, | ||
{ | ||
name: 'module_bc', | ||
type: 'Bytes', | ||
}, | ||
{ | ||
name: 'gas_limit', | ||
type: 'u64', | ||
}, | ||
], | ||
type: 'Result<Estimation>', | ||
}, | ||
gasToWeight: { | ||
@@ -17,4 +55,15 @@ aliasSection: 'mvm', | ||
], | ||
type: 'Result<Weight>', | ||
type: 'Weight', | ||
}, | ||
weightToGas: { | ||
aliasSection: 'mvm', | ||
description: 'convert gas to weight', | ||
params: [ | ||
{ | ||
name: 'weight', | ||
type: 'Weight', | ||
}, | ||
], | ||
type: 'u64', | ||
}, | ||
}, | ||
@@ -21,0 +70,0 @@ }, |
{ | ||
"name": "pontem-types-bundle", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Bundled types to instantiate the Polkadot JS api with a Pontem network", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,2 +6,40 @@ import { OverrideBundleDefinition } from '@polkadot/types/types'; | ||
mvm: { | ||
estimateGasExecute: { | ||
aliasSection: 'mvm', | ||
description: 'estimate gas for script execution', | ||
params: [ | ||
{ | ||
name: 'account', | ||
type: 'AccountId', | ||
}, | ||
{ | ||
name: 'tx_bc', | ||
type: 'Bytes', | ||
}, | ||
{ | ||
name: 'gas_limit', | ||
type: 'u64', | ||
}, | ||
], | ||
type: 'Result<Estimation>', | ||
}, | ||
estimateGasPublish: { | ||
aliasSection: 'mvm', | ||
description: 'estimate gas for module publishing', | ||
params: [ | ||
{ | ||
name: 'account', | ||
type: 'AccountId', | ||
}, | ||
{ | ||
name: 'module_bc', | ||
type: 'Bytes', | ||
}, | ||
{ | ||
name: 'gas_limit', | ||
type: 'u64', | ||
}, | ||
], | ||
type: 'Result<Estimation>', | ||
}, | ||
gasToWeight: { | ||
@@ -16,4 +54,15 @@ aliasSection: 'mvm', | ||
], | ||
type: 'Result<Weight>', | ||
type: 'Weight', | ||
}, | ||
weightToGas: { | ||
aliasSection: 'mvm', | ||
description: 'convert gas to weight', | ||
params: [ | ||
{ | ||
name: 'weight', | ||
type: 'Weight', | ||
}, | ||
], | ||
type: 'u64', | ||
}, | ||
}, | ||
@@ -20,0 +69,0 @@ }, |
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
31923
882