@@ -107,7 +107,7 @@ export class Contract<Abi> {
107107 } ,
108108 } ,
109109 ) as unknown as ContractMethods < Abi > ;
110-
110+
111111 this . _getters = new Proxy (
112112 { } ,
113113 {
@@ -888,6 +888,7 @@ class ContractMethodImpl implements ContractMethod<any, any> {
888888 params : this . params ,
889889 } ,
890890 withSignatureId : args . withSignatureId ,
891+ libraries : args . libraries ,
891892 } ) ;
892893
893894 if ( output == null || code != 0 ) {
@@ -1027,6 +1028,7 @@ class ContractGetterImpl implements ContractGetter<any, any> {
10271028 params : this . params ,
10281029 } ,
10291030 withSignatureId : args . withSignatureId ,
1031+ libraries : args . libraries ,
10301032 } ) ;
10311033
10321034 if ( output == null || code != 0 ) {
@@ -1173,6 +1175,10 @@ export type CallParams = {
11731175 * - If `number`, uses the specified number as a signature id.
11741176 */
11751177 withSignatureId ?: boolean | number ;
1178+ /**
1179+ * Optional libraries map
1180+ **/
1181+ libraries ?: { [ K : string ] : string } ;
11761182} ;
11771183
11781184/**
@@ -1190,6 +1196,10 @@ export type RunGetterParams = {
11901196 * - If `number`, uses the specified number as a signature id.
11911197 */
11921198 withSignatureId ?: boolean | number ;
1199+ /**
1200+ * Optional libraries map
1201+ **/
1202+ libraries ?: { [ K : string ] : string } ;
11931203} ;
11941204
11951205/**
0 commit comments