@massalabs/wallet-provider 0.0.1-dev.20230424074402 → 0.0.1-dev.20230522090628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.js +25 -2
- package/dist/account/Account.d.ts +11 -0
- package/dist/account/Account.js +24 -0
- package/dist/account/Account.js.map +1 -1
- package/dist/account/IAccountInteractWithSCRequest.d.ts +14 -0
- package/dist/account/IAccountInteractWithSCRequest.js +3 -0
- package/dist/account/IAccountInteractWithSCRequest.js.map +1 -0
- package/dist/account/index.d.ts +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/thyra/ThyraDiscovery.js +0 -2
- package/dist/thyra/ThyraDiscovery.js.map +1 -1
- package/package.json +1 -1
package/bundle.js
CHANGED
|
@@ -135,6 +135,30 @@ class Account {
|
|
|
135
135
|
});
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* This method aims to interact with a smart contract deployed on the massa blockchain on behalf of the sender.
|
|
140
|
+
*
|
|
141
|
+
* @param contractAddress - The address of the smart contract.
|
|
142
|
+
* @param functionName - The name of the function to be called.
|
|
143
|
+
* @param parameter - The parameters of the function to be called (array composed of string, bigint and/or boolean).
|
|
144
|
+
* @param fee - The fee to be paid for the transaction execution by the node.
|
|
145
|
+
* @returns An ITransactionDetails object. It contains the operationId on the network.
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
async interactWithSC(contractAddress, functionName, parameter, fee) {
|
|
149
|
+
return new Promise((resolve, reject) => {
|
|
150
|
+
Connector_1.connector.sendMessageToContentScript(this._providerName, __1.AvailableCommands.AccountInteractWithSC, {
|
|
151
|
+
contractAddress,
|
|
152
|
+
functionName,
|
|
153
|
+
parameter,
|
|
154
|
+
fee,
|
|
155
|
+
}, (result, err) => {
|
|
156
|
+
if (err)
|
|
157
|
+
return reject(err);
|
|
158
|
+
return resolve(result);
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
}
|
|
138
162
|
}
|
|
139
163
|
exports.Account = Account;
|
|
140
164
|
|
|
@@ -329,6 +353,7 @@ var AvailableCommands;
|
|
|
329
353
|
AvailableCommands["AccountSellRolls"] = "ACCOUNT_SELL_ROLLS";
|
|
330
354
|
AvailableCommands["AccountBuyRolls"] = "ACCOUNT_BUY_ROLLS";
|
|
331
355
|
AvailableCommands["AccountSendTransaction"] = "ACCOUNT_SEND_TRANSACTION";
|
|
356
|
+
AvailableCommands["AccountInteractWithSC"] = "ACCOUNT_INTERACT_WITH_SC";
|
|
332
357
|
})(AvailableCommands = exports.AvailableCommands || (exports.AvailableCommands = {}));
|
|
333
358
|
function providers() {
|
|
334
359
|
let providers = [];
|
|
@@ -843,8 +868,6 @@ class ThyraDiscovery extends events_1.EventEmitter {
|
|
|
843
868
|
if ((resp.isError || resp.error) && this.isDiscovered) {
|
|
844
869
|
this.emit(exports.ON_THYRA_DISCONNECTED);
|
|
845
870
|
}
|
|
846
|
-
// reset the interval
|
|
847
|
-
this.timeoutId = new time_1.Timeout(this.pollIntervalMillis, () => this.callback());
|
|
848
871
|
}
|
|
849
872
|
/**
|
|
850
873
|
* A method to stop listening for a connection to Thyra's server
|
|
@@ -77,4 +77,15 @@ export declare class Account implements IAccount {
|
|
|
77
77
|
* @returns An ITransactionDetails object. It contains the operationId on the network.
|
|
78
78
|
*/
|
|
79
79
|
sendTransaction(amount: bigint, recipientAddress: string, fee: bigint): Promise<ITransactionDetails>;
|
|
80
|
+
/**
|
|
81
|
+
* This method aims to interact with a smart contract deployed on the massa blockchain on behalf of the sender.
|
|
82
|
+
*
|
|
83
|
+
* @param contractAddress - The address of the smart contract.
|
|
84
|
+
* @param functionName - The name of the function to be called.
|
|
85
|
+
* @param parameter - The parameters of the function to be called (array composed of string, bigint and/or boolean).
|
|
86
|
+
* @param fee - The fee to be paid for the transaction execution by the node.
|
|
87
|
+
* @returns An ITransactionDetails object. It contains the operationId on the network.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
interactWithSC(contractAddress: string, functionName: string, parameter: (string | boolean)[], fee: string): Promise<ITransactionDetails>;
|
|
80
91
|
}
|
package/dist/account/Account.js
CHANGED
|
@@ -134,6 +134,30 @@ class Account {
|
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* This method aims to interact with a smart contract deployed on the massa blockchain on behalf of the sender.
|
|
139
|
+
*
|
|
140
|
+
* @param contractAddress - The address of the smart contract.
|
|
141
|
+
* @param functionName - The name of the function to be called.
|
|
142
|
+
* @param parameter - The parameters of the function to be called (array composed of string, bigint and/or boolean).
|
|
143
|
+
* @param fee - The fee to be paid for the transaction execution by the node.
|
|
144
|
+
* @returns An ITransactionDetails object. It contains the operationId on the network.
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
async interactWithSC(contractAddress, functionName, parameter, fee) {
|
|
148
|
+
return new Promise((resolve, reject) => {
|
|
149
|
+
Connector_1.connector.sendMessageToContentScript(this._providerName, __1.AvailableCommands.AccountInteractWithSC, {
|
|
150
|
+
contractAddress,
|
|
151
|
+
functionName,
|
|
152
|
+
parameter,
|
|
153
|
+
fee,
|
|
154
|
+
}, (result, err) => {
|
|
155
|
+
if (err)
|
|
156
|
+
return reject(err);
|
|
157
|
+
return resolve(result);
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
}
|
|
137
161
|
}
|
|
138
162
|
exports.Account = Account;
|
|
139
163
|
//# sourceMappingURL=Account.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../src/account/Account.ts"],"names":[],"mappings":";;;AAKA,sDAAmD;AAEnD,0BAA4D;
|
|
1
|
+
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../src/account/Account.ts"],"names":[],"mappings":";;;AAKA,sDAAmD;AAEnD,0BAA4D;AAM5D;;;;;;GAMG;AACH,MAAa,OAAO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X,OAAO,IAAI,OAAO,CAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC1D,qBAAS,CAAC,0BAA0B,CAClC,IAAI,CAAC,aAAa,EAClB,qBAAiB,CAAC,sBAAsB,EACxC;gBACE,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;gBACzB,gBAAgB;gBAChB,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;aACc,EACnC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;gBACd,IAAI,GAAG;oBAAE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC5B,OAAO,OAAO,CAAC,MAA6B,CAAC,CAAC;YAChD,CAAC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACI,KAAK,CAAC,cAAc,CACzB,eAAuB,EACvB,YAAoB,EACpB,SAA+B,EAC/B,GAAW;QAEX,OAAO,IAAI,OAAO,CAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC1D,qBAAS,CAAC,0BAA0B,CAClC,IAAI,CAAC,aAAa,EAClB,qBAAiB,CAAC,qBAAqB,EACvC;gBACE,eAAe;gBACf,YAAY;gBACZ,SAAS;gBACT,GAAG;aAC6B,EAClC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;gBACd,IAAI,GAAG;oBAAE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC5B,OAAO,OAAO,CAAC,MAA6B,CAAC,CAAC;YAChD,CAAC,CACF,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAxMD,0BAwMC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This interface represents the request object to send to the content script to
|
|
3
|
+
* interact with a deployed smart contract.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* - If your smart contract function does not require any parameters, you can pass an empty array.
|
|
7
|
+
* - If your smart contract function parameters contain a number or bigNumber, you must pass it as a string.
|
|
8
|
+
*/
|
|
9
|
+
export interface IAccountInteractWithSCRequest {
|
|
10
|
+
contractAddress: string;
|
|
11
|
+
functionName: string;
|
|
12
|
+
parameter: (string | boolean)[];
|
|
13
|
+
fee: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAccountInteractWithSCRequest.js","sourceRoot":"","sources":["../../src/account/IAccountInteractWithSCRequest.ts"],"names":[],"mappings":""}
|
package/dist/account/index.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export { IAccountSignRequest, IAccountSignResponse } from './AccountSign';
|
|
|
5
5
|
export { IAccountDetails } from './IAccountDetails';
|
|
6
6
|
export { IAccountRollsRequest } from './IAccountRolls';
|
|
7
7
|
export { IAccountSendTransactionRequest } from './IAccountSendTransaction';
|
|
8
|
+
export { IAccountInteractWithSCRequest } from './IAccountInteractWithSCRequest';
|
package/dist/index.d.ts
CHANGED
|
@@ -9,12 +9,13 @@ export declare enum AvailableCommands {
|
|
|
9
9
|
ProviderGenerateNewAccount = "GENERATE_NEW_ACCOUNT",
|
|
10
10
|
AccountSellRolls = "ACCOUNT_SELL_ROLLS",
|
|
11
11
|
AccountBuyRolls = "ACCOUNT_BUY_ROLLS",
|
|
12
|
-
AccountSendTransaction = "ACCOUNT_SEND_TRANSACTION"
|
|
12
|
+
AccountSendTransaction = "ACCOUNT_SEND_TRANSACTION",
|
|
13
|
+
AccountInteractWithSC = "ACCOUNT_INTERACT_WITH_SC"
|
|
13
14
|
}
|
|
14
15
|
export interface ITransactionDetails {
|
|
15
16
|
operationId: string;
|
|
16
17
|
}
|
|
17
18
|
export declare function providers(): IProvider[];
|
|
18
19
|
export { AllowedRequests, AllowedResponses } from './connector';
|
|
19
|
-
export { IAccountDetails, IAccountBalanceRequest, IAccountBalanceResponse, IAccountSignRequest, IAccountSignResponse, IAccount, Account, IAccountRollsRequest, IAccountSendTransactionRequest, } from './account';
|
|
20
|
+
export { IAccountDetails, IAccountBalanceRequest, IAccountBalanceResponse, IAccountSignRequest, IAccountSignResponse, IAccount, Account, IAccountRollsRequest, IAccountSendTransactionRequest, IAccountInteractWithSCRequest, } from './account';
|
|
20
21
|
export { EAccountDeletionResponse, EAccountImportResponse, IAccountDeletionRequest, IAccountDeletionResponse, IAccountImportRequest, IAccountImportResponse, IProvider, Provider, } from './provider';
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var AvailableCommands;
|
|
|
16
16
|
AvailableCommands["AccountSellRolls"] = "ACCOUNT_SELL_ROLLS";
|
|
17
17
|
AvailableCommands["AccountBuyRolls"] = "ACCOUNT_BUY_ROLLS";
|
|
18
18
|
AvailableCommands["AccountSendTransaction"] = "ACCOUNT_SEND_TRANSACTION";
|
|
19
|
+
AvailableCommands["AccountInteractWithSC"] = "ACCOUNT_INTERACT_WITH_SC";
|
|
19
20
|
})(AvailableCommands = exports.AvailableCommands || (exports.AvailableCommands = {}));
|
|
20
21
|
function providers() {
|
|
21
22
|
let providers = [];
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAElD,kDAA+C;AAC/C,yDAA2E;AAE3E,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAElD,kDAA+C;AAC/C,yDAA2E;AAE3E,IAAY,iBAYX;AAZD,WAAY,iBAAiB;IAC3B,2DAAsC,CAAA;IACtC,6DAAwC,CAAA;IACxC,6DAAwC,CAAA;IACxC,4DAAuC,CAAA;IACvC,uDAAkC,CAAA;IAClC,iDAA4B,CAAA;IAC5B,wEAAmD,CAAA;IACnD,4DAAuC,CAAA;IACvC,0DAAqC,CAAA;IACrC,wEAAmD,CAAA;IACnD,uEAAkD,CAAA;AACpD,CAAC,EAZW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAY5B;AAMD,SAAgB,SAAS;IACvB,IAAI,SAAS,GAAgB,EAAE,CAAC;IAChC,KAAK,MAAM,YAAY,IAAI,MAAM,CAAC,IAAI,CAAC,qBAAS,CAAC,kBAAkB,EAAE,CAAC,EAAE;QACtE,IAAI,YAAY,KAAK,mCAAmB,EAAE;YACxC,MAAM,CAAC,GAAG,IAAI,6BAAa,EAAE,CAAC;YAC9B,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACnB;aAAM;YACL,MAAM,CAAC,GAAG,IAAI,mBAAQ,CAAC,YAAY,CAAC,CAAC;YACrC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACnB;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAZD,8BAYC;AAID,qCAWmB;AAJjB,kGAAA,OAAO,OAAA;AAMT,uCASoB;AARlB,oHAAA,wBAAwB,OAAA;AACxB,kHAAA,sBAAsB,OAAA;AAMtB,oGAAA,QAAQ,OAAA"}
|
|
@@ -78,8 +78,6 @@ class ThyraDiscovery extends events_1.EventEmitter {
|
|
|
78
78
|
if ((resp.isError || resp.error) && this.isDiscovered) {
|
|
79
79
|
this.emit(exports.ON_THYRA_DISCONNECTED);
|
|
80
80
|
}
|
|
81
|
-
// reset the interval
|
|
82
|
-
this.timeoutId = new time_1.Timeout(this.pollIntervalMillis, () => this.callback());
|
|
83
81
|
}
|
|
84
82
|
/**
|
|
85
83
|
* A method to stop listening for a connection to Thyra's server
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThyraDiscovery.js","sourceRoot":"","sources":["../../src/thyra/ThyraDiscovery.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,mCAAsC;AACtC,wCAAwC;AACxC,qDAAmE;AAEnE;;GAEG;AACU,QAAA,mBAAmB,GAAG,wCAAwC,CAAC;AAE5E;;GAEG;AACU,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAEzD;;GAEG;AACU,QAAA,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