File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 45
45
"@hashgraph/hethers" : " ^1.2.6" ,
46
46
"@hashgraph/sdk" : " ^2.26.0" ,
47
47
"@json-rpc-tools/utils" : " ^1.7.6" ,
48
+ "@make-software/ces-js-parser" : " ^1.3.3" ,
48
49
"@multiversx/sdk-core" : " ^11.4.1" ,
49
50
"@project-serum/anchor" : " ^0.25.0-beta.1" ,
50
51
"@randlabs/myalgo-connect" : " ^1.1.1" ,
68
69
"crypto-exchange-rate" : " git+https://github.com/xp-network/exchange-rate#master-dist" ,
69
70
"ethers" : " ^5.5.4" ,
70
71
"js-base64" : " ^3.6.1" ,
72
+ "js-logger" : " ^1.6.1" ,
71
73
"near-api-js" : " 1.0.0" ,
72
74
"secretjs" : " =1.4.7" ,
73
75
"socket.io-client" : " ^4.1.3" ,
Original file line number Diff line number Diff line change @@ -406,10 +406,11 @@ export namespace ChainFactoryConfigs {
406
406
evmProvider : new ethers . providers . JsonRpcProvider ( TestNetRpcUri . HEDERA ) ,
407
407
feeMargin,
408
408
nonce : Chain . HEDERA ,
409
- htcToken : "0x00000000000000000000000000000000003b22a5" ,
410
- erc721_addr : "0x00000000000000000000000000000000003b2294" ,
411
- erc1155_addr : "0x00000000000000000000000000000000003b2294" ,
412
- minter_addr : "0x00000000000000000000000000000000003b229e" ,
409
+ noWhitelist : true ,
410
+ htcToken : "0xe5EB5757285A4AEF21d33b5d012DB488F983069B" ,
411
+ erc721_addr : "0xe0762A232bE173ACf3c48d9e77215b57B62b1A73" ,
412
+ erc1155_addr : "0xe0762A232bE173ACf3c48d9e77215b57B62b1A73" ,
413
+ minter_addr : "0x5B591E1d9cb81D5842434189F50608FD7cB6Fa04" ,
413
414
erc721Minter : "0x000000000000000000000000000000000037008d" ,
414
415
erc1155Minter : "0x0000000000000000000000000000000000370090" ,
415
416
} ,
Original file line number Diff line number Diff line change @@ -227,7 +227,10 @@ export async function baseWeb3HelperFactory(
227
227
) : Promise < ContractTransaction > {
228
228
const erc721 = UserNftMinter__factory . connect ( contract ! , owner ) ;
229
229
const txm = await erc721
230
- . mint ( uri , { gasLimit : 1000000 } )
230
+ . mint ( uri , {
231
+ gasLimit : 1000000 ,
232
+ gasPrice : await provider . getGasPrice ( ) ,
233
+ } )
231
234
. catch ( async ( e ) => {
232
235
if ( nonce === 33 ) {
233
236
let tx ;
@@ -313,14 +316,16 @@ export const NFT_METHOD_MAP: NftMethodMap = {
313
316
forAddr : string ,
314
317
_tok : string ,
315
318
txnUp : ( tx : PopulatedTransaction ) => Promise < void > ,
316
- customData : NullableCustomData
319
+ customData : NullableCustomData ,
320
+ gasPrice : ethers . BigNumberish | undefined
317
321
) => {
318
322
const tx = await umt . populateTransaction . setApprovalForAll (
319
323
forAddr ,
320
324
true ,
321
325
{
322
326
gasLimit : "85000" ,
323
327
customData,
328
+ gasPrice,
324
329
}
325
330
) ;
326
331
await txnUp ( tx ) ;
@@ -352,10 +357,13 @@ export const NFT_METHOD_MAP: NftMethodMap = {
352
357
umt : UserNftMinter ,
353
358
forAddr : string ,
354
359
tok : string ,
355
- txnUp : ( tx : PopulatedTransaction ) => Promise < void >
360
+ txnUp : ( tx : PopulatedTransaction ) => Promise < void > ,
361
+ _customData : NullableCustomData ,
362
+ gasPrice : ethers . BigNumberish | undefined
356
363
) => {
357
364
const tx = await umt . populateTransaction . approve ( forAddr , tok , {
358
365
gasLimit : "85000" ,
366
+ gasPrice,
359
367
} ) ;
360
368
await txnUp ( tx ) ;
361
369
return await umt . signer . sendTransaction ( tx ) ;
Original file line number Diff line number Diff line change 1213
1213
resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-6.10.1.tgz#5bd16082261d7364eabb511c788f00937dac588d"
1214
1214
integrity sha512-z+ILK8Q3y+nfUl43ctCPuR4Y2bIxk/ooCQFwZxhtci1EhAtMDzMAx2W25qx8G1PPL9UUOdnUax19+F0OjXoj4w==
1215
1215
1216
- " @make-software/ces-js-parser@^1.3.1 " :
1216
+ " @make-software/ces-js-parser@^1.3.1" , "@make-software/ces-js-parser@^1.3.3" :
1217
1217
version "1.3.3"
1218
1218
resolved "https://registry.yarnpkg.com/@make-software/ces-js-parser/-/ces-js-parser-1.3.3.tgz#7e50b2824f6189f365662fa81e1a2eb22dfcb214"
1219
1219
integrity sha512-uJ7BgnaVbb1pkGfDCgBqES+f5+RVlVPkAYxOC6Qz9kxzIcu9HYH1eA+8EkjRO2T36uBemTjBRO6R0TdH61PIAA==
@@ -5788,6 +5788,11 @@ js-base64@^3.6.1, js-base64@^3.7.4:
5788
5788
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.5.tgz#21e24cf6b886f76d6f5f165bfcd69cc55b9e3fca"
5789
5789
integrity sha512-3MEt5DTINKqfScXKfJFrRbxkrnk2AxPWGBL/ycjz4dK8iqiSJ06UxD8jh8xuh6p10TX4t2+7FsBYVxxQbMg+qA==
5790
5790
5791
+ js-logger@^1.6.1 :
5792
+ version "1.6.1"
5793
+ resolved "https://registry.yarnpkg.com/js-logger/-/js-logger-1.6.1.tgz#8f09671b515e4a6f31dced8fdb8923432e2c60af"
5794
+ integrity sha512-yTgMCPXVjhmg28CuUH8CKjU+cIKL/G+zTu4Fn4lQxs8mRFH/03QTNvEFngcxfg/gRDiQAOoyCKmMTOm9ayOzXA==
5795
+
5791
5796
[email protected] , js-sha256@^0.9.0:
5792
5797
version "0.9.0"
5793
5798
resolved "https://registry.yarnpkg.com/js-sha256/-/js-sha256-0.9.0.tgz#0b89ac166583e91ef9123644bd3c5334ce9d0966"
You can’t perform that action at this time.
0 commit comments