Skip to content

Commit

Permalink
fixed interface definition, upgraded version
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniPirianov committed Nov 14, 2022
1 parent e05c51a commit 7d849e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@massalabs/massa-web3",
"version": "1.10.10",
"version": "1.10.11",
"description": "massa's web3 sdk client",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 4 additions & 3 deletions src/interfaces/IContractData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ export interface IContractData {
maxGas: number;
/// The price per unit of gas that the caller is willing to pay for the execution.
gasPrice: number;
/// Extra coins that are spent by consensus and are available in the execution context of the contract.
coins: number;
/// Smart contract data as bytecode, text and base64 encoded.
/// Smart contract data as bytecode.
contractDataBase64?: string;
/// Smart contract data as text.
contractDataText?: string;
/// Smart contract data as base64-encoded.
contractDataBinary?: Uint8Array;
/// smart contract address
address?: string;
/// key/value datamap that can store smart contract operational storage data
datastore?: Map<Uint8Array, Uint8Array>;
}

0 comments on commit 7d849e2

Please sign in to comment.